Login
Newsletter
Werbung

So, 1. Juli 2007, 00:00

Home-Server mit Ubuntu 6.06 LTS, Teil 12

Von mmu

Ein paar der obigen Pakete sind allerdings optional, mehr dazu in der Manpage. Nun legen wir einen neuen Benutzer namens music mit entsprechendem Home-Verzeichnis an:

fish@fishbox:~$ sudo adduser music
Adding user `music'...
Adding new group `music' (1001).
Adding new user `music' (1001) with group `music'.
The home directory `/home/music' already exists. Not copying from `/etc/skel'
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for music
Enter the new value, or press ENTER for the default
 Full Name []:
 Room Number []:
 Work Phone []:
 Home Phone []:
 Other []:
Is the information correct? [y/N] y

(Passwort nach Wahl, bei den Abfragen einfach ENTER drücken!)

Marcel Urech

Marcel Urech

Jetzt ändern wir die Rechte für einige Geräte, so dass sie von jedem lesbar sind:

fish@fishbox:/$ sudo chmod 666 /dev/dsp /dev/ttyS* /dev/rtc /dev/mixer /dev/hdc

/dev/hdc ist unser CD-ROM - es könnte bei Ihnen ein anderes Gerät sein. Am leichtesten ist das in der Datei /etc/fstab nachzuprüfen:

fish@fishbox:/$ cat /etc/fstab | grep cdrom
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0

Jetzt öffnen wir die Datei /etc/environment und ändern folgende Zeile:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"

Sie soll neu wie folgt aussehen:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/music/bin"

Marcel Urech

Marcel Urech

Wir loggen uns mit su music als Benutzer music ein und holen uns die aktuelle Version von GiantDisc (eventuell gibt es bereits eine neuere):

music@fishbox:~$ wget
http://www.giantdisc.org/download/basicpkg/beta/GiantDisc_1.41-5.tar.gz
--12:09:18--
http://www.giantdisc.org/download/basicpkg/beta/GiantDisc_1.41-5.tar.gz
 => `GiantDisc_1.41-5.tar.gz'
Resolving www.giantdisc.org... 217.26.52.30
Connecting to www.giantdisc.org|217.26.52.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 405,159 (396K) [application/x-tar]
100%[=====================================================================>]
405,159 582.55K/s
12:09:19 (580.69 KB/s) - `GiantDisc_1.41-5.tar.gz' saved
[405159/405159]

Wir entpacken das Archiv und wechseln ins neu erstellte Verzeichnis:

music@fishbox:~$ tar zxvf GiantDisc_1.41-5.tar.gz

Das Installationsskript wird ausgeführt:

music@fishbox:~/GiantDisc_1.41-5$ ./Install.sh
GiantDisc installation/update script
user 'music' exists. OK
create directory /home/music/00
create directory /home/music/01
create directory /home/music/02
create directory /home/music/tmp
create directory /home/music/inbox
create directory /home/music/inbox/albums
create directory /home/music/outbox
create directory /home/music/browse
create directory /home/music/bin
copy its content ...
create directory /home/music/PalmClient
copy its content ...
create directory /home/music/database
copy its content ...
cp: cannot stat `database/genres.txt': No such file or directory
cp: cannot stat `database/languages.txt': No such file or directory
cp: cannot stat `database/musictypes.txt': No such file or directory
cp: cannot stat `database/sources.txt': No such file or directory
cp: omitting directory `bin'
cp: omitting directory `public_html'
Installation complete, all files are copied

Marcel Urech

Marcel Urech

Kommentare (Insgesamt: 0 )
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung