The Perfect Setup - SUSE 9.2 - Page 6
|
Proftpd I want to use Proftpd instead of vsftpd which is SUSE's default FTP server because the control panel software I am going to install on this server (ISPConfig) requires Proftpd on SUSE 9.2 (on other distributions this is different). Since there are no SUSE packages for Proftpd I have to compile it manually: cd /tmp/ tar xvfz proftpd-1.2.10.tar.gz cd ../ Now create the file /etc/init.d/proftpd:
chmod 755 /etc/init.d/proftpd /etc/init.d/proftpd start For security reasons you can also add the following lines to /etc/proftpd.conf:
Be sure to comment out the following lines in order to allow ftp users to CHMOD:
and restart Proftpd: /etc/init.d/proftpd restart
Webalizer To install webalizer, just run apt-get install webalizer
Synchronize the System Clock If you want to have the system clock synchronized with an NTP server do the following: apt-get install netdate netdate tcp time.nist.gov Create /var/spool/cron/tabs/root:
Then run chmod 600 /var/spool/cron/tabs/root
Install some Perl Modules needed by SpamAssassin (comes with ISPConfig) Installation using the Perl Shell Login to your command line as root and run the following command to start the Perl shell: perl -MCPAN -e shell If you run the Perl shell for the first time you will be asked some questions. In most cases the default answers are ok. Please note: If you run a firewall on your system you might have to turn it off while working on the Perl shell in order for the Perl shell to be able to fetch the needed modules without a big delay. You can switch it on afterwards. The big advantage of the Perl shell compared to the two other methods described here is that it cares about dependencies when installing new modules. I.e., if it turns out that a prerequisite Perl module is missing when you install another module the Perl shell asks you if it should install the prerequisite module for you. You should answer that question with "Yes". Run the following commands to install the modules needed by SpamAssassin: install HTML::Parser If a module is already installed on your system you will get a message similar to this one: HTML::Parser is up to date. Successful installation of a module looks like this: /usr/bin/make install -- OK
A Note On SuExec If you want to run CGI scripts under suExec, you should specify /srv/www/htdocs as the home directory for websites created by ISPConfig as SUSE's suExec is compiled with /srv/www/htdocs as Doc_Root. Run /usr/sbin/suexec2 -V, and the output should look like this:
To select /srv/www/htdocs as the home directory for websites during the installation of ISPConfig do the following: When you are asked for the installation mode, select the expert mode.
Later during the installation you are asked if the default directory /home/www should be the directory where ISPConfig will create websites in. Answer n and enter /srv/www/htdocs as the home directory for websites.
Links
|
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
Red Hat Virtual Experience - a free virtual event. Dec. 9th








print: 
Recent comments
12 hours 17 min ago
18 hours 5 min ago
19 hours 56 min ago
21 hours 41 min ago
1 day 1 hour ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 17 hours ago
1 day 22 hours ago