Current time: 11-17-2024, 12:48 AM Hello There, Guest! (LoginRegister)


Post Reply 
The Maia Installscript
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #1
At The Maia Installscript
Hello Community,

we talked in the German Corner about the Maia Template.
The Dev´s will release the Template just when ispCP support Maia directly without any HowTo out of the Box.

I created some times ago a HowTo in the Wiki about it
-> http://www.isp-control.net/ispcp/wiki/maia

The Dev´s have not much time and working on ispCP to release the RC3.
So maybe we as Community can start to write a bash script for this.

What do you think about it ?
Has some one of you skills in bash-script to start?
I and the community will support them.

You can find the Script here --> http://www.isp-control.net/ispcp/wiki/us...ainstaller

It is still under Development!

Please help us if you can!


Greez BeNe
(This post was last modified: 10-23-2007 04:38 AM by BeNe.)
10-18-2007 06:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #2
RE: The Maia Installscript
Thank you for the important contribution that the whole instalation takes very long time, at least with the

aptitude install apache2 apache2-mpm-worker apache2.2-common apache2-utils bind9 bzip2 courier courier-base courier courier courier- pop diff dnsutils gcc postgrey gzip iptables libapache2-mod-fastcgi libberkeleydb-perl libc6-dev libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd libdbi- perl libio-stringy-perl libmail-sendmail-perl libmailtools libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsasl2 libsasl2 libsnmp- session-perl libterm libterm-readpassword-perl libtimedate-perl libmysqlclient15off make mysql mysql mysql original-awk patch perl perl modules php4 php4-cgi php4 php4-mcrypt php4- mysql php4-pear php5-cgi php5-gd php5-imap php5-mcrypt php5-mhash php5-mysql postfix postfix postgrey procmail proftpd-mysql exhibit sasl2-bin ssh tar wget

could at least offer a script
(This post was last modified: 10-19-2007 05:12 AM by tango.)
10-19-2007 05:11 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: The Maia Installscript
I started to code the simple first Lines.

Code:
#!/bin/bash

########################
#                      #
# ispCP Maia-Installer #
#                v0.1  #
########################
DATE=`date +%Y%m%d`

clear
echo ""
echo "++++++++++++++++++++++++++++++++++++++"
echo "Welcome to ispCP Omega Maia-Installer."
echo "++++++++++++++++++++++++++++++++++++++"
echo ""
# Checking if ispCP is installed on the System
if test ! -d /var/www/ispcp
        then
                echo "You have no ispCP Omega installed on your Server!"
                echo "The installation abort."
        exit
        fi
                echo "Start to install Maia on this ispCP System!"
        echo ""
        echo "Install needed packages..."
        echo ""
            apt-get update && apt-get upgrade
            apt-get install libdbd-mysql-perl libdbi-perl libphp-jpgraph libossp-uuid-perl
        echo ""
        echo "Upgrade pear now..."
        echo ""
            pear upgrade-all
            pear install Log Mail_Mime File Date DB DB_Pager Net_Sieve Net_Pop3
            pear -d preferred_state=alpha install Image_Color Image_Canvas Image_Graph Numbers_Roman Numbers_Words
            pear install Pager Net_SMTP Auth_SASL
        echo ""
        echo "Stoping Postfix now..."
        echo ""
            /etc/init.d/postfix stop
        echo ""
        echo "Installing AMaVis now..."
        echo ""
            apt-get install amavisd-new spamassassin clamav clamav-daemon
        echo ""
        echo "" Creating a backup file...
            cp /etc/postfix/main.cf /etc/postfix/main.cf.org
        
#        HERE WE SHOULD REMOVE THE "#" IN FRONT OF content_filter = amavis:[127.0.0.1]:10024 in main.cf
#        BUT HOW TO DO THIS THE BEST WAY ?
        echo ""
        echo "Download AMaVis"
        echo ""
            cd /etc/amavis
            wget http://www200.pair.com/mecham/amavisd.conf.maia
            mv amavisd.conf.maia amavisd.conf
To be continued...

Greez BeNe
(This post was last modified: 10-19-2007 05:48 AM by BeNe.)
10-19-2007 05:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #4
RE: The Maia Installscript
The script, I do nothing, I could by the rest of this script?
10-19-2007 05:34 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: The Maia Installscript
I do not really understand ?
Do you want to help in writing this script ?
Your are Welcome. I will post the first lines here in the Forum.
Maybe we should do this in the Wiki - here can everybody do some changes...

The next is - i am not sure if this structure that i created is very good ?
This is not my first script - but never had so much lines and work to do...

Greez BeNe
(This post was last modified: 10-19-2007 05:42 AM by BeNe.)
10-19-2007 05:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #6
RE: The Maia Installscript
I would give my best, but I know a lot, unfortunately not. With WIKI is incidentally a good idea
10-19-2007 05:44 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: The Maia Installscript
I created a Site in the Wiki for the Installer --> http://www.isp-control.net/ispcp/wiki/us...ainstaller

Hope this is OK. Because every change is displayed in the Timeline.
If this would be a really Problem we need a new solution, so that everbody can make changes.

PLEASE FEEL FREE TO IMPROVE THIS SCRIPT IN ANY WAY.
I JUST WROTE SOME LINES...

Greez BeNe
10-19-2007 06:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: The Maia Installscript
I once did some fancy things with bash (user administration for hosting (web & mail), dns administration inkl. copy to 2nd - you see, some sort of ispcp-in-tha-bash :-)

I'll try to put some more lines to your beginning...

/Joxi
10-19-2007 06:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #9
RE: The Maia Installscript
I think it would be a good idea to have at least templates for the maia config files
maia.conf, amavisd.conf and config.php
we can substitute the needed variables in there with the user input...
That way it'll be a bit like it works for the rest of ispCP.
10-19-2007 06:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: The Maia Installscript
I can´t add this in the Wiki
Code:
# Start MySQL before AMaVis
echo ""
echo "Change MySQL & AMaViS startup"
echo ""
update-rc.d -f mysql remove
update-rc.d mysql start 18 2 3 4 5 . stop 22 0 1 6 .

Submission rejected as potential spam (Akismet says content is spam)

Greez BeNe
10-19-2007 09:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)