The Perfect Server - OpenSUSE 11.1 - Page 3
4 Configure The Network settingsWe use Yast, the OpenSuSE system management tool to reconfigure the network card settings. After the first boot, the system is configured to get the IP address with DHCP. For a server we will switch it to a static IP address. Run yast2 Select Network Devices > Network Settings: Select your network card and then Edit: Select Statically assigned IP Address and enter the IP address, subnet mask and hostname and save the changes by selecting Next: Now select Hostname/DNS and enter the hostname (e.g. server1.example.com) and nameservers (e.g. 145.253.2.75 and 213.191.92.86): Now select Routing and enter the default gateway and hit OK: To configure the firewall, select Security and Users > Firewall in Yast: I want to install ISPConfig at the end of this tutorial which comes with its own firewall. That's why I disable the default OpenSUSE firewall now. Of course, you are free to leave it on and configure it to your needs (but then you shouldn't use any other firewall later on as it will most probably interfere with the OpenSUSE firewall). Select Disable Firewall Automatic Starting and Stop Firewall Now, then hit Next: Hit Finish and leave Yast:
5 Install Some SoftwareNow we install a few packages that are needed later on. Run yast2 -i findutils readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel wget gcc-c++ make vim telnet cron iptables iputils man man-pages If you're on a 64-bit system (only then!), you must also do this: cd /usr/lib
6 QuotaTo install quota, run yast2 -i quota Edit /etc/fstab to look like this (I added ,usrquota,grpquota to the mountpoints / and /srv): vi /etc/fstab
Then run: touch /aquota.user /aquota.group mount -o remount / quotacheck -avugm Dont be worried if you see these error messages - they are normal when you run quotacheck for the first time: quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Cannot save quota settings...
7 DNS ServerRun yast2 -i bind bind-chrootenv bind-devel bind-utils Then we add the system startup links for BIND and start it: chkconfig --add named Bind will run in a chroot jail under /var/lib/named.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th













print: 
Recent comments
2 hours 42 min ago
8 hours 30 min ago
10 hours 22 min ago
12 hours 7 min ago
15 hours 57 min ago
21 hours 42 min ago
21 hours 53 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 13 hours ago