|
|
Zeile 1: |
Zeile 1: |
− | 2006.05.30 mik.myvserver.net
| + | == Installation == |
| | | |
− | * Installationsdatum: unbekannt
| + | Hier eine Reihe von Installationsprotokollen, die vielleicht jemandem nützlich sein können. |
− | * Inbetriebnahme: 30.05.2006
| |
| | | |
− | == Beispielrechner ==
| + | * [[/Installation 2006.05.30 mik.myvserver.net|2006.05.30 mik.myvserver.net]] |
− | | |
− | * virtueller Server [80.74.148.175 mik.myvserver.net] | |
− | * Prozessor: Intel Xeon 2.80GHz
| |
− | * Arbeitsspeicher: 4 GB RAM
| |
− | * Festplatte: 14 GB
| |
− | | |
− | == Grundinstallation ==
| |
− | | |
− | Erfolgte durch Hostorama.
| |
− | | |
− | == Konfiguration des Systems ==
| |
− | | |
− | Über YaST als primäre Sprache "Deutsch" einstellen. Kein UTF-8 verwenden!
| |
− | | |
− | Anlegen des Benutzers "mik" über YaST
| |
− | | |
− | MySQL-Passwort...
| |
− | | |
− | # kill $(cat /var/lib/mysql/mysqld.pid)
| |
− | # su - mysql
| |
− | $ /usr/sbin/mysqld --skip-grant-tables &
| |
− | $ su - mik
| |
− | $ mysqladmin flush-privileges password '*'
| |
− | $ exit
| |
− | $ exit
| |
− | # kill -15 <PID von MySQL>
| |
− | # /etc/init.d/mysql start
| |
− | # mysqladmin -u root password 'xxxxxx'
| |
− | | |
− | Danach ist Einloggen als beliebiger Benutzer möglich wie folgt.
| |
− | | |
− | $ mysql -u root -p
| |
− | Enter password: xxxxxx
| |
− | mysql>
| |
− | | |
− | Installation von phpMyAdmin 2.6.3pl1 | |
− | <pre>
| |
− | # cd /srv/www/htdocs
| |
− | # tar xjf phpMyAdmin-2.6.3-pl1.tar.bz2
| |
− | # chown -R mik:users phpMyAdmin-2.6.3-pl1
| |
− | # vi config.inc.php
| |
− | ... Anpassen von host, user, password und authentication mode
| |
− | $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
| |
− | $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
| |
− | $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
| |
− | $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
| |
− | $cfg['Servers'][$i]['password'] = 'xxxxxx'; // MySQL password (only needed
| |
− | | |
− | ... Sichern von /srv/www/htdocs/phpMyAdmin-2.6.3-pl1 mit .htaccess
| |
− | ... Browser: http://vserver.myvserver.net/phpMyAdmin-2.6.3-pl1/index.php
| |
− | </pre>
| |
− | | |
− | Installation von Mediawiki 1.5.6
| |
− | <pre>
| |
− | # mv mediawiki-1.5.6 /srv/www/htdocs/smd
| |
− | # cd /srv/www/htdocs/smd
| |
− | # chmod a+w config/
| |
− | http://vserver.myvserver.net/smd/config/
| |
− | | |
− | Site name: SMD
| |
− | Language: de - Deutsch
| |
− | Sysop account name: WikiSysop
| |
− | password: xxxxxx
| |
− | MySQL server: localhost
| |
− | Database name: smd
| |
− | DB username: wiki
| |
− | DB password: xxxxxx
| |
− | Database charset: Backwards-compatible UTF-8
| |
− | Super user: root
| |
− | Password: xxxxxx
| |
− | | |
− | # cd /srv/www/htdocs/smd/config
| |
− | # mv LocalSettings.php ..
| |
− | | |
− | Wiki-Aufruf:
| |
− | http://vserver.myvserver.net/smd/
| |
− | </pre>
| |
− | | |
− | Anpassen der Datei "/home/mik/.bashrc".
| |
− | | |
− | # vi /home/mik/.bashrc
| |
− | export EDITOR=/usr/bin/vim
| |
− | PATH=$PATH:~/bin
| |
− | | |
− | Anpassen der Datei "/etc/profile".
| |
− | | |
− | # vi /etc/profile
| |
− | export HISTSIZE=2500
| |
− | | |
− | Anlegen der Datei "/root/.profile".
| |
− | | |
− | # vi /root/.profile
| |
− | PATH=$PATH:/home/mik/bin
| |
| | | |
| | | |
| {{cat|SUSE Linux}} | | {{cat|SUSE Linux}} |