antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Mt2SkyWar

Ajuda Na Instalação De Uma Vps

Question

Boas família vou abrir um servidor 100% pvp todo em português de qual já esta pronto mas ainda vou fazer um apresentação de qual se chamara Mt2TotalWar já esta 100% dedicado mas mais informações será dada na apresentação mas a minha duvida em questão e o seguinte tenho o servidor na ovh mas também tenho uma VPS 2014 Classic na também na ovh eu queria instalar la no site na vps só que não sei qual e o melhor sistema operativo que vou instalar será que alguém me pode ajudar na instalação já tenho o domínio http://www.mt2totalwar.pt/ agradecia se me pude sem ajudar

Deixo ficar o Skype do servidor: mt2totalwar

Share this post


Link to post
Share on other sites

9 answers to this question

  • 0

sistema operativo freebsd...

Share this post


Link to post
Share on other sites
antiblock
diamwall
  • 0

boas alguem me pode ajudar obg

Share this post


Link to post
Share on other sites
  • 0

boas nao ha niguem que me ajude a instalar o WampServer numa vps para por o site a rolar

Share this post


Link to post
Share on other sites
  • 0

tenho que instalar o linux ou cento para instalar o WampServer para por um site a funcionar so que deves de ser poe exemplo o meu pc ser numa vpsAlguem sabe sabe entao alguem que saiba comfigurar uma vps

Share this post


Link to post
Share on other sites
  • 0

Tu queres isto?

7. Setting up web server for website and/or patcherInstall nginx: 

cd /usr/ports/www/nginxmake install clean

Make sure these are selected with space bar: 

[X] HTTP_MODULE Enable HTTP module[X] HTTP_ADDITION_MODULE Enable http_addition module[X] HTTP_CACHE_MODULE Enable http_cache module[X] HTTP_GEOIP_MODULE Enable http_geoip module[X] HTTP_GZIP_STATIC_MODULE Enable http_gzip_static module[X] HTTP_IMAGE_FILTER_MODULE Enable http_image_filter module[x] HTTP_PERL_MODULE Enable http_perl module[X] HTTP_REALIP_MODULE Enable http_realip module[X] HTTP_REWRITE_MODULE Enable http_rewrite module[X] HTTP_STATUS_MODULE Enable http_stub_status module

Press "Enter" when ready to continue.Install libtool 

cd /usr/ports/devel/libtoolmake install clean

Install php5 

cd /usr/ports/lang/php5make config

Make sure the following is selected with space bar then press "Enter": 

[X] FPM Build FPM version (experimental)Leave everything else default.

then do this: 

make install clean

~~~~If you need cURL support then do this, if not then skip this step: 

cd /usr/ports/lang/php5-extensionsmake config

Make sure that the "CURL Support" is selected then press "Enter".Then do the installation and clean the directory: 

make -DBATCH install clean

~~~~Time to configure your php.ini file... 

cd /usr/local/etc/php.ini-production /usr/local/etc/php.ini

Edit /usr/local/etc/php.ini in WinSCP using Notepad++. Firstly, set your "date.timezone" to the appropriate one. Choose from this list: http://php.net/manual/en/timezones.phpNext, if you have something that needs to run large MYSQL queries you may run into some issues. Some website packages also can cause these problems. The issue is with memory usage. For security reasons there are limitations set on how much memory php is allowed to use. I suggest only modifying this IF you have problems loading memory-intensive pages. Just try to raise it a bit until it works, don't raise it to an excessively high number. I had to set mine to "512M" to make my queries work in my patcher. It can be set by just inputting numbers and they will be recognized as bytes, or you could use K, M, or G. 

memory_limit = 512M

Installation of php-mysql5: 

cd /usr/ports/databases/php5-mysqlmake -DBATCH install clean

If you've gotten this far, congratulations.. you're almost done!You need to create a folder for your website like this: 

mkdir /usr/local/www/nginx/domain.com

Set the owner and permissions: 

chown www:www /usr/local/www/nginx/domain.comchmod 755 /usr/local/www/nginx/domain.com

Customize this file to your needs and upload it to /usr/local/etc/nginx:

user  www;worker_processes  2;    events {    worker_connections  1024;    multi_accept on;}  worker_rlimit_nofile    20000;  http {    include       mime.types;    default_type  application/octet-stream;     #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '   #                  '$status $body_bytes_sent "$http_referer" '   #                  '"$http_user_agent" "$http_x_forwarded_for"';     #access_log  logs/access.log  main;    sendfile    on;    keepalive_timeout  10;    client_max_body_size 64M;    server_tokens off;    client_body_buffer_size 128k;    keepalive_requests 10000;    reset_timedout_connection on;    send_timeout 5;    open_file_cache max=20000 inactive=20s;    open_file_cache_valid 30s;    open_file_cache_min_uses 2;    open_file_cache_errors on;    directio  50m;          server {                listen 80;                server_name www.patch.mysite.com;                rewrite ^(.*)$ $scheme://patch.mysite.com$1;        }          server {                types {                        application/octet-stream lz;                        text/plain xml;                        text/css css;                }                  listen       80;                server_name  patch.mysite.com;                root /usr/local/www/nginx/patch.mysite.com;                rewrite  ^/$  /index.php  permanent;                index  index.php;                              location ~*  .(jpg|jpeg|png|gif|ico|css|js)$ {                        expires 7d;                }                      location ~ .php$ {         try_files $uri =404;         fastcgi_split_path_info ^(.+.php)(/.+)$;         fastcgi_index index.php;         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;         fastcgi_pass 127.0.0.1:9000;         include fastcgi_params;      }                  location ~ /. {                        deny all;                }          }}

If you're using cloudflare, uncomment the lines 38-57 by removing the "#". The reason for this is to ensure you get the real user IP in your logs rather than cloudflare's IP.If you want to allow directory listing.. ie: http://domain.com/fi...main.com/files to present a visitor with a list of files they can access/download then uncomment lines 63 and 73.You MUST change the domain name to your own!Now you need to enable startup of php-fpm and nginx whenever your server is booted: 

php_fpm_enable="YES"nginx_enable="YES"[/spoiler]Start your services: [code=auto:0]service php-fpm startservice nginx start

Upload your website files to /usr/local/www/nginx/domain.com

 

fonte: http://metin2dev.org/board/topic/72-freebsd-9-64-bit-metin2-install/

Share this post


Link to post
Share on other sites
  • 0

Tyler Durden vou ver se consigo instalar obg

mas isto e para o freebsd ou para o linux eu preciso para instalar num linux

entao nao a ai uma ajudinha a por a rolar o meu site a funcionar por uma vps agradecia pela ajuda

mando um print sreen dos sistemas operativos que tem a minha vps http://prntscr.com/65ez4c qual o sistema que me conselho qual o melhor sistema

@Annie: Postagens unidas

Share this post


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
Sign in to follow this