Prologue
Okay, there are many instructions on how to install eBotv3(Every single page has it's own kind), but none of them has worked for me.
I'm running Ubuntu server 16.04Lts and the goal is to get eBot the up and running on it.
I've obviously tried this many times myself without succeeding and that's is why I need your help.
Here are the steps so far. I need help to get these prerequisites working before trying to install the bot.
PHP 7: Working
Apache2: Working
Phpmyadmin: Working
Database: Working
eBot-WEB: Admin.php works but index.php loads but every link leads to 404
eBot-CSGO: Not untill pthreads 3 works with the bot
Getting started
I know that many people will disagree with me for using root account instead of sudoing everything, but feel free to type that sudo if you so wish.
sudo passwd root
su
Next thing would be to update and upgrade our system before starting. If you have fresh install, reboot is recommended
If you have php already installed run
apt autoremove php php-dev php-cli
apt update && apt upgrade
apt install apache2 apache2-dev gcc make libxml2-dev autoconf ca-certificates unzip nodejs-legacy npm curl libcurl4-openssl-dev pkg-config libssl-dev mysql-server
#optional
shutdown -r now
It will ask for root password during installation leave it blank or not just remember it!

Setting up the php
mkdir /home/install
cd /home/install
wget http://be2.php.net/distributions/php-7.0.7.tar.bz2
tar -xjvf php-7.0.7.tar.bz2
cd php-7.0.7
./buildconf --force
./configure --prefix /usr/local --enable-maintainer-zts --enable-sockets --with-openssl --with-pdo-mysql --enable-mbstring --enable-zip --with-curl --with-gettext --with-mysqli --with-apxs2
make
make install
pecl install pthreads
mv php.ini-production php-cli.ini
mv php-cli.ini /usr/local/lib/
echo 'extension=pthreads.so' >> /usr/local/lib/php-cli.ini
nano /etc/apache2/apache2.conf
#Enter the following 3 lines then save and exit
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
service apache2 restart
Database
mysql -u root -p
create database ebotv3;
create user 'ebotv3'@'localhost' IDENTIFIED by 'ebotv3';
grant all privileges on *.* to 'ebotv3'@'localhost' with grant option;
exit
Phpmyadmin
add-apt-repository ppa:nijel/phpmyadmin
apt update
apt install phpmyadmin php-gettext
Select apache2

nano /etc/phpmyadmin/config.inc.php
#Find the line that says "/* Server parameters */" and uncomment the line saying:
#//$cfg['Servers'][$i]['host'] =;
#Then change the "localhost" to 127.0.0.1
echo 'Include /etc/phpmyadmin/apache.conf' >> /etc/apache2/apache2.conf
service apache2 restart
Now you can login into phpmyadmin panel when selecting 127.0.0.1 as your server

eBot-CSGO
cd /home/ebot
wget https://github.com/deStrO/eBot-CSGO/archive/threads.zip
unzip threads.zip
mv eBot-CSGO-threads ebot-csgo
cd ebot-csgo
npm install socket.io archiver formidable
curl -sS https://getcomposer.org/installer | php
php composer.phar install
nano config/config.ini
#Configure sql access and bot's ip
eBot-WEB
cd /home/ebot
wget wget https://github.com/deStrO/eBot-CSGO-Web/archive/master.zip
unzip master.zip
mv eBot-CSGO-Web-master ebot-web
chmod 777 ebot-web
cd ebot-web
chmod 777 cache
cp config/app_user.yml.default config/app_user.yml
nano config/app_user.yml
#Edit bot's ip
nano config/databases.yml
#Change the database ip(If its running locally change it to 127.0.0.1), database name, mysql user and password
mkdir cache
php symfony cc
php symfony doctrine:build --all --no-confirmation
php symfony guard:create-user --is-super-admin admin@ebot admin admin
rm -r web/installation/
Final apache config
nano /etc/apache2/sites-available/ebotv3.conf
#Put the following lines inside, save and exit
Alias /ebot-csgo/ /home/ebot/ebot-web/web/
<Directory "/home/ebot/ebot-web/web">
AllowOverride All
Require all granted
Allow from All
</Directory>
a2ensite ebotv3
service apache2 reload
Access admin.php through your-ip/ebot-csgo/admin.php
User: admin password admin
your-ip/ebot-csgo/ goes to index.php but it doesn't work