Gomen Posted January 10, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 9 Reputation: 5 Joined: 01/02/12 Last Seen: October 12, 2013 Share Posted January 10, 2012 (edited) Einige Leute von euch kennen das Script schon, hier einmal eine variante um die configuraton und Installation ein wenig zu Automatisieren. Die Datei einfach Speichern Unter... " rathena.sh " speichern, auf den server laden und mit chmod +x rathena.sh via console die nötigen rechte verpassen. #!/bin/bash echo "Installation starten." apt-get -y update apt-get -y install gcc apt-get -y install g++ apt-get -y install c++ apt-get -y install gpp apt-get -y install subversion apt-get -y install subversion-tools apt-get -y install libpcre++0 apt-get -y install libpcrecpp0 apt-get -y install mysql-server-5.1 apt-get -y install mysql-common apt-get -y install zlibc apt-get -y install zlib1g apt-get -y install zlib1g-dev apt-get -y install unrar echo "Benutzeraccount anlegen" read userna useradd -d /home/$userna/ -m $userna passwd $userna chown -R $userna /home/$userna/ echo "Benutzer angelegt";; echo "Verzeichnis wechseln";; cd /home/$userna/ echo "eAthena Download starten" svn co https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/ echo "rAthena Tunk geladen" cd /home/$userna/trunk echo "Projektdatein entfernen" rm -Rf *.sln *.bat *.dll *.dsw vcproj-6 vcproj-7.1 vcproj-8 vcproj-9 echo "Starte server installation" chmod 770 configure && ./configure echo "Nicht Vergessen, die rAthena Configs nach belieben an zu passen." echo "version 0.1 (c) by gomen" sleep 10 Edited January 10, 2012 by Gomen 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.