ISP Server Setup - OpenSUSE 10 - Page 4
2 Installing And Configuring The Rest Of The System
Now I can login on the console and enable the SSH daemon:
chkconfig --add sshd
Now I can login remotely with an SSH Client like Putty and make the 2nd part of the installation.
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
Adding Installation Sources
To make package installation easier, I will add a network installation source. If you want to install all packages from CD / DVD, you can skip this step. Start yast2:
Select Installation Source, then Add and enter a mirror near you. You can find a list of mirrors here: http://www.opensuse.org/Mirrors_Development_Build.
I selected this http mirror ( yes, it is an http mirror even though the URL starts with ftp :-) ):
Then change the order of the installation sources, so that your new source is at the top. Then select Finish and Quit.
Install Some Software
yast -i findutils readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel wget
If you're on a 64-bit system (only then!), you must also install openssl-devel-32bit:
yast -i openssl-devel-32bit
yast -i quota
Edit /etc/fstab to look like this (I added ,usrquota,grpquota to partition /dev/sda3 (mount point /; your device name might be /dev/hda2 or similar) and to /dev/sda4 (mount point /var)):
You will get this warning when running quotacheck the first time. Don't worry about it.
WARNING - Quotafile //aquota.user was probably truncated. Can't save quota settings...
yast -i bind bind-chrootenv
chkconfig --add named
Bind will run in a chroot jail under /var/lib/named.
mysql mysql-client mysql-shared perl-DBD-mysql perl-DBI perl-Data-ShowTable mysql-devel
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!).
Postfix With SMTP-AUTH And TLS
yast -i cyrus-sasl
cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi
cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd
chkconfig --add saslauthd
postconf -e 'mydomain =
To enable tls connections in postfix, edit /etc/postfix/master.cf and uncomment the line:
Now restart Postfix:
To see if SMTP-AUTH and TLS work properly now run the following command:
telnet localhost 25
After you have established the connection to your postfix mail server type
If you see the lines
then everything is fine.
to return to the system's shell.
I want to use a POP3/IMAP daemon that has Maildir support. That's why I use Courier-IMAP and Courier-POP3.
yast -i courier-imap
fam-server courier-authlib expect tcl
If you do not want to use ISPConfig, configure Postfix to deliver emails to a user's Maildir*:
postconf -e 'home_mailbox
*Please note: You do not have to do this if you intend to use ISPConfig on your system as ISPConfig does the necessary configuration using procmail recipes. But please go sure to enable Maildir under Management -> Settings -> EMail in the ISPConfig web interface.