The Perfect Setup - SUSE 9.2 - Page 4
2 Installing And Configuring The Rest Of The System
Configure Additional IP Addresses
If you want to add more IP addresses to your system, simply run
The YaST Control Center will pop up. Go to Network Devices -> Network Card. The next steps are the same as during the network setup in the installation.
Setting The Hostname
Install apt For SUSE
apt is the packaging system used on Debian. Since it cares much better for package dependencies than rpm it would be nice if we could use it on our new SUSE system. This would save us a lot of hassle. Fortunately, apt has been ported to a lot of rpm based distributions, and is also available for SUSE 9.2 (you will love it... :-)).
rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.2-i386/RPMS.suser-rbos/\
Edit /etc/apt/sources.list. It should contain the following line:
Install Some Software And Deactivate SUSE's Firewall
apt-get install findutils-locate lynx ncftp compat-readline4 gcc glibc-devel flex db-devel rsync
apt-get install quota
Edit /etc/fstab to look like this (I added ,usrquota,grpquota to partition /dev/sda2 (mount point /; your device name might be /dev/hda2 or similar)):
touch /quota.user /quota.group
apt-get install bind bind-chrootenv
chkconfig --add named
Bind will run in a chroot jail under /var/lib/named.
mysql mysql-client mysql-shared mysql-devel perl-DBD-mysql perl-DBI perl-Data-ShowTable
chkconfig --add mysql
Now check that networking is enabled. Run
It should show a line like this:
If it does not, edit /etc/my.cnf, comment out the option skip-networking:
and restart your MySQL server:
mysqladmin -u root password
to set a password for the user root (otherwise anybody can access your MySQL database!).