VMware Images:
|
The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) - Page 4
4 Adjust /etc/hostsNext we edit /etc/hosts. Make it look like this: vi /etc/hosts
5 Setting The Hostname(This step is optional.) This is not necessary if you have set the correct hostname during the installation. You can check the current hostname with the commands hostname Both commands should show server1.example.com. If the output shows a wrong hostname, you can set the correct one like this: echo server1.example.com > /etc/hostname
6 Configure urpmiYou can use the wizard on http://easyurpmi.zarb.org/ to find out how to configure urpmi so that urpmi uses online package repositories: For me the wizard gave back these commands that I run on the command line: urpmi.addmedia contrib ftp://fr2.rpmfind.net/linux/Mandrakelinux/official/2008.0/i586/media/contrib/release with media_info/hdlist.cz urpmi.addmedia --update contrib_updates ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/contrib/updates with media_info/hdlist.cz urpmi.addmedia main ftp://fr2.rpmfind.net/linux/Mandrakelinux/official/2008.0/i586/media/main/release with media_info/hdlist.cz urpmi.addmedia --update main_updates ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/2008.0/i586/media/main/updates with media_info/hdlist.cz To disable the Mandriva 2008 DVD as a package repository, we run urpmi.removemedia "Mandriva Linux - 2008.0 (Free) - Installer" (This is particularly useful if your server will be in a remote location where you cannot insert the DVD.) Now we create a script /etc/cron.daily/software_update that will autmatically be run by cron daily and looks for and installs the latest software updates on your Mandriva 2008 system. The script looks like this: vi /etc/cron.daily/software_update
Make the script executable: chmod 755 /etc/cron.daily/software_update
7 Install Some PackagesNow we install a few packages that are needed later on: urpmi fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp flex libxorg-x11-devel gcc gcc-c++
8 QuotaTo install the quota package, run urpmi quota Edit /etc/fstab to look like this (I added ,usrquota,grpquota to the partition with the mount point /): vi /etc/fstab
Then run: touch /aquota.user /aquota.group
9 DNS ServerTo install the BIND DNS server, run: urpmi bind Mandriva 2008's BIND is running chrooted by default, therefore we need to create a few symlinks so that ISPConfig (if you want to install it) can deal with it: cd /var/lib/named/var Then start BIND: /etc/init.d/named start
|







print: 
Recent comments
6 hours 27 min ago
7 hours 14 min ago
11 hours 35 min ago
12 hours 31 min ago
18 hours 16 min ago
19 hours 27 min ago
22 hours 59 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago