The Perfect Setup - SUSE 9.2 - Page 4
2 Installing And Configuring The Rest Of The SystemConfigure Additional IP Addresses If you want to add more IP addresses to your system, simply run yast2 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 echo server1.example.com
> /etc/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:
Run apt-get update
Install Some Software And Deactivate SUSE's Firewall apt-get install findutils-locate lynx ncftp compat-readline4 gcc glibc-devel flex db-devel rsync /etc/init.d/SuSEfirewall2_setup
stop
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)):
Then run: touch /quota.user /quota.group apt-get install bind bind-chrootenv
bind-devel bind-utils chkconfig --add named Bind will run in a chroot jail under /var/lib/named.
MySQL apt-get install
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 netstat -tap 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: /etc/init.d/mysql restart Run mysqladmin -u root password
yourrootsqlpassword to set a password for the user root (otherwise anybody can access your MySQL database!).
|



Recent comments
13 hours 8 min ago
19 hours 50 min ago
23 hours 40 min ago
1 day 1 hour ago
1 day 9 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 4 hours ago