webcp.hostinghacks.net/slackware - Build A Based Web Hosting Service


home   ·.   download   ·.   install   ·.   faq   ·.   forums   ·.   contribute   ·.   change log   ·.   toolbox
OVERVIEW
Install Slackware as a Hosting Service Provider. The instructions revolve around the basic infrastructure of a PHP/MySQL powered open source hosting control panel. This control panel is free to use under the GPL and when combined with other open source internet server software such as Apache, ProFTP, PHP, MySQL, Dovecot, Squirrelmail, BIND, Sendmail, MRTG, Webalizer and OpenSSL can provide a slick interface to a fully featured hosting provisioning solution. Beyond the open source software that can be found freely on the internet, all that is needed to complete the HostingHacks project is an ethernet card and a static IP address.

PART I - SYSTEM BUILD

1. Install Slackware 10.1

Install Slackware with internet daemons and supporting packages


2. Post Installation Configuration

Post Installation Configuration of the OS


3. Inetd

Shutdown the inetd daemon. All daemons will be installed and run in standalone version.


4. MySQL

Prepare MySQL for use with the control panel php/mysql backend and general hosting client support.


5. Libraries

Graphics libraries needed by MRTG and Webalizer (network analysis tools).


6. Apache

HTTP Webserver configuration for a dedicated virtual hosting setup.


7. BIND

Set Bind to act as a DNS primary server.


8. Disk Quotas

Limit and monitor users access to disk space with the web hosting control panel.


9. Web-cp

Web-cp is an open source, PHP/MySQL powered, hosting control panel for Unix/Linux systems. This control panel is free to use under the GPL and provides a slick interface to a fully featured hosting provisioning solution.


11. ProFTP

Configure ProFTP access.


12. Sendmail

Configure Sendmail.


13. Spamassassin

Configure antispam support.


14. POP3 Service

Configure Qpopper POP3 Service.


15. Webmail

Webmail service ; Dovecot IMAP server with Squirrelmail web based email interface.


16. Webalizer

The Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.


17. AWStats

Alternate web server log file analysis program.



PART II - LOGGING

18. System Time

Synchronize server clocks over the internet.


19. Syslog

Monitor system health and status with advanced logging techniques.


20. Logrotate

Rotate and archive system logs on a regular basis.


21. Log Watch

Monitoring system health, users and status with logwatch filters and advanced logging techniques.


PART III - BENCHMARKING

22. SNMP

Simple Network Management Protocol


23. MRTG

The Multi Router Traffic Grapher is a tool to monitor the traffic load on network-links.


24. Benchmarking

Tweaks to monitor a production server.



PART III - HARDENING

24. Firewall

Firewall a single webhosting server on the internet.


25. Tripwire

Tripwire creates a cryptographically-secured database used to keep track of modifications that have occurred in a system.


26. AIDE

Used to keep track of modifications that have occurred in a system.


27. Mod_security

ModSecurity increases web application security, protecting web applications from known and unknown attacks.


28. suPHP

SuPHP is a wrapper that runs the PHP script as the user who owns the script (similar in concept to suexec, but for PHP).


29. Chrootkit

Check for presence of rootkits installed on Linux/Unix machines


30. Rkhunter

Check for presence of rootkits installed on Linux/Unix machines


31. File Anomaly Finder

Wrapper for the linux 'find' utility ; generates audit reports for such data as setgid/setuid, unowned, and more.


31. Noexec tmp dirs

Mount tmp dirs noexec.


32. Secure Compilers

Secure Compilers, fetching apps, SUID/SGID programs



PART IV - SECONDARY

1. Build a Secondary Server

Build a Secondary NS2 / MX2


2. Configure a backup MX

Configure the Backup MX


3. Configure a Secondary NS

Configure the Secondary NS



PART IV - DISASTER RECOVERY

32. RAID Recovery

Recovering from a failed RAID1 array


33. Disaster Recovery

Rebuilding a production server


34. Recover Root Password

Recovering from a failed RAID1 array



PART V - RESOURCES:

34. Resources

Links, mailing lists and forums for support and troubleshooting.



Powered By Fat Penguin Hosting   |   Disclaimer