HomePC

From Wiki RB4
Revision as of 11:33, 17 June 2010 by 127.0.0.1 (talk) (→‎Feste IP-Adresse)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hardware[edit]

Motherboard[edit]

processor: AMD Athlon 2600+ ram: 1 GB


Hard disks[edit]

Hard disk 1[edit]

partition 1: 32 GB NTFS for windows
partition 2: 46 GB for linux

Hard disk 2[edit]

partition 1: 279 GB NTFS

Graphic board[edit]

ATI 9200SE Radeon (driver s. )

MAC Adresse[edit]

00-0B-6A-4E-8B-85

Software[edit]

Windows[edit]

Installation via Jans DVD (Code 8XPDH-PCKKG-6MPKT-FTM67-2FMWG).

Computerdaten[edit]

Computername tiger
Arbeitsgruppe TIGERAG

Configuration[edit]

  • System->Remote->Remotedesktop


Benutzergruppen[edit]

Name
Administratoren

User[edit]

Name Gruppen Passwort
Uwe Administratoren <leer>
Administrator Administratoren halloo


Audio driver[edit]

Installation via windows dvd.

Graphic board driver[edit]

Installation via 6-11-pre-r300_xp-2k_dd_ccc_wdm_38185.exe

Terratec Cinergy[edit]

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

Version 3.7. Installation via wrar370d.exe.


Java[edit]

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

Xampp 1.6.3a installiert nach C:\Uwes\xampp\ mit MySQL, Apache und Filezila als Service.

MySQL[edit]

In DB mysql in Tabelle 'user' den Eintrag in Feld 'host' des users 'root' von 'localhost' auf '%' gesetzt.

Tomcat[edit]

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

Installation[edit]

  1. via Kubuntu 8.04 CD (http://www.howtoforge.de/howto/der-perfekte-desktop-kubuntu-804-lts-hardy-heron/)
  2. Rechnername 'uweheuer-homepc-kubuntu'


User[edit]

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

Feste IP-Adresse[edit]

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

Mount External USB[edit]

  1. KMenu->System Settings->Advanced->Disk&Filesystems->Administrator Mode->Enable

Environment Variables[edit]

In /etc/environment

export JAVA_HOME="/usr/bin"

added.

Enabling TV and DVD[edit]

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

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

The following programs are installed via Adept Manager.

Apache[edit]
Installation[edit]

via Adept Manager:

  • apache2
  • libapache2-mod-php5
  • libapache2-mod-auth-mysql.
Configuration[edit]

Configuation can be found in /etc/apache2/apache2.conf and /etc/apache2/http.conf. Apache2.conf includes /sites-enabled/*, which contains the file '000-default'. Restart by

/etc/init.d/apache2 restart
Firefox[edit]

s. 'K-Menu->Internet'

Installation[edit]

via Adept Manager:

  • firefox
Extensions[edit]

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

Java[edit]

via Adept Manager:

  • sun-java6-jdk
  • sun-java6-jre
  • sun-java6-bin
  • sun-java6-doc (first download zip file from sun into /tmp directory)
  • sun-java6-plugin (for firefox).
  • KMenu->Settings->Sun java 6 Plugin Control Panel->Java Tab->Java Applet Runtime Settings->Java Runtime Parameter for debugging

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

JBoss[edit]
  • 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 -b 0.0.0.0' added to /etc/rc.local
  • add apache integration
    • sudo a2enmod proxy_ajp
    • edit /etc/apache2/mods-enabled/proxy.conf
    • edit /etc/apache2/sites-enabled/000-default
  • adjust <JBOSS_HOME>/bin/run.conf for debugging
MySQL[edit]
Installation[edit]
  • mysql-server via Adept Manager installiert (user root and password <empty>).
  • kmysqladmin via Adept Manager installiert (KMenu->Database->kmysqladmin)
Configuration[edit]
  • decomment bind-address in /etc/mysql/my.cnf
  • KMySQLAdmin
    • File->Connect to SQL Server with Host 'localhost' and Username 'root'
    • Server->Edit Access Rights
    • Add Username 'root' and Host '%' and 'With grants'
    • Icon 'New Database' and Names 'mysql504', 'uweswiki'
  • C:\Uwes\batches\CopyUwesWikiTo192.168.178.201.bat
  • C:\Uwes\batches\CopyMySQL504To192.168.178.201.bat
Samba[edit]

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.

Log-files are located at /var/log/samba/.

PHP[edit]

via Adept Manager:

  • php5
  • php5-mysql