ispCP - Board - Support
Installing ispCP 1.0.6 on Ubuntu 10.04 for beginners - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Installing ispCP 1.0.6 on Ubuntu 10.04 for beginners (/thread-11444.html)



Installing ispCP 1.0.6 on Ubuntu 10.04 for beginners - theflame - 08-20-2010 08:44 AM

In many forums where hosting panels are discussed I often see how some people start his thread about troubles with installing. But it ends soon and indefinitely. It concerns of ispCP too. For me it says that now a lot of beginners try themselves to get hosting server for own sites and purposes. But most of them try to search for more suitable way or keep it for better time. It's mean that developers don't receive potential popularity of their product. Niche of easy hosting server is free and doesn't have its leader. It would be good idea at least to create detailed tutorial for ease installing ispCP on Ubuntu like this http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3. Keeping in mind beginner level of target group it should start from installing and preparing system. Why Ubuntu? The main idea is making own hosting as easy as possible but keeping lightweight and professional server system like Debian or other. If your help me I can create such tutorial. But my trials of installing ispCP 1.0.6 on Ubuntu Server 10.04 did not give me expected results. I have external static IP address and some domain names with this IP. And I want to have possibility to place my sites on Drupal in home server. Minimally I need mail, ftp, ssh, php, mysql and friendly interface to manage it. I follow this materials http://isp-control.net/documentation/start:installation:ubuntu and http://isp-control.net/ispcp/browser/trunk/docs/Ubuntu/INSTALL. But it keeps some questions and problems. The last reference all the time speaks about 1.0.8 version. But I can't find it here http://isp-control.net/download.html. Maybe through the same problem I can not perform this command:
# aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)
Logically with package 1.0.6 on Ubuntu Server 10.04 I tried successfully to do this:
# aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-karmic)
During Ubuntu installation I named system "el-dom" on domain "biz" which created my registered domain "el-dom.biz" in /etc/hosts. It lets to send this address on my server. But when I answer setup questions I get something:
WARNING: el-dom.biz is not a "fully qualified hostname". Be aware you cannot use this domain for websites.
Then I entered server.el-dom.biz. It let set up without this warning but I could log in system only through "el-dom.biz" and not "server.el-dom.biz" or "admin.server.el-dom.biz". I suppose it's wrong.
Also during installation setup returned next text which worry me:
Code:
ERROR: Module php4 does not exist!
ERROR: Module ispcp_fastcgi does not exist!
Module php5 disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Module actions already enabled
Module fcgid_ispcp already enabled
Module fastcgi disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Module fcgid disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Module rewrite already enabled
Module cgid already enabled
Site ispcp.conf already enabled
Module suexec already enabled
System start/stop links for /etc/init.d/ispcp_daemon already exist.
System start/stop links for /etc/init.d/ispcp_network already exist.
-en     Setting GUI Permissions:
Site default already disabled
Site 00_master.conf already enabled
.... done
    Setting Engine Permissions: .. done

     Starting services: .........

    Congratulations you installed ispCP '1.0.6 OMEGA' successfully!

    Please type http://admin.hosting.el-dom.biz in your browser and
    log in with your Administrator Account to use ispCP.
Also in language I could not find any more then English.

Please, help me to find what I miss during installation this system. If I understand I will write fully step-by-step tutorial for other beginers.


RE: Installing ispCP 1.0.6 on Ubuntu 10.04 for beginners - Otzelott - 08-20-2010 05:28 PM

Download the Text File in Post #8 and then try again to install:
http://isp-control.net/forum/thread-10745-page-1.html


RE: Installing ispCP 1.0.6 on Ubuntu 10.04 for beginners - theflame - 08-21-2010 08:13 PM

OK. Thank you. It decided something. But I got the same message:
Code:
ERROR: Module php5 does not exist!
ERROR: Module php4 does not exist!
Enabling module actions.
Run '/etc/init.d/apache2 restart' to activate new configuration!
ERROR: Module ispcp_fastcgi does not exist!
Enabling module fcgid_ispcp.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Module fastcgi disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
egrep: /etc/apache2/mods-enabled/fastcgi.load: No such file or directory
Module fcgid already disabled
Enabling site ispcp.conf.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Module cgid already enabled
Enabling module rewrite.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Enabling module suexec.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Enabling site 01_awstats.conf.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Enabling module proxy.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
Run '/etc/init.d/apache2 restart' to activate new configuration!

Is it good?

Also I got this problem:
http://isp-control.net/ispcp/ticket/2375
http://isp-control.net/ispcp/ticket/2202
And fixed it like this bottom http://isp-control.net/forum/thread-10167-post-78858.html#pid78858. I. e. "fix it by replacing the deprecated function split() with explode()"

Then I started to add user through resaler and got this error:
Code:
Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/var/run/ispcp.lock) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/include/ispcp-functions.php on line 36

Warning: fopen(/var/run/ispcp.lock) [function.fopen]: failed to open stream: Operation not permitted in /var/www/ispcp/gui/include/ispcp-functions.php on line 36
00000 - -
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/ispcp/gui/include/ispcp-functions.php on line 55

It looks like this http://isp-control.net/forum/thread-10715.html
But I don't install any more packages. Only this http://isp-control.net/forum/thread-10745-post-81824.html#pid81824 which you recommended. But for my system I need mc, msrtool, dhcp3-server, ssh, openssh-server, gcc, link and cpupowerd for AMD undervolting. During setting up I chose "Activate AWStats". Nothing more. My opinion it can't influence on ispCP working.

Can you help me?