Manaul installation

From AutoVM WIKI
Revision as of 10:09, 24 March 2020 by Wiki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Necessary packages

We recommend to install Ubuntu server version 18.04 with apache/nginx webserver and Change your webserver root directory to the /web.

sudo apt install python-pip libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev git
sudo apt install php7.2-fpm php7.2-cli php7.2-mysql php7.2-mbstring php7.2-gd mysql-server php7.2-curl php7.2-zip php7.2-xml
pip install paramiko spur pycryptodome pysphere crypto netaddr

Set password on the database:

mysql -u root
create user 'autovm'@'localhost' identified with mysql_native_password by 'password';
* Enter your own password on 'password'
grant all privileges on *.* to 'autovm'@'localhost';
flush privileges;
create database autovm default character set utf8;

Download platform

git clone https://github.com/autovmnet/autovm
chmod 777 -R autovm
cd autovm && php7.2 composer.phar install

Open your browser and go to the installation URL

http://yourwebsite/autovm/install

After installation, Remove the install on the web directory then enter:

php yii migrate
  • Atention: Do not remove WEB directory.

Open the /web/index.php and comment two first line to disable the log.

After installation

Give permission to root directory again:

chmod 777 autovm

If you get any problem in the installation process, please see the installation errors page.


Next step: Server configuration