ragnazorg Posted November 16, 2011 Posted November 16, 2011 (edited) Now you're done paying your vps or dedicated machine. But how are you going to install your Ragnarok server in it? Here is a simple guide on how to setup your ragnarok server in linux (the easiest way) Programs needed: Putty Filezilla Sqlyog Store your details in a notepad and save it somewhere since you might forget your password. Connect to your server using putty. Host name will be the IP of your vps. Once connected type in your username and password Now type in apt-get install php5 phpmyadmin mysql-server mysql-client apache2 gcc subversion libmysqlclient15-dev make zlib1g-dev libpcre3-dev Warning: Do not run eAthena as root! To not run as root follow this steps adduser eathena (or any username you want) Follow the steps and it will ask you information such as password etc it will ask you for confirmation by Y or N. Input Y. Now to go to your users folder type in cd /home/eathena You may want to ask why with home/ by default users will have its directory inside home/. Now all pre-needs are set up let's start and install eathena! mkdir ragnarok (or any names you wish to use) Now leaves you three options or branches you want to install For Trunk svn co http://eathena-project.googlecode.com/svn/trunk/ For Renewal svn co http://eathena-project.googlecode.com/svn/branches/renewal/ and For Stable svn co http://eathena-project.googlecode.com/svn/branches/stable/ Now we all know we can choose Txt or SQL for eathena too and you can't run your eathena without choosing one and compiling it. For SQL make clean ./configure --with-mysql make sql Now if you're running 64 bit system make clean ./configure --enable-64-bit make sql For TXT make clean ./configure make txt Now that your eathena is compiled you have to install your database if you're using SQL. Open your browser with your server ip/phpmyadmin. (i.e. 123.456.789.01/phpmyadmin). Once you're there, create a new database named 'ragnarok' ( or any name you want). Then, navigate to the database and point to privileges. Add a user 'ragnarok' (or anything you want as username) with password 'ragnarok' (or any password you want) that has all privileges to database 'ragnarok' (server database name). Import your main.sql, item_db.sql, item_db2.sql, mob_db.sql and mob_db2.sql, logs.sql. You can configure the user and password as you wish but make sure you edit the files in your conf/import folder. This includes changes in char_conf inter_conf login_conf map_conf Now if you want your server to be more secured open login.conf, char_conf, map_conf and add bind_ip: 123.456.789.01 (or your servers ip) This is how it will look like. login_conf bind_ip: 123.456.789.01 // MySQL Login SQL Server login_server_ip: 123.456.789.01 login_server_port: 3306 login_server_id: ragnarok login_server_pw: ragnarok login_server_db: ragnarok // Ipban features (SQL only) ipban.enable: yes ipban.sql.db_hostname: 123.456.789.01 ipban.sql.db_port: 3306 ipban.sql.db_username: ragnarok ipban.sql.db_password: ragnarok ipban.sql.db_database: ragnarok ipban.sql.ipban_table: ipbanlist // SQL account.sql.db_hostname: 123.456.789.01 account.sql.db_port: 3306 account.sql.db_username: ragnarok account.sql.db_password: ragnarok account.sql.db_database: ragnarok map_conf userid: S1 passwd: P1 char_ip: 123.456.789.01 bind_ip: 123.456.789.01 map_ip: 123.456.789.01 char_conf userid: S1 passwd: P1 login_ip: 123.456.789.01 bind_ip: 123.456.789.01 char_ip: 123.456.789.01 inter_conf // MySQL Character SQL server char_server_ip: 123.456.789.01 char_server_port: 3306 char_server_id: ragnarok char_server_pw: ragnarok char_server_db: ragnarok // MySQL Map SQL Server map_server_ip: 123.456.789.01 map_server_port: 3306 map_server_id: ragnarok map_server_pw: ragnarok map_server_db: ragnarok // MySQL Log SQL Database log_db_ip: 123.456.789.01 log_db_port: 3306 log_db_id: ragnarok log_db_pw: ragnarok log_db_db: ragnarok // for TXT -> SQL convertors db_server_ip: 123.456.789.01 db_server_port: 3306 db_server_id: ragnarok db_server_pw: ragnarok db_server_logindb: ragnarok Now you're ready to run your eathena! To start ./athena-start start To Stop ./athena-start stop Cheers* Edited November 16, 2011 by ragnazorg 1 Quote
Hatake Kakashi Posted December 20, 2011 Posted December 20, 2011 this is not working when i put this command in my linux. apt-get install php5 phpmyadmin mysql-server mysql-client apache2 gcc subversion libmysqlclient15-dev make zlib1g-dev libpcre3-dev Quote
Magnetix Posted December 20, 2011 Posted December 20, 2011 (edited) this is not working when i put this command in my linux. apt-get install php5 phpmyadmin mysql-server mysql-client apache2 gcc subversion libmysqlclient15-dev make zlib1g-dev libpcre3-dev It's not apt-get but rather 'yum' since you're on CentOS 5.5 yum install php5 phpmyadmin mysql-server mysql-client apache2 gcc subversion libmysqlclient15-dev make zlib1g-dev libpcre3-dev Edited December 20, 2011 by Magnetix Quote
Hatake Kakashi Posted December 20, 2011 Posted December 20, 2011 so what is the best OS for linux? thanks Quote
Alvins182 Posted December 20, 2011 Posted December 20, 2011 (edited) Note: Those commands can only apply on any linux Like Fedura,Centos or Ubuntu. Yum - Centos or Fedura Apt-get - Ubuntu or Debian Try tutorial http://www.eathena.w...howtopic=201876 so what is the best OS for linux? thanks Centos Or Fedura Edited December 20, 2011 by Alvins182 Quote
Hatake Kakashi Posted December 20, 2011 Posted December 20, 2011 damn, i can't connect thru bitvise tunnelier. but in putty connected. wew Quote
darking123 Posted December 21, 2011 Posted December 21, 2011 hatake...putty is the best for me...just use putty Quote
se7ven Posted December 22, 2011 Posted December 22, 2011 (edited) im error with this guide. when i type the sql i forgot to mention my linux version is centos 5.5 32bit thank you. [root@darkjizzro darkjizzro]# make clean make: *** No rule to make target `clean'. Stop. [root@darkjizzro darkjizzro]# ./configure --with-mysql -bash: ./configure: No such file or directory [root@darkjizzro darkjizzro]# make sql and when i type this, nothings happen it says password will prompt ryt? but when i type that nothings happen. adduser darkjizzro Edited December 22, 2011 by se7ven Quote
Angry Mjoo Posted December 22, 2011 Posted December 22, 2011 (edited) ][/font]and when i type this, nothings happen it says password will prompt ryt? but when i type that nothings happen. adduser darkjizzro Try with this command.. chmod +x configure Edited December 22, 2011 by Angry Mjoo Quote
se7ven Posted December 22, 2011 Posted December 22, 2011 chmod: cannot access `configure': No such file or directory Quote
JayPee Posted December 22, 2011 Posted December 22, 2011 check your directory you need to be inside the server files director use dir command to see the files Quote
JayPee Posted December 23, 2011 Posted December 23, 2011 use cd directoryname ex: cd myfolder. Some dos commands that you usually use in Windows are used in Linux like cd and dir and if your going to use Linux without GUI you must have a basic knowledge on those. Quote
Alisha Posted December 28, 2011 Posted December 28, 2011 It didnt work phpmyadmin also configure also it didnt work for me also my os is debian Quote
Lilith Posted December 28, 2011 Posted December 28, 2011 It didnt work phpmyadmin also configure also it didnt work for me also my os is debian Try to insert into the end of a file /etc/apache2/apache2.conf Include /etc/phpmyadmin/apache.conf then restart apache Quote
strikez14 Posted January 20, 2012 Posted January 20, 2012 (edited) @ragnarzorg I did do all your guide but when im doing this.. make clean ./configure --with-mysql make sql the message appears like this. make: *** No rule to make target `clean'. Stop. can you help me with this problem?? im using centos linux vps. i have an error also on my putty when logging-in again. i just quit my putty because i cannot continue anymore due to errors. but when i log in again i see this message fatal error server unexpectedly closed network connection. kindly help me please.. and follow-up question: about patching dbase in host server. i really need your help.. for those who have a kind heart who can teach me please add me in ym.... strike_zenith Edited January 29, 2012 by strikez14 Quote
IusReservoir Posted July 11, 2012 Posted July 11, 2012 @ragnarzorg I did do all your guide but when im doing this.. make clean ./configure --with-mysql make sql the message appears like this. make: *** No rule to make target `clean'. Stop. can you help me with this problem?? im using centos linux vps. i have an error also on my putty when logging-in again. i just quit my putty because i cannot continue anymore due to errors. but when i log in again i see this message fatal error server unexpectedly closed network connection. kindly help me please.. and follow-up question: about patching dbase in host server. i really need your help.. for those who have a kind heart who can teach me please add me in ym.... strike_zenith my Question is 1.Are u Compiling You server when its still Running?? @_@ 2.check the Owner of the root server is already connected with your ip or not, some VPS hosting Server didnt set up this for you so u must do it manually to change the owner of root. 3. Pathcing dbase?? dbase sql? Quote
Loki81 Posted July 29, 2012 Posted July 29, 2012 (edited) I have this problem me too. I am with AsuraHosting, it use centOS and i have phpmyadmin install. I have import my database, my server and change the lan ip and wan ip. server refused i have the good user and pass. I am eathena ws. The next time will change for windows... I dont know what to do Edited July 29, 2012 by fredou81 Quote
ragnazorg Posted August 21, 2012 Author Posted August 21, 2012 I have no idea how asura hosting sets up their machines or vps. Quote
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.