HomePC: Difference between revisions
(→Tomcat) |
(→Java) |
||
| Line 125: | Line 125: | ||
=====Java===== | =====Java===== | ||
sun-java5-jdk, sund-java5-jre, sun-java5-bin, sun-java5--demo via Adept Manager installed. !!! See also [[HomePC#Environment_Variables|Environment Variables]]. java -version in shell works. | sun-java5-jdk, sund-java5-jre, sun-java5-bin, sun-java5--demo, sun-java5-plugin (for firefox) via Adept Manager installed. !!! See also [[HomePC#Environment_Variables|Environment Variables]]. java -version in shell works. | ||
=====MySQL===== | =====MySQL===== | ||
Revision as of 20:57, 14 October 2007
Hardware
Motherboard
processor: AMD Athlon 2600+ ram: 1 GB
Hard disks
Hard disk 1
partition 1: 32 GB NTFS for windows
partition 2: 46 GB for linux
Hard disk 2
partition 1: 279 GB NTFS
Graphic board
ATI 9200SE Radeon (driver s. )
MAC Adresse
00-0B-6A-4E-8B-85
Software
Windows
Installation via Jans DVD (Code 8XPDH-PCKKG-6MPKT-FTM67-2FMWG).
Computerdaten
| Computername | tiger |
| Arbeitsgruppe | TIGERAG |
Configuration
- System->Remote->Remotedesktop
Benutzergruppen
| Name |
| Administratoren |
User
| Name | Gruppen | Passwort |
| Uwe | Administratoren | <leer> |
| Administrator | Administratoren | halloo |
Audio driver
Installation via windows dvd.
Graphic board driver
Installation via 6-11-pre-r300_xp-2k_dd_ccc_wdm_38185.exe
Terratec Cinergy
Installation of BDA driver via Cinergy_1200_DVB-S_Drv_Vista_XP_4.8.16.exe and instruction via WinXP_Treiberinstallation_DE.exe. Installation of Home Cinema via TerraTec_Home_Cinema_5.26.01.exe. It needed:
- DirectX 9.0 via directx_aug2007_redist.exe
- DotNet via dotnetfx.exe
Winrar
Version 3.7. Installation via wrar370d.exe.
Java
Java SE Development Kit Update 2 installiert aus jdk-6u2-windows-i586-p.exe nach C:\Programme\Java\. Set environment variable JAVA_HOME to JDK-dir C:\Programme\Java\jdk1.6.0_02\
Xampp for Windows
Xampp 1.6.3a installiert nach C:\Uwes\xampp\ mit MySQL, Apache und Filezila als Service.
MySQL
In DB mysql in Tabelle 'user' den Eintrag in Feld 'host' des users 'root' von 'localhost' auf '%' gesetzt.
Tomcat
Version 6.0.13 installiert als xampp add-on in C:\Uwes\xampp\tomcat\ und Tomcat als Service \bin\tomcat_service_install.bat registriert und auf automatische Ausführung gesetzt.
Ubuntu
Installation
Kubunte 7.0.4 'FEISTY FAWN' installiert in zweite Partition auf Master Festplatte (hda1). Rechnername 'tiger'.
User
uweheuer halloo
root enabled
sudo passwd root Password: <dein User Passwort> (halloo) New password: halloo Re-enter new password: halloo
Environment Variables
In /etc/environment JAVA_HOME added and PATH to $JAVA_HOME/bin at first position added.
Enabling TV
Packages loaded like it is described in http://wiki.ubuntu-forum.de/index.php/Codecs in the sections 'Installation', 'Amorok und Kaffeine' and 'mp3 erstellen'.
Autostart
Ergänzungen in /etc/rc.local. You also have to add the environment variables, which are neccessary to run the Ergänzungen. But the environment variables are only set temporarily for the rc.local, therefore you have to add them to /etc/environment as well.
Programms installed
The following programs are installed via Adept Manager.
Apache
apache2, libapache2-mod-php5, libapache2-mod-auth-mysql. http://localhost worked, but because of difficulties with the tomcat installation disabled via KMenu->System Settings->Advanced->System Services.
Firefox
s. 'K-Menu->Internet'
FTP
Installed by Xampp. User 'nobody' and password 'lampp'. The configuration file is located in /opt/lampp/etc/proftpd.conf.
Java
sun-java5-jdk, sund-java5-jre, sun-java5-bin, sun-java5--demo, sun-java5-plugin (for firefox) via Adept Manager installed. !!! See also Environment Variables. java -version in shell works.
MySQL
mysql-server via Adept Manager installiert, but because of difficulties with the tomcat installation disabled via KMenu->System Settings->Advanced->System Services. Therefore used the xampp installation. Anpassungen:
- Field 'host' for User root in table mysql.users set to %.
- /opt/lampp/etc/my.cnf lower-case-table-names=1 added
To call a local client:
/opt/lampp/bin/mysql -u root
To reload configuration:
/opt/lampp/lampp relaodmysql
Databases are located at:
/opt/lampp/var/<DBName>/
PHP
php5, php5-mysql
Tomcat
The installation of the packages tomcat5, tomcat5.5-webapps, tomcat5.5-webadmin via Adept Manager didn't work. There download of the version 5.5 from the apache tomcat homepackage and installation to /opt/apache-tomcat-5.5.25/ and add it <CATALINA_HOME>/bin/startup.sh to autostart. Port is 8080. Processs started is java.
User for manager application in /opt/apache-tomcat-5.5.25/bin/tomcat-users.xml. User 'tomcat' with password 'tomcat'.
Xampp
Installation to /opt/lampp. StartUp added autostart. http://<IP>>/ works.