Then, run the downloaded script with the following command:
sudo bash nodesource_setup.sh
The above script will add nodejs PPA and update local package cache.
Next, install nodejs with the following command:
sudo apt-get install nodejs
Once nodejs is installed, you can proceed to the next step.
Configure MariaDB for Koel
By default MariaDB installation is not secured, so you will need to secure it first.
You can secure it by running the mysql_secure_installation script.
Answer all the questions as shown below:
Enter current password for root (enter for none):
Change the root password? [Y/n] n
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
Next, login to MariaDB console and create a database for the Koel:
mysql -u root -p
Enter your MariaDB root password and hit enter. Once you are logged in to your database, you need to create a database for Koel:
Run the following command to create a database for your Koel installation:
MariaDB [(none)]> CREATE DATABASE koeldb;
Next, create a new database user and provide the appropriate privileges to your database user over the database you have created.
MariaDB [(none)]> GRANT ALL PRIVILEGES ON user.* TO 'koeldb'@'localhost' IDENTIFIED BY 'password';
Next, run the following command to immediately apply the changes on the database privileges:
MariaDB [(none)]> FLUSH PRIVILEGES;
Next, exit from the Mysql with the following command:
MariaDB [(none)]> \q
Once database is configured, you can proceed to the next step.
You can download the latest version of the Koel source from GitHub.
You can clone Koel from GitHub repository with the following command:
cd /var/www/htmlsudo git clone https://github.com/phanan/koel.git ~/myKoel.com/public_html
Next, you will need to install all npm packages:
sudo npm install
After installing npm packages, install all PHP dependencies using composer:
sudo composer install
Next, you will need to edit the .env file:
sudo nano /var/www/html/.env
Change the database and admin details as shown belows:
Do you need to increase the memory limit in WordPress? Getting an error about memory Exhausted? The memory limit is one of the most common WordPress errors as the default limit of memory in WordPress is only set to 64mb! But there’s good news! The Memory Exhausted error is one...
A vulnerability has been discovered in the “All In One WordPress Migration” WordPress plugin. All versions earlier than, and including 6.97 contain a vulnerability which allows Cross-Site Scripting (XSS).With over 2 million active installations, this vulnerability has the potential to be high impact, however, this is lessened by the nature...
HostPresto will be launching a European point of presence in the coming weeks, specifically in Amsterdam. For customers needing their data located within the EU still please contact support to request migration to this location with ticket subject ‘EU Migration’. We will ensure this is actioned well before the Brexit...