HomePC

From Wiki RB4
Revision as of 22:29, 17 January 2009 by 127.0.0.1 (talk) (→‎JBoss)

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

Kubuntu 8.04 via CD installiert in zweite Partition auf Master Festplatte (hda1). Rechnername 'tiger'. (davor Kubuntu 7.04 'Feisty Fawn')

Schreibzugriff auf NTFS-Partition

  1. ntfs-3g und ntfs-config per Adept Manager installiert (MySQL Standard Server, nicht xampp, musste dazu gestartet werden)
  2. /etc/fstab nach /etc/fstab_15102007 gesichert und Einträge für /dev/sda1 und /dev/sda2 ergänzt

User

uweheuer halloo
fraukemeibeyer <leer>
root enabled
sudo passwd root
Password: <dein User Passwort> (halloo)
New password: halloo
Re-enter new password: halloo

Feste IP-Adresse

  1. KMenu->System Settings->Network Settings->Administrator Mode 192.168.178.201

Environment Variables

In /etc/environment

export JAVA_HOME="/usr"

added.

Enabling TV and DVD

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'.

sudo apt-get install libdvdcss2

Autostart/Startup

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
Installation

via Adept Manager:

  • apache2
  • libapache2-mod-php5
  • libapache2-mod-auth-mysql.
Configuration

Configuation can be found in /etc/apache2/apache2.conf.

DeVeDe
  1. per Adept Manager
  2. s. 'K-Menu->Multimedia->DeVeDe'
ffmpeg
  1. per Adept Manager
  2. command shell
Firefox

s. 'K-Menu->Internet'

Installation

via Adept Manager:

  • firefox
Extensions

Installation of Java Console 1.6 (s. Java Installation plugin)

Java

via Adept Manager:

  • sun-java6-jdk
  • sund-java6-jre
  • sun-java6-bin
  • sun-java6-doc (first download zip file from sun into /tmp directory)
  • sun-java6-plugin (for firefox).

!!! See also Environment Variables. java -version in shell works.

JBoss
  • download version 4.2.2 and extracted to /opt/jboss-4.2.2.GA/
  • copied mysql-ds.xml <JBOSS_HOME>/server/default/deploy
  • copied mysql-connector-java-5.1.5-bin.jar/ <JBOSS_HOME>/server/default/lib
  • run.sh added to /etc/rc.local
KDiskFree

per KMenu->Add/Remove Programms

MySQL
Installation

mysql-server via Adept Manager installiert (user root and password <empty>).

Configuration
  • decomment bind-address in /etc/mysql/my.cnf
  • /usr/share/mysql create database mysql505;
  • add host % for user root via GMySQLcc
  • C:\Uwes\batches\CopyUwesWikiTo192.168.178.201.bat
Feisty Fawn comments
  1. /opt/lampp/etc/my.cnf lower-case-table-names=2 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>/
Samba

Package 'samba' per adept installiert.

Per KMenu->System Settings->Sharing->File Sharing->Administrator Mode / mit Sharename root freigegeben. Anschließend per Windows Explorer Netzwerklaufwerk verbinden \\192.168.178.201\root gemappt.

Das folgenden scheint nicht dauerhaft zu sein

Freigabe für /media/hdb1 und / über Konquerer->Select Directory->Properties->Share->Configure File Sharing... als Share HDB1 und ROOT hinzugefügt.

Die zugehörigen Einträge findet man dann unter /etc/samba/samba.conf. Anschließend in shell als root

smbpasswd -a uweheuer // add user with password halloo
smbpasswd -e uweheuer // activate user

ausgeführt. Dann kann man unter Windows mit Netzwerklaufwerk verbinden //<IP>/<ShareName> und Angabe von user und password darauf zugreifen.

PHP

via Adept Manager:

  • php5
  • php5-mysql
Tomcat
Installation

via Adept Manager:

  • libapache2-mod-jk
  • tomcat5.5
  • libtomcat5.5
  • tomcat5.5-admin
  • tomcat5.5-webapps
Configuration
  • Server.xml is located /etc/tomcat5.5/. Port was changed to 8080.
  • User for manager application in /etc/tomcat5.5/tomcat-users.xml. User 'tomcat' with password 'tomcat' and additional role manager.
  • in /etc/apache2/mods-enabled
    • ln -s ../mods-available/proxy.load proxy.load
    • ln -s ../mods-available/proxy.conf proxy.conf
    • ln -s ../mods-available/proxy_http.load proxy_http.load
  • in /etc/apache2/httpd.conf add proxypass entries
  • grant permissions in /etc/tomcat5.5/policy.d/03catalina.policy which is copied during tomcat startup to /etc/tomcat5.5/catalina.policy
  • WebApp directory is /usr/share/tomcat5.5/webapps
Operation
  • In the process list you will find jsvc as the corresponding process.
  • You can start and stop tomcat via the KMenu->System Settings->Advanced->System Services.
Xampp

Installation to /opt/lampp. StartUp added autostart. http://<IP>>/ works.

Central Batch is

/opt/lampp/lampp [stopapache|startapache]

with many different parameters

Apache Configuration in

/opt/lampp/etc/httpd.conf

and adapted with ProxyPass directive for tomcat.