Jump to content
  • 0

Preparing vps for rathena


guhx

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  04/03/14
  • Last Seen:  

Hello, I followed the rathena wiki to install the emulator on CentOS 6, but it did not work.

Could someone explain to me how I can prepare VPS to install rAthena? I would also like to configure it to access via FTP and also access the database through phpmyadmin

 

 

Edited by guhx
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

@guhx what exactly did not work on the wiki? Installation guide provided works 100% even without phpmyadmin. You need to install lamp if you want to have a phpmyadmin ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  04/03/14
  • Last Seen:  

Can anyone help me with compiling?
[rathena4444@woero emulador]$ ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for ar... /opt/rh/devtoolset-7/root/usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc produces 32bit code... no
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc supports -ffat-lto-objects... yes
checking whether gcc supports -flto -fuse-linker-plugin... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled
checking whether gcc supports -Wempty-body... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether compiler is clang... no
checking whether gcc supports -Wno-maybe-uninitialized... yes
checking whether gcc supports -Wno-clobbered... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc can efficiently use -Wshadow... yes
checking whether gcc supports -fPIC... yes
checking how to make shared objects... not supported
configure: compiler is unable to generate shared objects, disabled plugins (optional)
checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for xlocale.h... yes
checking for library containing inflateEnd... -lz
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... -lrt
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for library containing pthread_create... -lpthread
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking MySQL library (required)... no
configure: error: MySQL not found or incompatible

[rathena4444@woero emulador]$ make clean
make[1]: Entering directory `/home/rathena4444/emulador/src/common'
        CLEAN   common
make[1]: Leaving directory `/home/rathena4444/emulador/src/common'
make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/mt19937ar'
        CLEAN   mt19937ar
make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/mt19937ar'
make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/libconfig'
        CLEAN   libconfig
make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/libconfig'
make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/yaml-cpp'
        CLEAN   yaml-cpp
make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/yaml-cpp'
make[1]: Entering directory `/home/rathena4444/emulador/src/login'
        CLEAN   login
make[1]: Leaving directory `/home/rathena4444/emulador/src/login'
make[1]: Entering directory `/home/rathena4444/emulador/src/char'
        CLEAN   char
make[1]: Leaving directory `/home/rathena4444/emulador/src/char'
make[1]: Entering directory `/home/rathena4444/emulador/src/map'
        CLEAN   map
make[1]: Leaving directory `/home/rathena4444/emulador/src/map'
make[1]: Entering directory `/home/rathena4444/emulador/src/tool'
        CLEAN   tool
make[1]: Leaving directory `/home/rathena4444/emulador/src/tool'


[rathena4444@woero emulador]$ make server
make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/mt19937ar'
        CC      mt19937ar.c
cc1: error: CPU you selected does not support x86-64 instruction set
make[1]: *** [mt19937ar.o] Error 1
make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/mt19937ar'
make: *** [mt19937ar] Error 2

 

@Edit
My VPS is not installing mariadb, mariadb-devel and mariadb-server
 

[root@woero ~]# sudo yum install mariadb mariadb-devel mariadb-server git
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ewr.edge.kernel.org
 * extras: ewr.edge.kernel.org
 * updates: ewr.edge.kernel.org
No package mariadb available.
No package mariadb-devel available.
No package mariadb-server available.
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-9.el6_9 will be installed
--> Processing Dependency: perl-Git = 1.7.1-9.el6_9 for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-9.el6_9.x86_64
--> Running transaction check
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-9.el6_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch           Version                   Repository    Size
================================================================================
Installing:
 git                x86_64         1.7.1-9.el6_9             base         4.6 M
Installing for dependencies:
 perl-Error         noarch         1:0.17015-4.el6           base          29 k
 perl-Git           noarch         1.7.1-9.el6_9             base          29 k

Transaction Summary
================================================================================
Install       3 Package(s)

Total download size: 4.7 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): git-1.7.1-9.el6_9.x86_64.rpm                      | 4.6 MB     00:00
(2/3): perl-Error-0.17015-4.el6.noarch.rpm               |  29 kB     00:00
(3/3): perl-Git-1.7.1-9.el6_9.noarch.rpm                 |  29 kB     00:00
--------------------------------------------------------------------------------
Total                                            31 MB/s | 4.7 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:perl-Error-0.17015-4.el6.noarch                            1/3
  Installing : git-1.7.1-9.el6_9.x86_64                                     2/3
  Installing : perl-Git-1.7.1-9.el6_9.noarch                                3/3
  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                            1/3
  Verifying  : git-1.7.1-9.el6_9.x86_64                                     2/3
  Verifying  : perl-Git-1.7.1-9.el6_9.noarch                                3/3

Installed:
  git.x86_64 0:1.7.1-9.el6_9

Dependency Installed:
  perl-Error.noarch 1:0.17015-4.el6       perl-Git.noarch 0:1.7.1-9.el6_9

Complete!

 

Edited by guhx
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...