Be sure to read the requirements hints before beginning.
Setup a blank Debian server with appropriate partitions.
- Log into your server
- Install the following packages:
gitpythonpython3python3-pipmariadb-servermariadb-clientquotaquotatool - Install Ansible from PIP:
pip3 install ansible pymysql - Secure the MySQL installation with the command
mysql_secure_installation - Edit
/etc/fstabto add the following to the/datapartition options (after the defaultsdefaultskeyword):defaults,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 - Remount and enable quotas:
mount -o remount /data && quotaon -a - Create Ansible MySQL user:
- Login to MySQL prompt as root
- Run
CREATE USER ansible@localhost IDENTIFIED BY '...';make sure to replace...with a password. - Run
GRANT ALL PRIVILEGES ON *.* TO 'ansible'@'localhost' WITH GRANT OPTION;
- Clone the repository to
/opt, you should end up with a folder named/opt/autowebcontaining two folders :interfacesetrobot. - Copy
/opt/autoweb/robot/data-exempleto/opt/autoweb/robot/dataand edit the file according to your needs. The file is commented to help you change the values accordingly. - Finally, install the software by running the playbook:
ansible-playbook /opt/autoweb/robot/install.yml
The initial AutoWeb interface setup is not (yet) automated.
In order to create the initla tables and admin user, execute the two SQL files located in /opt/autoweb/interface/lib.
You can now log into your web interface with the login admin and the password admin.
If The installation looks stuck with Jailkit configuration, install it manually: https://olivier.sessink.nl/jailkit/