Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo vi /etc/ssh/sshd_config
- port 41144
- PermitRootLogin yes
- sudo passwd root
- sudo service ssh restart
- find Local IP > Ifconfig
- ufw disable
- CSGO SERVER -------------
- 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
- adduser csgoserver
- passwd csgoserver
- su - csgoserver
- wget https://gameservermanagers.com/dl/csgoserver
- chmod +x csgoserver
- ./csgoserver install
- ./csgoserver start
- ---------------------------------------------
- INSTALL EBOT ---------------------
- apt-get install apache2 gcc make libxml2-dev autoconf ca-certificates unzip nodejs curl libcurl4-openssl-dev pkg-config libssl-dev screen
- mkdir /home/install
- cd /home/install
- wget http://be2.php.net/get/php-5.5.15.tar.bz2/from/this/mirror -O php-5.5.15.tar.bz2
- tar -xjvf php-5.5.15.tar.bz2
- cd php-5.5.15
- ./configure --prefix /usr/local --with-mysql --enable-maintainer-zts --enable-sockets --with-openssl --with-pdo-mysql
- make
- make install
- cd /home/install
- wget http://pecl.php.net/get/pthreads-2.0.7.tgz
- tar -xvzf pthreads-2.0.7.tgz
- cd pthreads-2.0.7
- /usr/local/bin/phpize
- ./configure
- make
- make install
- echo 'date.timezone = Europe/Paris' >> /usr/local/lib/php.ini
- echo 'extension=pthreads.so' >> /usr/local/lib/php.ini
- mkdir /home/ebot
- cd /home/ebot
- wget https://github.com/deStrO/eBot-CSGO/archive/master.zip
- unzip master.zip
- mv eBot-CSGO-master ebot-csgo
- cd ebot-csgo
- curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
- apt-get install -y nodejs
- (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.)
- npm install socket.io@0.9.12 archiver formidable
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
- cp config/config.ini.smp config/config.ini
- WEB EBOT ---------------
- cd /home/ebot
- rm -R master*
- wget https://github.com/deStrO/eBot-CSGO-Web/archive/master.zip
- unzip master.zip
- mv eBot-CSGO-Web-master ebot-web
- cd ebot-web
- cp config/app_user.yml.default config/app_user.yml
- vi config/app_user.yml
- ebot_ip: <YOUR_SERVER_IP>
- (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)
- ebot_port: 12360
- mode: net (for Internet, or LAN for local)
- vi config/databases.yml
- host: 127.0.0.1
- username: ebotv3
- password: <MYSQL_PASSWORD>
- mkdir /home/ebot/ebot-web/cache
- chown -R www-data *
- chmod -R 0777 /home/ebot/ebot-web/cache
- php symfony cc
- php symfony doctrine:build --all --no-confirmation
- php symfony guard:create-user --is-super-admin admin@ebot admin admin
- vi /etc/apache2/sites-available/ebotv3.conf
- (Alias / /home/ebot/ebot-web/web/
- <Directory /home/ebot/ebot-web/web/>
- AllowOverride All
- <IfVersion < 2.4>
- Order allow,deny
- allow from all
- </IfVersion>
- <IfVersion >= 2.4>
- Require all granted
- </IfVersion>
- </Directory>)
- a2enmod rewrite
- a2ensite ebotv3.conf
- service apache2 reload
- http://192..../admin.php
- user: admin
- pw: admin
- cd /home/install
- wget https://raw.githubusercontent.com/vince52/eBot-initscript/master/ebotv3; mv ebotv3 /etc/init.d/ebot && chmod +x /etc/init.d/ebot
- /etc/init.d/ebot start
- php /home/ebot/ebot-csgo/bootstrap.php
- http://www.esport-tools.net/download/CSay-CSGO.zip (PUT ON GAME SERVER)
- http://robertan.com/home/2016/09/03/setting-up-csgo-dedicated-server-with-ebot/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement