Hallo nochmal!!!
wenn ich die install von b1gpop3 ausführe dann kommt nur dies hier:
#!/bin/sh
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Willkommen" --yesno "Willkommen beim b1gPOP3 Setup! \
Dieses Programm wird Sie durch die b1gPOP3-Installation führen. Falls Sie Fragen haben, lesen Sie bitte erst die b1gPOP3-Dokumentation und wenden Sie sich erst dann an den B1G Support auf
www.b1g.info. Soll nun mit der Installation begonnen werden?" 13 45
if [ "$?" != "0" ]
then
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Abgebrochen" --msgbox "Das Setup wurde auf ihren Wunsch hin abgebrochen." 7 50
else
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Information" --msgbox "In den nachfolgenden Dialogen werden die MySQL - Daten abgefragt. Geben Sie diese bitte genauso an, wie Sie sie im b1gMail - Setup angegeben haben." 8 50
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "MySQL Host" --inputbox "Geben Sie bitte ihren MySQL-Server an:" 10 50 localhost 2> setup.tmp
read MYSQLHOST < setup.tmp
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "MySQL Datenbank" --inputbox "Geben Sie bitte den MySQL-Datenbank-Namen an:" 10 50 b1gmail 2> setup.tmp
read MYSQLDB < setup.tmp
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "MySQL Benutzername" --inputbox "Geben Sie bitte den MySQL-Benutzernamen an:" 10 50 root 2> setup.tmp
read MYSQLUSER < setup.tmp
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "MySQL Passwort" --inputbox "Geben Sie bitte das MySQL-Passwort an:" 10 50 passwort 2> setup.tmp
read MYSQLPASS < setup.tmp
rm setup.tmp
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Installation" --infobox "b1gPOP3 wird installiert..." 10 50
#Start Installationsvorgang
echo "Starte Installation." > install.log
echo "Erstelle Log-Verzeichnis..." >> install.log
mkdir -p /var/log/b1gpop3 2>>install.log
echo "Kopiere b1gPOP3 Konfiguration..." >> install.log
cp files/b1gpop3.conf /etc/b1gpop3.conf 2>> install.log
echo "Kopiere b1gPOP3 Server..." >> install.log
cp files/b1gpop3.pl /usr/bin/b1gpop3.pl 2>> install.log
echo "Kopiere b1gPOP3 Start-Script..." >> install.log
cp files/b1gpop3 /usr/bin/b1gpop3 2>> install.log
echo "Setze Rechte für b1gPOP3..." >> install.log
chmod 755 /usr/bin/b1gpop3.pl 2>> install.log
chmod 755 /usr/bin/b1gpop3 2>> install.log
echo "Schreibe MySQL Konfiguration..." >> install.log
echo "@""EXPORT = qw ""{"" db, name, pw ""}"";" > /etc/b1gpop3-sql.pl
echo "$""db = \"DBI:mysql:$MYSQLDB:$MYSQLHOST\""";" >> /etc/b1gpop3-sql.pl
echo "$""username = \"$MYSQLUSER\""";" >> /etc/b1gpop3-sql.pl
echo "$""pass = \"$MYSQLPASS\""";" >> /etc/b1gpop3-sql.pl
echo "1"";" >> /etc/b1gpop3-sql.pl
echo "Compiliere Net::Server..." >> install.log
cd netserver
perl Makefile.PL >> ../install.log
make >> ../install.log
make install >> ../install.log
cd ..
echo "Installation abgeschlossen." >> install.log
#Ende Installationsvorgang
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Abgeschlossen" --yesno "Die Installation wurde abgeschlossen. Wollen Sie die Log-Datei ansehen?" 7 50
if [ "$?" != "0" ]
then
echo ""
else
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Installations-LOG" --textbox install.log 13 50
fi
dialog --backtitle "b1gPOP3 Setup - (c) 2002-2003 by B1G - Free PHP Scripts" --title "Fertig" --msgbox "b1gPOP3 wurde installiert. Starten Sie b1gPOP3 durch eingeben von b1gpop3. Das Setup wird beendet." 10 40
fi
rm install.log 2>> /dev/null
clear
weiss jemand was ich ändern muss damit es funktioniert??
sorry wenn ich noob fragen stelle ich fang gerade erst damit an!!