Jump to content
×
×
  • Create New...
  • 0

Comandos pra copilar ha soucer em Linux


Question

3 answers to this question

Recommended Posts

  • 0

INSTALAR APACHE, MYSQL E PHPMYADMIN

 

apt-get update
apt-get upgrade
apt-get install apache2
cd /var/www
apt-get install php5
/etc/init.d/apache2 restart

 

apt-get install mysql-server
apt-get install libapache2-mod-auth-mysql
apt-get install php5-mysql

 

Aqui vai pedir a senha para por no phpmyadmin exemplo user:root senha:123456
apt-get install phpmyadmin
ubuntu
echo "include /etc/phpmyadmin/apache.conf" | sudo tee -a /etc/apache2/apache2.conf
debian
ln -fvs /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
/etc/init.d/apache2 restart

/etc/apt > sources.list

Ubuntu:

deb http://ubuntu.mirror.cambrium.nl/ubuntu/ lucid main

Debian:

deb http://ftp.de.debian.org/debian squeeze main

Comando de Ambos debian e ubuntu

apt-get update
apt-get upgrade
apt-get install libboost-all-dev
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev
apt-get install libcurl4-openssl-dev
cd /otserv
chmod 777 -R src
cd /otserv/src
sh ./autogen.sh && ./configure --enable-server-diag --enable-mysql --enable-root-permission && make clean && make -j 2

Se não compilar e na luascript e scriptmanager estiver certo

 

executa esse comando: sed -i 's/  -lxml2$/ -lxml2 -lpthread/' Makefile

e depois : make

Edited by JulianoZN
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now