Revision [735]
This is an old revision of ConfigStratoServer made by WojciechLisiewicz on 2015-02-25 16:40:35.
Konfiguracja nowego serwera
hosting strato
1. Instalacja poszczególnych komponentów - w szczególności "lampp"
- apache wraz z mysql i php:
apt-get install apache2 libapache2-mod-php5 php5 php5-mysql mysql-server
więcej szczegółów na tej stronce
więcej szczegółów na tej stronce
- dodatki do apache:
apt-get install apache2-utils
2. Make a simple dump of old mysql-databases
mysqldump -u USERNAME -p DBNAME > myfile.sql (on prompt - pwd!)
2. Config virtual hosts and domains
apache - all services
- standard wiki (old and new address is IP/wikka/)
- copy
- update to 1.3.6 - update script from wikka-project inkl. maintenance and DB-edit
- convert data (polish chars) - see below
- ???
install and config php-my-admin
converting DB with polish codepage
following commands were successful:DB dump
mysqldump -u root -p --default-character-set=latin1 --skip-set-charset internalwiki > /storage/db_dumps/internalwiki_latin1.sqlconverting itself
iconv -f ISO-8859-2 -t UTF-8 internalwiki_latin1.sql | sed -e 's/latin2/utf8/g' >internalwiki_utf8.sql(wasn't good enough - probably was old text in windows codepage! this one was better:)
iconv -f Windows-1250 -t UTF-8 internalwiki_latin1.sql | sed -e 's/latin2/utf8/g' >internalwiki_utf8.sql