Revision history for ConfigStratoServer
Deletions:
===== some general actions =====
1) Make a simple dump of old mysql-databases
1) Config virtual hosts and domains
==== changes from native system ====
MyWikkaModifications
Additions:
see now http://wdb.fh-sm.de/ITWissen
Deletions:
==== 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.sql ##
== converting 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##
== put converted DB - into an empty DB ==
##mysql -u root -p --default-character-set=utf8 wikiutf8 <internalwiki_utf8.sql ##
== read more ==
See about converting:
- http://www.udo-telaar.de/iconv-und-zeichensatz-kodierungen/
- http://www.seleos.de/blog/zeichensalat-vermeiden-mysql-auf-utf-8-umstellen.html
- http://www.html-info.eu/php/php-als-script-sprache/item/zeichensatz-latin1-oder-unicode-utf-8.html
==== redirecting domains to server ====
== from strato ==
edit A-record in strato-settings of the **domain**
== from elsewhere ==
edit redirection IP
Deletions:
== needed modules ==
add symlink to "auth_digest.load" in ##/etc/apache2/mods-enabled/##
== config virtual hosts ==
edit ##/etc/apache2/sites-enabled/XXXX.conf##
##(apache)
Alias /path-in-browser /path/on/localfilesystem
<Directory /path/on/localfilesystem>
Options FollowSymLinks
DirectoryIndex index.php
<IfModule mod_authn_file.c>
AuthType Digest
AuthName "your_realm"
AuthUserFile /path/to/filewithdigestpwd
</IfModule>
Require valid-user
</Directory>##
Deletions:
- apache wraz z mysql i php:
## apt-get install apache2 libapache2-mod-php5 php5 php5-mysql mysql-server##
więcej szczegółów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
- dodatki do apache:
##apt-get install apache2-utils##
- phpmyadmin
##apt-get install phpmyadmin##
set password on install (etrowssap)
add a line in ##/etc/apache2/apache2.conf##:
##Include /etc/phpmyadmin/apache.conf##
securing: -> add module "digest" to ##/etc/apache2/mods-enabled/## + edit ##/etc/phpmyadmin/apache.conf##:
##AuthType Digest
... ## (see there)
==== apache - all services ====
1) 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
1) ???
==== install and config php-my-admin ====
see this site: https://help.ubuntu.com/community/phpMyAdmin
Deletions:
- little bit security:
* [[http://www.pc-erfahrung.de/sonstiges/webdesignwebentwicklung/mysql-injection-und-datenmanipulation-verhindern.html against sql injection]]
*
Additions:
*
Deletions:
Additions:
MyWikkaModifications
Deletions:
- localization.php - Line: ALL - transform gettext -> instead of old content - new ##function T_##
-> added files with translations -> ##lang/[each language]/uitxt.php## for PL and de (en ist default)
- templates/ -> added complete new template (for openlaw.pl -> openlaw); changed:
-> ##templates/[template name]/css/[template name].css##
-> ##templates/[template name]/footer.php##
-> ##templates/[template name]/header.php##
- added my crumbs
- design
- call of tree
-> ##libs/Wakka.class.php##
- added tree-support
Additions:
- added my crumbs
- design
- call of tree
-> ##libs/Wakka.class.php##
- added tree-support
- design
- call of tree
-> ##libs/Wakka.class.php##
- added tree-support
Additions:
- templates/ -> added complete new template (for openlaw.pl -> openlaw); changed:
-> ##templates/[template name]/css/[template name].css##
-> ##templates/[template name]/footer.php##
-> ##templates/[template name]/header.php##
-> ##templates/[template name]/css/[template name].css##
-> ##templates/[template name]/footer.php##
-> ##templates/[template name]/header.php##
Additions:
-> added files with translations -> ##lang/[each language]/uitxt.php## for PL and de (en ist default)
Additions:
- localization.php - Line: ALL - transform gettext -> instead of old content - new ##function T_##
Deletions:
Additions:
- wikka.php - Line 41 - commented out (##error_reporting(ALL)## too much!)
Deletions:
Additions:
- wikka.php - Line 41 - commented out (##error_reporting(ALL)## too much!
Additions:
==== changes from native system ====
- localization.php - transform gettext -> instead of old content - new ##function T_##
- localization.php - transform gettext -> instead of old content - new ##function T_##
Deletions:
No Differences
No Differences
Additions:
1) Make a simple dump of old mysql-databases
1) Config virtual hosts and domains
1) Config virtual hosts and domains
Deletions:
1) Config virtual hosts and domains
Additions:
==== other little tasks ====
1) Make a simple dump of old mysql-databases
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
1) Config virtual hosts and domains
1) Make a simple dump of old mysql-databases
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
1) Config virtual hosts and domains
Deletions:
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
2. Config virtual hosts and domains
Additions:
##(apache)
</Directory>##
</Directory>##
Deletions:
</Directory>%%
Additions:
==== 1. Links to external sources ====
==== 2. Installing neccessary components - specially "lampp" ====
==== 2. Installing neccessary components - specially "lampp" ====
Deletions:
==== 1. Instalacja poszczególnych komponentów - w szczególności "lampp" ====
Additions:
==== Links to external sources ====
- little bit security:
* [[http://www.pc-erfahrung.de/sonstiges/webdesignwebentwicklung/mysql-injection-und-datenmanipulation-verhindern.html against sql injection]]
* [[http://www.webmasterpro.de/coding/article/php-sicherheit-include-absichern.html securing includes in PHP]]
- little bit security:
* [[http://www.pc-erfahrung.de/sonstiges/webdesignwebentwicklung/mysql-injection-und-datenmanipulation-verhindern.html against sql injection]]
* [[http://www.webmasterpro.de/coding/article/php-sicherheit-include-absichern.html securing includes in PHP]]
Additions:
edit A-record in strato-settings of the **domain**
Deletions:
Additions:
==== redirecting domains to server ====
== from strato ==
edit A-record in strato-settings of the domain
== from elsewhere ==
edit redirection IP
== from strato ==
edit A-record in strato-settings of the domain
== from elsewhere ==
edit redirection IP
Additions:
== read more ==
See about converting:
- http://www.udo-telaar.de/iconv-und-zeichensatz-kodierungen/
- http://www.seleos.de/blog/zeichensalat-vermeiden-mysql-auf-utf-8-umstellen.html
- http://www.html-info.eu/php/php-als-script-sprache/item/zeichensatz-latin1-oder-unicode-utf-8.html
See about converting:
- http://www.udo-telaar.de/iconv-und-zeichensatz-kodierungen/
- http://www.seleos.de/blog/zeichensalat-vermeiden-mysql-auf-utf-8-umstellen.html
- http://www.html-info.eu/php/php-als-script-sprache/item/zeichensatz-latin1-oder-unicode-utf-8.html
Additions:
%%(apache)
Deletions:
Additions:
%%(xml)
Deletions:
Additions:
Require valid-user
Deletions:
Additions:
%%(perl)
</Directory>%%
</Directory>%%
Deletions:
</Directory>
Additions:
##
Alias /path-in-browser /path/on/localfilesystem
<Directory /path/on/localfilesystem>
Options FollowSymLinks
DirectoryIndex index.php
<IfModule mod_authn_file.c>
AuthType Digest
AuthName "your_realm"
AuthUserFile /path/to/filewithdigestpwd
</IfModule>
Require valid-user
</Directory>
Alias /path-in-browser /path/on/localfilesystem
<Directory /path/on/localfilesystem>
Options FollowSymLinks
DirectoryIndex index.php
<IfModule mod_authn_file.c>
AuthType Digest
AuthName "your_realm"
AuthUserFile /path/to/filewithdigestpwd
</IfModule>
Require valid-user
</Directory>
Additions:
----
===== some general actions =====
----
==== securing areas on apache ====
== needed modules ==
add symlink to "auth_digest.load" in ##/etc/apache2/mods-enabled/##
== config virtual hosts ==
edit ##/etc/apache2/sites-enabled/XXXX.conf##
===== some general actions =====
----
==== securing areas on apache ====
== needed modules ==
add symlink to "auth_digest.load" in ##/etc/apache2/mods-enabled/##
== config virtual hosts ==
edit ##/etc/apache2/sites-enabled/XXXX.conf##
Additions:
securing: -> add module "digest" to ##/etc/apache2/mods-enabled/## + edit ##/etc/phpmyadmin/apache.conf##:
##AuthType Digest
... ## (see there)
##AuthType Digest
... ## (see there)
Additions:
- phpmyadmin
##apt-get install phpmyadmin##
set password on install (etrowssap)
add a line in ##/etc/apache2/apache2.conf##:
##Include /etc/phpmyadmin/apache.conf##
##apt-get install phpmyadmin##
set password on install (etrowssap)
add a line in ##/etc/apache2/apache2.conf##:
##Include /etc/phpmyadmin/apache.conf##
Additions:
- copy
- update to 1.3.6 - update script from wikka-project inkl. maintenance and DB-edit
- convert data (polish chars) - see below
- update to 1.3.6 - update script from wikka-project inkl. maintenance and DB-edit
- convert data (polish chars) - see below
Additions:
1) standard wiki (old and new address is ##IP/wikka/##)
1) ???
1) ???
Deletions:
1.
Additions:
==== 1. Instalacja poszczególnych komponentów - w szczególności "lampp" ====
więcej szczegółów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
2. Make a simple dump of old mysql-databases
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
==== apache - all services ====
1. standard wiki (old and new address is ##IP/wikka/##)
1.
więcej szczegółów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
2. Make a simple dump of old mysql-databases
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
==== apache - all services ====
1. standard wiki (old and new address is ##IP/wikka/##)
1.
Deletions:
więcej szczegó?ów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
2. Make a dump of old mysql-databases
##mysqldump -u NUTZERNAME -p DATENBANKNAME > myfile.sql## (nach Aufforderung das Nutzerpasswort eingeben)
==== apache - poszczególne serwisy ====
Additions:
== put converted DB - into an empty DB ==
Deletions:
Additions:
==== converting DB with polish codepage ====
following commands were successful:
== DB dump ==
== converting itself ==
(wasn't good enough - probably was old text in windows codepage! this one was better:)
== puttin converted DB - into an empty DB ==
following commands were successful:
== DB dump ==
== converting itself ==
(wasn't good enough - probably was old text in windows codepage! this one was better:)
== puttin converted DB - into an empty DB ==
Deletions:
(to jeszcze nie prowadziło do najlepszych rezultatów - najwyraźniej pierwotnie strona kodowa była spod windows, a więc lepiej:
pozostaje wczytać przekonwertowaną bazę:
Additions:
(to jeszcze nie prowadziło do najlepszych rezultatów - najwyraźniej pierwotnie strona kodowa była spod windows, a więc lepiej:
Deletions:
Additions:
następujące komendy użyłem do konwertowania:
## mysqldump -u root -p --default-character-set=latin1 --skip-set-charset internalwiki > /storage/db_dumps/internalwiki_latin1.sql ##
## iconv -f ISO-8859-2 -t UTF-8 internalwiki_latin1.sql | sed -e 's/latin2/utf8/g' >internalwiki_utf8.sql ##
(to jeszcze nie prowadziło do najlepszych rezultatów - najwyraźniej pierwotnie strona kodowa byłą windows, a więc lepiej:
##iconv -f Windows-1250 -t UTF-8 internalwiki_latin1.sql | sed -e 's/latin2/utf8/g' >internalwiki_utf8.sql##
pozostaje wczytać przekonwertowaną bazę:
##mysql -u root -p --default-character-set=utf8 wikiutf8 <internalwiki_utf8.sql ##
Additions:
==== install and config php-my-admin ====
see this site: https://help.ubuntu.com/community/phpMyAdmin
see this site: https://help.ubuntu.com/community/phpMyAdmin
Additions:
==== 1. Instalacja poszczególnych komponentów - w szczególno?ci "lampp" ====
więcej szczegó?ów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
więcej szczegó?ów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
Deletions:
więcej szczegółów na [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
Additions:
===== 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 [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
- dodatki do apache:
##apt-get install apache2-utils##
==== apache - poszczególne serwisy ====
== 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 [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ tej stronce]]
- dodatki do apache:
##apt-get install apache2-utils##
==== apache - poszczególne serwisy ====
Deletions:
1. install "lampp"
- ## sudo apt-get install apache2 libapache2-mod-php5 php5 php5-mysql mysql-server##
- Details see [[https://mysudo.wordpress.com/2014/07/27/lamp-unter-ubuntu-14-04-installieren-und-einrichten/comment-page-1/ this page]]
???
Additions:
2. Make a dump of old mysql-databases
##mysqldump -u NUTZERNAME -p DATENBANKNAME > myfile.sql## (nach Aufforderung das Nutzerpasswort eingeben)
##mysqldump -u NUTZERNAME -p DATENBANKNAME > myfile.sql## (nach Aufforderung das Nutzerpasswort eingeben)