######################################
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}
wget -O ispcp-omega-1.0.0-trunk.tar.gz ${ISPCP_DOWNLOAD_LOC}${ISPCP_TRUNK_FILE}
tar -xf ispcp-omega-1.0.0-trunk.tar.gz
mv ${ISPCP_TMP_PATH}/web/svn/nightly ${ISPCP_TMP_PATH}/ispcp-omega-1.0.0-trunk
rm -Rf web
# Create group and user with 3000 UID so VHCS2 doesnt cause conflicts User
groupadd courier -g 3000
useradd -u 3000 -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier
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
fixing permissons
chmod: cannot access `/var/www/ispcp/gui/phptmp': No such file or directory
chown: cannot access `/var/www/ispcp/gui/tools/webmail/data': No such file or directory
Setting Startup services
error reading information on service ispcp_daemon: No such file or directory
error reading information on service spamassassin: No such file or directory
error reading information on service posfix: No such file or directory
error reading information on service ispcp_daemon: No such file or directory
error reading information on service spamassassin: No such file or directory
error reading information on service postfix: No such file or directory
error reading information on service httpd: No such file or directory
error reading information on service mysqld: No such file or directory
error reading information on service named: No such file or directory
error reading information on service proftpd: No such file or directory
error reading information on service sendmail: No such file or directory
re-starting required services
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
httpd: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ispcp_daemon: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
named: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
proftpd: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
spamassassin: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sendmail: unrecognized service
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
postfix: unrecognized service
removing tmp files
rm: cannot remove `/tmp/ispcp-1.0.0': No such file or directory
how would you suggest i install fedora (what packages/run from command line etc)
ill check tomorrow, can i just rerun the script, or do i need to reinstall fedora? (also, what is the best way to make sure that i only install what i need when installing fedora from the disc)
I am a NOOB at linux, so please forgive me if these questions are/sound stupid