This tutorial will guide you through the process of installing PrestaShop on Void Linux.
Before you start, you need the following:
# xbps-install -S apache php php-fpm
# ln -s /etc/sv/php-fpm /var/service/
# rc-update add php-fpm default
# xbps-install -S nginx php php-fpm
# ln -s /etc/sv/php-fpm /var/service/
# rc-update add php-fpm default
# xbps-install -S mariadb
# mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# chown mysql:mysql /var/lib/mysql
# ln -s /etc/sv/mariadb /var/service/
# rc-update add mariadb default
# mysql_secure_installation
# mysql -u root -p
mysql> CREATE DATABASE prestashop;
mysql> GRANT ALL PRIVILEGES ON prestashop.* TO 'prestashopuser'@'localhost' IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
Field | Value |
---|---|
Database server | localhost |
Database name | prestashop |
Database login | prestashopuser |
Database password | password |
Congratulations, you have successfully installed PrestaShop on Void Linux!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!