Wow, jetzt wollen die Leute schon eine Bezahlung für einen Root Server Installieren.
PHP Code:
#!/bin/sh
#NoProblem
echo -e "Installion by Pcy and Cian
1 - (1) MySQL 5.5 Installieren.
2 - (2) MySQL 5.6 Installieren.
3 - (3) Automatisch Root Installieren.
4 - (4) Python Installieren.
Panel by Pcy and Cian"
read anzahl
case $anzahl in
1*)
echo -e "Die Deinstallion beginnt von MySQL-Server(Version 5.6)"
cd /usr/ports/databases/mysql56-server
make deinstall && make clean && make distclean
sleep 3
echo -e "Die Deinstallion beginnt von MySQL-Client(Version 5.6)"
cd /usr/ports/databases/mysql56-client
make deinstall && make clean && make distclean
sleep 3
echo -e "Die Installion beginnt von MySQL-Server(Version 5.5)"
cd /usr/ports/databases/mysql55-server
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Server wurde Installiert(Version 5.5)"
echo -e "Die Installion beginnt von MySQL-Client(Version 5.5)"
cd /usr/ports/databases/mysql55-client
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Client wurde Installiert(Version 5.5)"
;;
2*)
echo -e "Die Installion beginnt von MySQL-Server(Version 5.6)"
cd /usr/ports/databases/mysql56-server
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Server wurde Installiert(Version 5.6)"
echo -e "Die Installion beginnt von MySQL-Server(Version 5.6)"
cd /usr/ports/databases/mysql56-client
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Client wurde Installiert(Version 5.6)"
;;
3*)
portsnap fetch extract && portsnap fetch update
echo -e "Portsnap wurden Installiert"
sleep 5
echo -e "Die Installion beginnt von MySQL-Server(Version 5.5)"
cd /usr/ports/databases/mysql55-server
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Server wurde Installiert(Version 5.5)"
echo -e "Die Installion beginnt von MySQL-Client(Version 5.5)"
cd /usr/ports/databases/mysql55-client
make deinstall && make clean && make distclean
sleep 5
make WITH_XCHARSET=all install clean
echo -e "MySQl Client wurde Installiert(Version 5.5)"
cd /usr/ports/lang/python
sleep 1
make deinstall && make clean && make distclean
make install clean
sleep 5
cd /usr/bin
ln -s /usr/local/bin/python2.5 python
echo -e "Python wurde Installiert"
;;
4*)
cd /usr/ports/lang/python
make deinstall && make clean && make distclean
sleep 1
make install clean
sleep 5
cd /usr/bin
ln -s /usr/local/bin/python2.5 python
echo -e "Python wurde Installiert"
;;
esac
Kopier dir das Script, speicher es als "Install.sh" ab.
Lade es auf deinem Root hoch, und für es mit sh install.sh aus, und wähl die Optionen die du haben willst.