Current time: 11-22-2024, 08:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
PACKAGES :: Fedora
Author Message
ChUbB Offline


Posts: 3
Joined: Sep 2007
Reputation: 0
Post: #1
PACKAGES :: Fedora
hi i was looking on the website and found the list of packages does any have a list of packages for fedora ???

yum install .........
09-20-2007 08:17 AM
Find all posts by this user Quote this message in a reply
needsy Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #2
RE: PACKAGES :: Fedora
Check under docs/fedora. There should be a file in there that lists all the packages. Also related is the install script found here.
09-20-2007 01:11 PM
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: PACKAGES :: Fedora
Yes - this File here --> http://www.isp-control.net/ispcp/browser...format=raw

It is very fresh - 12 Hours old!
Thanks @GrayWolf for this work.

Greez BeNe
09-20-2007 03:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
graywolf Offline
Junior Member
*

Posts: 43
Joined: Sep 2007
Reputation: 1
Post: #4
RE: PACKAGES :: Fedora
wow didnt expect my script to make the build

but as it did it not correct
the lines

ISPCP_TRUNK_FILE=ispcp-omega-trunk-20070912.tar.gz
ISPCP_DOWNLOAD_LOC=http://www.isp-control.net/downloads/snapshots/

download the wrong files

if you want could change but as it is it download a previous version
09-21-2007 07:46 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #5
RE: PACKAGES :: Fedora
hey graywolf, send me a patch for this and I'll upload it. I've overlooked the mistake.
09-21-2007 07:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
graywolf Offline
Junior Member
*

Posts: 43
Joined: Sep 2007
Reputation: 1
Post: #6
RE: PACKAGES :: Fedora
RatS Wrote:hey graywolf, send me a patch for this and I'll upload it. I've overlooked the mistake.


im guessing this works cause the lastest trunk has a problem with
/engine/setup/set-gui-permissions.sh and
/engine/setup/set-engine-permissions.sh

looks like the issue is with a \r in the ispcp.conf on the
ROOT_PATH
LOG_PATH
APACHE_SUEXEC_USER_PREF
APACHE_SUEXEC_MIN_GUID
APACHE_USER
APACHE_GROUP
MTA_MAILBOX_UID_NAME
MTA_MAILBOX_GID_NAME

FYI most of the lines hav ^M when opening it in vi

also .....
the /etc/init.d/ispcp_dameon
and /etc/init.d/ispcp_network
in the dist DONT WORK please use the ones in RC2 as they work


Code:
#!/bin/bash

# Fedora Core 7 ISP Control Installer
# Version 1.2.0
# dont blame graywolf

# The path where the Makefile files are
ISPCP_PATH=CHANGEME


ISPCP_TMP_PATH=/tmp/ispcp_install


echo \************************************
echo \* Fedora Core 7 ISP Control Installer
echo \* Author: graywolf
echo \* Version: 1.2.0            
echo \************************************
echo

if [ "$ISPCP_PATH" != "CHANGEME" ]; then

######################################
echo Creating Folders and copying files

mkdir ${ISPCP_TMP_PATH}
mkdir ${ISPCP_TMP_PATH}/updates
cp -R ./* ${ISPCP_TMP_PATH}
cd ${ISPCP_TMP_PATH}


######################################
echo Extracting and configuring ISPCP

cd ${ISPCP_TMP_PATH}
mv  ${ISPCP_PATH} ${ISPCP_TMP_PATH}/ispcp-omega-1.0.0-trunk

cd ispcp-omega-1.0.0-trunk

#install Required updates
yum -y install `cat ./docs/Fedora/fedora-packages`

cpan2rpm -i --no-sign http://search.cpan.org/CPAN/authors/id/P/PH/PHOENIX/Term-ReadPassword-0.07.tar.gz

wget -P ${ISPCP_TMP_PATH}/updates http://hany.sk/mirror/fedora/releases/7/Everything/i386/os/Fedora/perl-Net-LibIDN-0.09-3.fc7.i386.rpm
rpm -i ${ISPCP_TMP_PATH}/updates/perl-Net-LibIDN-0.09-3.fc7.i386.rpm

clear
######################################
echo Installing Courier

wget -P ${ISPCP_TMP_PATH}/updates http://www.thatfleminggent.com/packages/fedora/7/i386/courier-authlib-0.59.3-1.fc7.mf.i386.rpm
wget -P ${ISPCP_TMP_PATH}/updates http://www.thatfleminggent.com/packages/fedora/7/i386/courier-authlib-userdb-0.59.3-1.fc7.mf.i386.rpm
wget -P ${ISPCP_TMP_PATH}/updates http://www.thatfleminggent.com/packages/fedora/7/i386/courier-imap-4.1.3-1.fc7.mf.i386.rpm

rpm -i ${ISPCP_TMP_PATH}/updates/courier-authlib-0.59.3-1.fc7.mf.i386.rpm
rpm -i ${ISPCP_TMP_PATH}/updates/courier-authlib-userdb-0.59.3-1.fc7.mf.i386.rpm
rpm -i ${ISPCP_TMP_PATH}/updates/courier-imap-4.1.3-1.fc7.mf.i386.rpm

# Create  group and user with 3000 UID so ISPCP doesnt cause conflicts User  
groupadd courier -g 3000
useradd -u 3000 -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier


clear
######################################
echo Installing ISPCP

cd ${ISPCP_TMP_PATH}/ispcp-omega-1.0.0-trunk
make -f Makefile.fedora install

cp -RLf /tmp/ispcp-1.0.0/* /


clear
######################################
echo Performing General Fixes.....

# BIND setup
mv /var/named/data /var/named/data2
ln -s /var/named/chroot/var/named/data /var/named/data

# Fixing missed mkdir in make error
mkdir /var/www/scoreboards

# HTTPD
echo 'include vhosts/*.conf' >> /etc/httpd/conf/httpd.conf

# Courier User database
touch /etc/sasldb2
mkdir -p /var/spool/postfix/etc
cp /etc/sasldb2 /var/spool/postfix/etc/sasldb2
cp -f /etc/init.d/courier-authlib /etc/init.d/courier-authdaemon

# note permissions are changed in cleanup

cp -f /etc/init.d/courier-authlib /etc/init.d/courier-authdaemon
cp -f /etc/ispcp/bind/named.conf /var/named/chroot/etc/named-ispcp.conf
echo 'include "/etc/named-ispcp.conf";' >> /var/named/chroot/etc/named.conf

######################################

echo Starting mysql daemon

service mysqld restart


clear
######################################
echo Prep work done entering ISPCP setup
cd /var/www/ispcp/engine/setup
perl /var/www/ispcp/engine/setup/ispcp-setup

clear
######################################
echo Removing config files

rm -R ${ISPCP_TMP_PATH}

clear
######################################
echo fixing permissons

chmod 777 /var/www/ispcp/gui/phptmp
chown apache:apache /var/www/ispcp/gui/tools/webmail/data

######################################
echo Setting Startup services
chkconfig --add ispcp_daemon
chkconfig --add spamassassin
chkconfig --add posfix

chkconfig ispcp_daemon on
chkconfig spamassassin on
chkconfig postfix on
chkconfig httpd on
chkconfig mysqld on
chkconfig named on
chkconfig proftpd on

chkconfig sendmail off

######################################
echo re-starting required services
service httpd restart    
service ispcp_daemon restart
service named restart
service proftpd restart
service spamassassin restart
service sendmail stop
service postfix restart


######################################
echo removing tmp files
rm -R /tmp/ispcp-1.0.0

clear
######################################
echo \*************************
echo
echo Change:
echo myhostname = \<servername\>
echo mydomain = \<domain\>
echo
read -n 1 -p 'Press any key to continue ......'

vi /etc/postfix/main.cf

service postfix reload

else

echo
echo \*************************
echo
echo PLEASE EDIT THE FILE
echo And change ISPCP_PATH
echo
echo \*************************

fi

would be better if it checks the path to see if the makefiles are where the user said they are but im lazy

i also dont know it the permissions for
/var/www/ispcp/gui/phptmp
/var/www/ispcp/gui/tools/webmail/data
(This post was last modified: 09-21-2007 10:31 AM by graywolf.)
09-21-2007 10:09 AM
Find all posts by this user Quote this message in a reply
graywolf Offline
Junior Member
*

Posts: 43
Joined: Sep 2007
Reputation: 1
Post: #7
RE: PACKAGES :: Fedora
hate to be a pain but docs/fedora/packages is missing caching-nameserver
09-21-2007 11:24 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: #8
RE: PACKAGES :: Fedora
I opened a Ticket about it --> http://www.isp-control.net/ispcp/ticket/692

Greez BeNe
09-21-2007 04:03 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: 1 Guest(s)