VMware Images:
|
The Perfect Setup - OpenSuSE 10.2 (32-bit) - Page 6
6 MySQLIn order to install MySQL, we run yast2 -i mysql mysql-client mysql-shared perl-DBD-mysql perl-DBI perl-Data-ShowTable mysql-devel Then we add the system startup links for MySQL and start it: chkconfig --add mysql Now check that networking is enabled. Run netstat -tap In the output you should see a line like this one:
If you don't see a line like this, edit /etc/my.cnf, comment out the option skip-networking: vi /etc/my.cnf
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!).
7 Postfix With SMTP-AUTH And TLSPostfix is already installed, but we must install Cyrus-SASL now: yast2 -i cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd Then we add the system startup links for saslauthd and start it: chkconfig --add saslauthd Afterwards we create the certificates for TLS: mkdir /etc/postfix/ssl Next we configure Postfix for SMTP-AUTH and TLS: postconf -e 'mydomain = example.com' To enable TLS connections in Postfix, edit /etc/postfix/master.cf and uncomment the tlsmgr line so that it looks like this one: vi /etc/postfix/master.cf
Now restart Postfix: /etc/init.d/postfix restart 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 ehlo localhost If you see the lines 250-STARTTLS and 250-AUTH then everything is fine. On my system the output looks like this: server1:/etc/postfix/ssl # telnet localhost 25 Type quit to return to the system's shell.
8 Courier-IMAP/Courier-POP3I want to use a POP3/IMAP daemon that has Maildir support. That's why I use Courier-IMAP and Courier-POP3. yast2 -i courier-imap fam-server courier-authlib expect tcl Afterwards we add the system startup links and start POP3, IMAP, POP3s and IMAPs: chkconfig --add fam If you do not want to use ISPConfig, configure Postfix to deliver emails to a user's Maildir*: postconf -e 'home_mailbox = Maildir/' *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 -> Server -> Settings -> EMail in the ISPConfig web interface.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video




print: 

Recent comments
16 hours 24 min ago
19 hours 8 min ago
1 day 34 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 16 hours ago