Skip to content

Commit 89c4ac2

Browse files
committed
Create install.txt
1 parent 03edca5 commit 89c4ac2

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

install.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
mkdir /home/install
2+
cd /home/install
3+
wget http://be2.php.net/get/php-5.5.15.tar.bz2/from/this/mirror -O php-5.5.15.tar.bz2
4+
tar -xjvf php-5.5.15.tar.bz2
5+
cd php-5.5.15
6+
./configure --prefix /usr/local --with-mysql --enable-maintainer-zts --enable-sockets
7+
make
8+
make install
9+
cd /home/install
10+
wget http://pecl.php.net/get/pthreads-2.0.7.tgz
11+
tar -xvzf pthreads-2.0.7.tgz
12+
cd pthreads-2.0.7
13+
/usr/local/bin/phpize
14+
./configure
15+
make
16+
make install
17+
echo 'date.timezone = Europe/Paris' >> /usr/local/lib/php.ini
18+
echo 'extension=pthreads.so' >> /usr/local/lib/php.ini
19+
20+
mkdir /home/ebot
21+
cd /home/ebot
22+
wget https://github.com/deStrO/eBot-CSGO/archive/threads.zip
23+
unzip threads.zip
24+
mv eBot-CSGO-threads ebot-csgo
25+
cd ebot-csgo
26+
npm install socket.io@0.9.12 archiver formidable
27+
curl -sS https://getcomposer.org/installer | php5
28+
php5 composer.phar install
29+
# edit config config/config.ini with IP/PORT and MySQL access
30+
cd /home/ebot
31+
wget https://github.com/deStrO/eBot-CSGO-Web/archive/master.zip
32+
unzip master.zip
33+
mv eBot-CSGO-Web-master ebot-web
34+
cd ebot-web
35+
cp config/app_user.yml.default config/app_user.yml
36+
# edit config config/app_user.yml with ebot_ip and ebot_port
37+
# edit database config/database.yml
38+
php5 symfony cc
39+
php5 symfony doctrine:build --all --no-confirmation
40+
php5 symfony guard:create-user --is-super-admin admin@ebot admin admin
41+
42+
#To start ebot daemon
43+
/home/ebot/ebot-csgo
44+
php bootstrap.php

0 commit comments

Comments
 (0)