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:
You can create an email email filters through your cPanel control panel which is where you manage your hosting account. Email filters can be set up to target specific word, subject, from or to. Emails that are filtered out can be sent to a different email, deleted, delivered to a...
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...