Advertisement
Guest User

Untitled

a guest
Mar 31st, 2017
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. sudo vi /etc/ssh/sshd_config
  2.  
  3. port 41144
  4. PermitRootLogin yes
  5.  
  6. sudo passwd root
  7.  
  8. sudo service ssh restart
  9.  
  10. find Local IP > Ifconfig
  11.  
  12. ufw disable
  13.  
  14.  
  15. CSGO SERVER -------------
  16.  
  17. sudo dpkg --add-architecture i386; sudo apt-get update;sudo apt-get install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux tmux lib32gcc1 libstdc++6 libstdc++6:i386
  18.  
  19. adduser csgoserver
  20. passwd csgoserver
  21. su - csgoserver
  22.  
  23. wget https://gameservermanagers.com/dl/csgoserver
  24.  
  25. chmod +x csgoserver
  26.  
  27. ./csgoserver install
  28.  
  29. ./csgoserver start
  30.  
  31. ---------------------------------------------
  32.  
  33. INSTALL EBOT ---------------------
  34. apt-get install apache2 gcc make libxml2-dev autoconf ca-certificates unzip nodejs curl libcurl4-openssl-dev pkg-config libssl-dev screen
  35.  
  36.  
  37. mkdir /home/install
  38. cd /home/install
  39. wget http://be2.php.net/get/php-5.5.15.tar.bz2/from/this/mirror -O php-5.5.15.tar.bz2
  40. tar -xjvf php-5.5.15.tar.bz2
  41. cd php-5.5.15
  42. ./configure --prefix /usr/local --with-mysql --enable-maintainer-zts --enable-sockets --with-openssl --with-pdo-mysql
  43. make
  44. make install
  45. cd /home/install
  46. wget http://pecl.php.net/get/pthreads-2.0.7.tgz
  47. tar -xvzf pthreads-2.0.7.tgz
  48. cd pthreads-2.0.7
  49. /usr/local/bin/phpize
  50. ./configure
  51. make
  52. make install
  53. echo 'date.timezone = Europe/Paris' >> /usr/local/lib/php.ini
  54. echo 'extension=pthreads.so' >> /usr/local/lib/php.ini
  55.  
  56. mkdir /home/ebot
  57. cd /home/ebot
  58. wget https://github.com/deStrO/eBot-CSGO/archive/master.zip
  59. unzip master.zip
  60. mv eBot-CSGO-master ebot-csgo
  61. cd ebot-csgo
  62. curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
  63. apt-get install -y nodejs
  64.  
  65. (If using Ubuntu 16 as me, you probably need to write apt-get install nodejs-legacy and apt-get install npm. You would most likely get an error for the nodejs package.)
  66.  
  67. npm install socket.io@0.9.12 archiver formidable
  68. curl -sS https://getcomposer.org/installer | php
  69. php composer.phar install
  70. cp config/config.ini.smp config/config.ini
  71.  
  72. WEB EBOT ---------------
  73.  
  74. cd /home/ebot
  75. rm -R master*
  76. wget https://github.com/deStrO/eBot-CSGO-Web/archive/master.zip
  77. unzip master.zip
  78. mv eBot-CSGO-Web-master ebot-web
  79. cd ebot-web
  80. cp config/app_user.yml.default config/app_user.yml
  81.  
  82. vi config/app_user.yml
  83.  
  84. ebot_ip: <YOUR_SERVER_IP>
  85. (If you used net, don’t put localhost or 127.0.0.1 here. It will not work. You need to put your server IP)
  86. ebot_port: 12360
  87. mode: net (for Internet, or LAN for local)
  88.  
  89. vi config/databases.yml
  90.  
  91. host: 127.0.0.1
  92. username: ebotv3
  93. password: <MYSQL_PASSWORD>
  94.  
  95.  
  96. mkdir /home/ebot/ebot-web/cache
  97.  
  98. chown -R www-data *
  99. chmod -R 0777 /home/ebot/ebot-web/cache
  100.  
  101. php symfony cc
  102. php symfony doctrine:build --all --no-confirmation
  103. php symfony guard:create-user --is-super-admin admin@ebot admin admin
  104.  
  105.  
  106. vi /etc/apache2/sites-available/ebotv3.conf
  107.  
  108. (Alias / /home/ebot/ebot-web/web/
  109.  
  110. <Directory /home/ebot/ebot-web/web/>
  111. AllowOverride All
  112. <IfVersion < 2.4>
  113. Order allow,deny
  114. allow from all
  115. </IfVersion>
  116.  
  117. <IfVersion >= 2.4>
  118. Require all granted
  119. </IfVersion>
  120. </Directory>)
  121.  
  122. a2enmod rewrite
  123. a2ensite ebotv3.conf
  124. service apache2 reload
  125.  
  126. http://192..../admin.php
  127. user: admin
  128. pw: admin
  129.  
  130.  
  131.  
  132. cd /home/install
  133. wget https://raw.githubusercontent.com/vince52/eBot-initscript/master/ebotv3; mv ebotv3 /etc/init.d/ebot && chmod +x /etc/init.d/ebot
  134. /etc/init.d/ebot start
  135.  
  136.  
  137.  
  138. php /home/ebot/ebot-csgo/bootstrap.php
  139.  
  140.  
  141. http://www.esport-tools.net/download/CSay-CSGO.zip (PUT ON GAME SERVER)
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159. http://robertan.com/home/2016/09/03/setting-up-csgo-dedicated-server-with-ebot/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement