The Perfect Setup - Mandriva 2006 Free Edition - Page 5
|
MySQL (4.1) urpmi MySQL MySQL-client libmysql14-devel Now check that networking is enabled. Run netstat -tap It should show a line like this:
If it does not, edit /etc/sysconfig/mysqld and remove --skip-networking from the Variable MYSQLD_OPTIONS:
and restart your MySQL server: /etc/init.d/mysqld restart Run mysqladmin -u root password
yourrootsqlpassword to set a password for the user root (otherwise anybody can access your MySQL database!).
Postfix With SMTP-AUTH And TLS urpmi cyrus-sasl libsasl2 libsasl2-devel libsasl2-plug-plain libsasl2-plug-anonymous libsasl2-plug-crammd5 libsasl2-plug-digestmd5 libsasl2-plug-gssapi libsasl2-plug-login postfix imap postconf -e 'smtpd_sasl_local_domain =' touch /etc/postfix/local-host-names Edit /etc/postfix/sasl/smtpd.conf. It should look like this:
mkdir /etc/postfix/ssl postconf -e 'smtpd_tls_auth_only = no' Now start Postfix, saslauthd, imap and pop3: chkconfig imap on 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 everything is fine.
Type quit to return to the system's shell.
Apache2 With PHP5 urpmi apache2-mod_php libphp5_common5 php-bz2 php-calendar php-ctype php-curl php-date_time php-devel php-dio php-dom php-eaccelerator php-enchant php-esmtp php-event php-exif php-fam php-ffmpeg php-fileinfo php-filepro php-ftp php-gd php-gettext php-gmp php-iconv php-id3 php-idn php-imap php-imlib2 php-mailparse php-mbstring php-mcache php-mcrypt php-mhash php-ming php-mysql php-mysqli php-ncurses php-newt php-odbc php-oggvorbis php-pam_auth php-pcntl php-pcre php-pear-Net_IDNA php-posix php-pspell php-readline php-recode php-session php-shmop php-simplexml php-snmp php-soap php-sockets php-sqlite php-ssh2 php-sysvmsg php-sysvsem php-sysvshm php-tclink php-tcpwrap php-tidy php-xml php-xmlrpc php-zip php5-ini curl libcurl3-devel perl-libwww-perl ImageMagick (1 line!) Whenever you see this: Missing signature ((no key found) OK) it is safe to answer y. Now we must disable PHP globally because we want to install ISPConfig later on. In ISPConfig you can enable/disable PHP on a per-site basis. If you do not disable PHP globally now, PHP will always be enabled, no matter what you specify in ISPconfig! If you do not want to install ISPConfig, then you are finished with the Apache/PHP5 installation and configuration now! Edit /etc/httpd/modules.d/70_mod_php.conf and comment out the AddType lines:
Edit /etc/httpd/conf/mime.types and comment out the following lines:
Edit /etc/httpd/conf/httpd.conf and add the following line to the LoadModule section:
(Although this line is already in /etc/httpd/modules.d/70_mod_php.conf this is very important because otherwise the command httpd -t will report errors instead of Syntax OK when the virtual hosts created by ISPConfig contain lines like php_admin_flag safe_mode On or the like!) (Note: If you are going to install ISPConfig 2.1.1 or earlier, you might also want to put
at the end of /etc/httpd/conf/httpd.conf now although it is not necessary.) Restart Apache: /etc/init.d/httpd restart
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com






print: 
Recent comments
6 hours 30 min ago
8 hours 12 min ago
10 hours 38 min ago
10 hours 44 min ago
15 hours 18 min ago
17 hours 19 min ago
20 hours 42 min ago
22 hours 49 min ago
23 hours 21 sec ago
1 day 1 hour ago