Commit 21fa0032 authored by jlopez's avatar jlopez
Browse files
parents 25c3b31a d3cbc301
# Installing wicopa
apt-get install -y apache2 mariadb-server php7.0 phpmyadmin libapache2-mod-php7.0
a2enmod php7.0
cd /var/www/html/wicopa
cp conf/Conf.php.sample conf/Conf.php
chown -R www-data /var/www/html/wicopa
chmod -R o-r /var/www/html/wicopa
service apache2 restart
# Creating username and database
echo "CREATE DATABASE wicopa;" | mysql -u username -p
echo 'GRANT ALL PRIVILEGES ON wicopa.* TO "wicopauser"@"localhost";' |mysql -u root -p
mysql -u wicopauser -p wicopa < wicopa.sql
vim conf/Conf.php
class Conf {
public static $DB_NAME = '';
public static $DB_HOSTNAME = '';
public static $DB_USERNAME = '';
public static $DB_PP = '';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment