Revision history for ConfigStratoServer


Revision [831]

Last edited on 2017-02-10 19:57:05 by WojciechLisiewicz

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:
##mysqldump -u USERNAME -p DBNAME > myfile.sql## (on prompt - pwd!)
==== 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:
==== 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##
##(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:
==== 2. Installing neccessary components - specially "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##
- 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:
==== 1. Links to external sources ====
- little bit security:
* [[http://www.pc-erfahrung.de/sonstiges/webdesignwebentwicklung/mysql-injection-und-datenmanipulation-verhindern.html against sql injection]]
*


Additions:
*

Deletions:
* [[http://www.webmasterpro.de/coding/article/php-sicherheit-include-absichern.html securing includes in PHP]]


Additions:
MyWikkaModifications

Deletions:
- wikka.php - Line 41 - commented out (##error_reporting(ALL)## too much!)
- 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


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##


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:
- localization.php - transform gettext -> instead of old content - new ##function T_##


Additions:
- wikka.php - Line 41 - commented out (##error_reporting(ALL)## too much!)

Deletions:
- wikka.php - Line 41 - commented out (##error_reporting(ALL)## too much!


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_##



Deletions:
==== other little tasks ====



No Differences


No Differences

Additions:
1) Make a simple dump of old mysql-databases
1) Config virtual hosts and domains

Deletions:
1) Make a simple dump of old mysql-databases
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

Deletions:
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


Additions:
##(apache)
</Directory>##

Deletions:
%%(apache)
</Directory>%%


Additions:
==== 1. Links to external sources ====
==== 2. Installing neccessary components - specially "lampp" ====

Deletions:
==== Links to external sources ====
==== 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]]


Additions:
edit A-record in strato-settings of the **domain**

Deletions:
edit A-record in strato-settings of the domain


Additions:
==== redirecting domains to server ====
== 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


Additions:
%%(apache)

Deletions:
%%(xml)


Additions:
%%(xml)

Deletions:
%%(perl)


Additions:
Require valid-user

Deletions:
Require valid-user


Additions:
%%(perl)
</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>


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##


Additions:
securing: -> add module "digest" to ##/etc/apache2/mods-enabled/## + edit ##/etc/phpmyadmin/apache.conf##:
##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##


Additions:
- copy
- 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) ???

Deletions:
1. standard wiki (old and new address is ##IP/wikka/##)
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.

Deletions:
==== 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 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:
== puttin converted DB - into an empty DB ==


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 ==

Deletions:
następujące komendy użyłem do konwertowania:
(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:
(to jeszcze nie prowadziło do najlepszych rezultatów - najwyraźniej pierwotnie strona kodowa byłą windows, a więc lepiej:


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


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]]

Deletions:
==== 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]]


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 ====

Deletions:
==== config of new start server ====
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)


Revision [707]

The oldest known version of this page was created on 2015-02-24 18:03:25 by WojciechLisiewicz
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki