HomePC: Difference between revisions

From Wiki RB4
Line 93: Line 93:


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


====Schreibzugriff auf NTFS-Partition====
====Schreibzugriff auf NTFS-Partition====

Revision as of 20:46, 4 June 2009

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

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

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
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/bin"

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 and /etc/apache2/http.conf. Apache2.conf includes /sites-enabled/*, which contains the file '000-default'. Restart by

/etc/init.d/apache2 restart
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
  • sun-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 -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


MySQL
Installation
  • mysql-server via Adept Manager installiert (user root and password <empty>).
  • kmysqladmin via Adept Manager installiert (KMenu->Database->kmysqladmin)
Configuration
  • 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 Name 'mysql504'
  • C:\Uwes\batches\CopyUwesWikiTo192.168.178.201.bat


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.

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

PHP

via Adept Manager:

  • php5
  • php5-mysql