Difference between revisions of "IspCP"

From ArchWiki
Jump to: navigation, search
(Post Installation)
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Daemons and system services (English)]]
+
[[Category:Web Server]]
[[Category:Web Server (English)]]
+
 
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.
 
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.
  
Line 6: Line 5:
  
 
==ispCP Omega Release==
 
==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.  
 
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.  
Line 13: Line 10:
 
===Installation===
 
===Installation===
  
ispCP-Omega is now in [http://aur.archlinux.org/packages.php?ID=48034 AUR].Download the PKGBUILD and then makepkg to install or use any of the aur wrapper to makepkg and install automatically.
+
ispCP-Omega is now in [https://aur.archlinux.org/packages.php?ID=48034 AUR].Download the PKGBUILD and then makepkg to install or use any of the aur wrapper to makepkg and install automatically.
 
+
====Post Installation====
+
  
After installing the package,we need to run the ispcp setup script to get it worked,but before that,we need to start the mysql server.
+
ispCP setup script need MySQL server running.
  
 
   /etc/rc.d/mysqld start
 
   /etc/rc.d/mysqld start
  
then,run
+
If you just installed MySQL as dependency, see https://wiki.archlinux.org/index.php/MySQL to see how set it up, or you can use following command to interactive configure it.
 +
 
 +
  mysql_secure_installation
 +
 
 +
Then,
  
 
   cd /srv/http/ispcp/engine/setup/
 
   cd /srv/http/ispcp/engine/setup/
 +
 +
Run,
 +
 
   ./ispcp-setup
 
   ./ispcp-setup
  
After asking several questions about your server,the ispcp is completely installed.
+
After answering several questions about your server, the ispCP Omega is completely installed.
 +
 
 +
===Upgradation===
 +
 
 +
===Configuration===
  
 
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 43: Line 53:
 
   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 49: Line 59:
 
   HTTPD=/usr/sbin/httpd.worker
 
   HTTPD=/usr/sbin/httpd.worker
  
3. Edit `/etc/services`
+
'''4. Edit `/etc/services`'''
  
Comment the following lines
+
Append the following lines to the end of the file.
 
+
  #urd            465/tcp    # URL Rendesvous Directory for SSM
+
  #igmpv3lite      465/udp    # IGMP over UDP for SSM
+
 
+
Add the following lines
+
  
 
   smtps            465/tcp  
 
   smtps            465/tcp  
 
   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/httpd`'''
  
 
Comment all lines.
 
Comment all lines.
  
6. Edit `/etc/logrotate.d/httpd`
+
'''7. Edit `/etc/logrotate.d/proftpd`'''
  
 
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 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'''
  
===Configuration===
+
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.
+
===Uninstallation===
  
 
===Troubleshooting===
 
===Troubleshooting===
  
     Frequently asked questions regarding the software  
+
     Frequently asked questions regarding the software.
 
+
===More resources===
+
 
+
[http://isp-control.net ispCP Project]
+
  
 
==ispCP Release==
 
==ispCP Release==
  
 
The full-rewritten ispCP has not yet been released,let's be patient and wait.
 
The full-rewritten ispCP has not yet been released,let's be patient and wait.
 +
 +
==More resources==
 +
 +
[http://isp-control.net ispCP Project]

Revision as of 11:14, 16 December 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

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, or you can use following command to interactive configure it.

 mysql_secure_installation

Then,

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

Run,

 ./ispcp-setup

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

Upgradation

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/httpd`

Comment all lines.

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

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.

Uninstallation

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