VMware Images:
|
The Perfect Setup - SUSE 9.3 - 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.3 (you will love it... :-)). rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-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 ncftp readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel /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 /aquota.user
/aquota.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!).
|




print: 
Recent comments
4 hours 16 min ago
5 hours 31 min ago
6 hours 13 min ago
6 hours 41 min ago
14 hours 8 min ago
17 hours 38 min ago
20 hours 28 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 3 hours ago