Difference between revisions of "IspCP"

From ArchWiki
Jump to: navigation, search
(Configuration)
Line 35: Line 35:
 
Due to the Arch Linux has not been support officially,there are some addition work to do after setup processtion complete.
 
Due to the Arch Linux has not been support officially,there are some addition work to do after setup processtion complete.
  
1. Edit `/etc/httpd/conf/httpd.conf`
+
'''1. Change vmail home directory'''
 +
 
 +
        usermod -d /var/mail/virtual vmail
 +
 
 +
'''2. Edit `/etc/httpd/conf/httpd.conf`'''
  
 
Add the following lines at the end of the file
 
Add the following lines at the end of the file
Line 48: Line 52:
 
   Include conf/extra/php5_module.conf
 
   Include conf/extra/php5_module.conf
  
2. Edit `/etc/conf.d/apache`
+
'''3. Edit `/etc/conf.d/apache`'''
  
 
Uncomment the following line
 
Uncomment the following line
Line 54: Line 58:
 
   HTTPD=/usr/sbin/httpd.worker
 
   HTTPD=/usr/sbin/httpd.worker
  
3. Edit `/etc/services`
+
'''4. Edit `/etc/services`'''
  
 
Append the following lines to the end of the file.
 
Append the following lines to the end of the file.
Line 61: Line 65:
 
   smtps            465/udp
 
   smtps            465/udp
  
4. Edit `/etc/conf.d/postgrey`
+
'''5. Edit `/etc/conf.d/postgrey`'''
  
 
Change port from 10030 to 10023
 
Change port from 10030 to 10023
  
5. Edit `/etc/logrotate.d/proftpd`
+
'''6. Edit `/etc/logrotate.d/proftpd`'''
  
 
Comment all lines.
 
Comment all lines.
  
6. Edit `/etc/logrotate.d/httpd`
+
'''7. Edit `/etc/logrotate.d/httpd`'''
  
 
Comment all lines.
 
Comment all lines.
  
7. Edit `/etc/rc.conf`
+
'''8. Edit `/etc/rc.conf`'''
  
 
Add "named mysqld proftpd saslauthd authdaemond postfix pop3d !pop3d-ssl imapd !imapd-ssl postgrey policyd-weight ispcp_daemon ispcp_network httpd" to DAEMONS array if you want a autostart.
 
Add "named mysqld proftpd saslauthd authdaemond postfix pop3d !pop3d-ssl imapd !imapd-ssl postgrey policyd-weight ispcp_daemon ispcp_network httpd" to DAEMONS array if you want a autostart.
  
8. Place any php extension configuration file in /etc/php/conf.d as *.ini,they will be autoloaded.
+
'''9. PHP extension loading'''
 +
 
 +
Place any PHP extension configuration file in /etc/php/conf.d as *.ini,they will be autoloaded.
  
 
The server has alwready been auto configured while setup pressodure,there is no more configureation work need to be done.
 
The server has alwready been auto configured while setup pressodure,there is no more configureation work need to be done.

Revision as of 12:05, 19 March 2012

ispCP is an open source project founded to build a Multi Server Control and Administration Panel aimed to be usefull to Internel Service Provider.The project is a fork of dying Virtual Hosting Control Panel (VHCS) project,but it's future goal is a complete rewritten of the original VHCS.

For more detail information,please visit ispCP Project Info.

ispCP Omega Release

Introduction

ispCP-Omega is the current release of the ispCP project which is a bridge between the VHCS project and the final rewritten ispCP project the comunity is currently working on.

Installation

ispCP-Omega is now in AUR.Download the PKGBUILD and then makepkg to install or use any of the aur wrapper to makepkg and install automatically.

ispCP setup script need MySQL server running.

 /etc/rc.d/mysqld start

If you just installed MySQL as dependency, see https://wiki.archlinux.org/index.php/MySQL to see how set it up.

Then,

 cd /srv/http/ispcp/engine/setup/

Run,

 ./ispcp-setup

After answering several questions about your server, the ispCP Omega is completely installed.

Configuration

Due to the Arch Linux has not been support officially,there are some addition work to do after setup processtion complete.

1. Change vmail home directory

       usermod -d /var/mail/virtual vmail

2. Edit `/etc/httpd/conf/httpd.conf`

Add the following lines at the end of the file

 Include conf/extra/httpd-mods/*.conf
 Include conf/extra/httpd-vhosts/*.conf
 Include conf/extra/httpd-vhosts-ispcp/*.conf

Make sure the following lines commented or deleted. Apache now is in cgi mode, package "php-apache" could be safely deleted.

 LoadModule php5_module modules/libphp5.so
 Include conf/extra/php5_module.conf

3. Edit `/etc/conf.d/apache`

Uncomment the following line

 HTTPD=/usr/sbin/httpd.worker

4. Edit `/etc/services`

Append the following lines to the end of the file.

 smtps            465/tcp 
 smtps            465/udp

5. Edit `/etc/conf.d/postgrey`

Change port from 10030 to 10023

6. Edit `/etc/logrotate.d/proftpd`

Comment all lines.

7. Edit `/etc/logrotate.d/httpd`

Comment all lines.

8. Edit `/etc/rc.conf`

Add "named mysqld proftpd saslauthd authdaemond postfix pop3d !pop3d-ssl imapd !imapd-ssl postgrey policyd-weight ispcp_daemon ispcp_network httpd" to DAEMONS array if you want a autostart.

9. PHP extension loading

Place any PHP extension configuration file in /etc/php/conf.d as *.ini,they will be autoloaded.

The server has alwready been auto configured while setup pressodure,there is no more configureation work need to be done.

Troubleshooting

   Frequently asked questions regarding the software.

ispCP Release

The full-rewritten ispCP has not yet been released,let's be patient and wait.

More resources

ispCP Project