Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have bought a new server and installed Ubuntu 12.04. Now, how to install zpanel on it?

share|improve this question

4 Answers

up vote 2 down vote accepted

You can see this: http://forums.zpanelcp.com/showthread.php?7277-ZPX-Auto-Installer-for-Ubuntu-12-04/page3

Download auto installer and run in your Ubuntu 12.04.

share|improve this answer
thanks it's work – John Smiith Jun 9 '12 at 14:00

i use script to install zpanel.

Install instructions:

sudo su 

(or login as root)

apt-get -y install tofrodos

Download or create ZPX_ubuntu_12-04_auto_installer.sh

fromdos ZPX_ubuntu_12-04_auto_installer.sh

chmod +x ZPX_ubuntu_12-04_auto_installer.sh

./ZPX_ubuntu_12-04_auto_installer.sh

shutdown -r now

(After AppArmor is removed)

Locate file ZPX_ubuntu_12-04_auto_installer.sh and open with text editor.

Find this and remove.

disable/remove AppArmor [ -f /etc/init.d/apparmor ]

    if [ $? = "0" ]; then

    echo ""
    echo -n "Stopping and Removing AppArmor: "

    /etc/init.d/apparmor stop &> /dev/null
    update-rc.d -f apparmor remove &> /dev/null
    apt-get -y remove apparmor &> /dev/null
    mv /etc/init.d/apparmor /etc/init.d/apparmpr.removed &> /dev/null

    echo "Done."
    echo ""
    echo "REBOOT THE SERVER AND RUN THE SCRIPT AGAIN"
    echo ""
    echo ""
    exit
    fi

Save file and run this command.

./ZPX_ubuntu_12-04_auto_installer.sh

Reboot after installer finishes

Install post-installation patches / sql script

File to download.

ZPX_ubuntu_12-04_auto_installer.sh

post-installation patches

share|improve this answer
.....thankyou ..& can you plz define what to do with post-installation patch ? – One Zero Jun 20 '12 at 0:57
1  
Paste it at /etc/zpanel/ – penreturn Jun 20 '12 at 7:08
ty & i have installed ..i have check yours & the source one both have mistake....its basically in postfix line ...check the comment of appleorange1983 @ source web – One Zero Jun 20 '12 at 7:26
What does "download or create" mean here? – brentonstrine Aug 24 '12 at 8:08
already attach link on my answer : dl.dropbox.com/u/51497732/ZPX_ubuntu_12-04_auto_installer.sh – penreturn Aug 24 '12 at 9:18

Mistake in the script

dpkg -i postfix_2.9.1-4_amd64.deb postfix-mysql_2.9.1-4_amd64.deb
dpkg -i postfix_2.9.1-4_i386.deb postfix-mysql_2.9.1-4_i386.deb

it should be

dpkg -i postfix_2.9.1-5_amd64.deb postfix-mysql_2.9.1-5_amd64.deb

plz fix it ..its not -4 its -5

fix it if your using i386

change it in the script its on line no 192 , 193

share|improve this answer

Take care when using ZPX_ubuntu_12-04_auto_installer.sh.
I have just run in on a Ubuntu 12.04 system and it's made a mess of the Apache2 config. All three of the virtual web hosts I had are gone. ie three websites are now down. Crap. :-(

share|improve this answer
its a clean installation script ....and i been using it from more than 1 year never broke... – Qasim May 8 at 12:17
All good now, it just commented out the Include sites-enabled line. Un-commented the line and all is well again. :-) Now back to setting up zpanel. I'm a zpanel newbie so wish me luck. # Include the virtual host configurations: Include sites-enabled/ – user156766 May 8 at 12:35
Welcome to Ask Ubuntu! Please don't add comments as answers. Invest some time in the site and you will gain sufficient privileges to upvote answers you like, or to add actual comments when seeking clarification of any issues. – Basharat Sial May 8 at 12:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.