How To Install Laravel on Ubuntu 18.04 LTS

Install Laravel on Ubuntu 18

Laravel is a free, open-source PHP web application framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern. It is a pretty new framework, but with a big potential to become one of the most popular PHP frameworks.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Laravel on Ubuntu 18.04 Bionic Beaver server.

Install Laravel on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 18.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

apt-get install php7.1-cli php7.1-gd php7.1-opcache php7.1-mysql php7.1-json php7.1-mcrypt php7.1-xml php7.1-curl

Step 3. Install Composer.

Install Composer which is the tool for dependency management in PHP:

curl -sS https://getcomposer.org/installer | sudo php

In this tutorial we will put the composer in our /usr/local/bin/ directory. We will also rename the composer name from composer.phar to composer. To do that type the following command:

mv composer.phar /usr/local/bin/composer

Give execute permission to the composer:

chmod +x /usr/local/bin/composer

Step 4. Installing Laravel on Ubuntu 18.04 LTS.

Download latest version of Laravel, Use below command to clone master repo of laravel from github, At the moment of writing this article it is version 5:

cd /var/www
git clone https://github.com/laravel/laravel.git

After than move to the laravel code directory and use composer to install all dependencies required for Laravel framework:

cd /var/www/laravel
composer install

This will take a while according to the network speed. After than set proper permissions on files:

chown -R www-data.www-data /var/www/laravel
chmod -R 755 /var/www/laravel
chmod -R 777 /var/www/laravel/app/storage

Now set the 32 bit long random number encrypption key, which used by the Illuminate encrypter service:

### php artisan key:generate

Application key [Lf54qKbi3mwe463qR4NtYywgf9JdRGramona9qI] set successfully

Now edit config/app.php configuration file and update above generated application key as followings. Also make sure cipher is set properly:

y' => env('APP_KEY', 'Lf54qKbi3mwe463qR4NtYywgf9JdRGramona9qI'),

'cipher' => 'AES-256-CBC',

Step 5. Configuring Apache web server for Laravel.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘laravel.conf’ on your virtual server:

sudo a2enmod rewrite
sudo a2ensite laravel.conf
touch /etc/apache2/sites-available/laravel.conf
ln -s /etc/apache2/sites-available/laravel.conf /etc/apache2/sites-enabled/laravel.conf
nano /etc/apache2/sites-available/laravel.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/laravel/public
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/laravel/public/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

Now, we can restart Apache web server so that the changes take place:

systemctl restart apache2.service

Step 6. Accessing Laravel.

Laravel will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Laravel. Thanks for using this tutorial for installing Laravel in Ubuntu 18.04 LTS (Bionic Beaver) systems. For additional help or useful information, we recommend you to check the official Laravel web site.

How To Install GIMP Image Editor on Ubuntu 18.04 LTS

Install GIMP Image Editor on Ubuntu 18

GIMP is a free and open-source image editor used for retouching and editing images. From retouching to restoring to creative composites, the only limit is your imagination. GIMP is used for producing icons, graphical design elements, and art for user interface components and mockups. GIMP provides top-notch color management features to ensure high-fidelity color reproduction across digital and printed media.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation GIMP image editor on a Ubuntu 16.04 (Bionic Beaver) server.

Install GIMP Image Editor on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing GIMP on Ubuntu 18.04 LTS.

First, add an external apt repository in your system to install Gimp on Ubuntu system.

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp

Once installed, open GIMP image editor from Ubuntu Dash or Terminal. Run “gimp” command in Terminal. (without quotes):

gimp

If you no longer need of Gimp and want to remove from your system, Use the following command to remove all Gimp application and associated data from your system.

apt-get autoremove gimp gimp-plugin-registry

Congratulation’s! You have successfully installed GIMP. Thanks for using this tutorial for installing GIMP image editor on Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official GIMP web site.

How To Install ImpressPages on Ubuntu 18.04 LTS

Install ImpressPages on Ubuntu 18

ImpressPages is an open source Content Management System (CMS) with a built-in content editor written in PHP and using a popular open source MySQL/MariaDB database system for content storage. ImpressPages 5 is incredibly easy to learn and helps you create beautiful websites with quality content. In this tutorial we will show you how to install ImpressPages on Ubuntu 18.04 LTS.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Joomla on an Ubuntu 18.04 (Bionic Beaver) server.

Install ImpressPages on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 18.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

apt-get install php7.1-cli php7.1-gd php7.1-opcache php7.1-mysql php7.1-json php7.1-mcrypt php7.1-xml php7.1-curl

Step 3. Installing ImpressPages on Ubuntu 18.04 LTS.

First thing to do is to go to ImpressPages’s download page and download the latest stable version of ImpressPages, At the moment of writing this article it is version 5.0.3:

wget http://download.impresspages.org/ImpressPages_5_0_3.zip
unzip ImpressPages_5_0_3.zip
mv ImpressPages /var/www/html/impress

We will need to change some folders permissions:

chown -R www-data:www-data /var/www/html/impress/
chmod -R 755 /var/www/html/impress/

Step 4. Configuring MariaDB for ImpressPages.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- 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 we will need to log in to the MariaDB console and create a database for the ImpressPages. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for ImpressPages installation:

MariaDB [(none)]> CREATE DATABASE impresspages;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON impresspages.* TO 'impressuser'@'localhost' IDENTIFIED BY 'your-password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> \q

Step 5. Configuring Apache web server for ImpressPages.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘impresspages.conf’ on your virtual server:

sudo a2enmod rewrite
touch /etc/apache2/sites-available/impresspages.conf
ln -s /etc/apache2/sites-available/impresspages.conf /etc/apache2/sites-enabled/impresspages.conf
nano /etc/apache2/sites-available/impresspages.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/impress
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/impress/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

Now, we can restart Apache web server so that the changes take place:

systemctl restart apache2.service

Step 6. Accessing ImpressPages.

ImpressPages will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed ImpressPages. Thanks for using this tutorial for installing ImpressPages CMS (content management system) on Ubuntu 18.04 LTS systems. For additional help or useful information, we recommend you to check the official ImpressPages web site.

How To Install TeamViewer on Ubuntu 18.04 LTS

Install TeamViewer on Ubuntu 18

TeamViewer is a proprietary computer software package for remote control, desktop sharing, online meetings, web conferencing and file transfer between computers. Versions are available for the Microsoft Windows, OS X, Desktop Linux, iOS, Android Linux, Windows RT and Windows Phone operating systems. It is also possible to access a machine running TeamViewer with a web browser. While the main focus of the application is remote control of computers, collaboration and presentation features are included.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation TeamViewer on a Ubuntu 18.04 (Bionic Beaver) server.
TeamViewer features

Remote QuickSteps. Save yourself hundreds of clicks with one-click shortcuts for your most-used remote support actions. (Premium and above)
Remote control tabs for Mac OS. Conveniently run multiple remote sessions on macOS in tabs with Sierra’s latest tab-view technology.
Service case notifications. Take swift action on pop-up and email notifications. Delegate tasks faster, for more effective IT support. (Business and above)
Remote Sticky Note. Leave a message behind for a more personal customer relationship.
Provides screen sharing with frame rates up to 60 fps (frames per second). No stuttering, no lag.
Intelligent connection setup. Connect with the best possible quality via automatic intelligent system adjustments, based on your network conditions and system hardware.
Faster file transfer.
And more.

Install TeamViewer on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing TeamViewer on Ubuntu 18.04 LTS.
First, Go to TeamViewer 12 beta download page and download the deb file via your Web browser:

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

Install gdebi command line package installer with the following command:

sudo apt install gdebi-core

Then install the TeamViewer 12 deb package with:

sudo gdebi teamviewer_amd64.deb

Once installed, Use your start menu to locate and start TeamViewer. Alternatively, start TeamViewer from the command line:

teamviewer

Congratulation’s! You have successfully installed TeamViewer. Thanks for using this tutorial for installing TeamViewer on Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official TeamViewer web site.

How To Install Composr CMS on Ubuntu 18.04 LTS

Install Composr CMS on Ubuntu 18

Composr CMS is an open-source content management system for next-generation websites written in PHP with advanced social, interactive and dynamic functionality. The installation process is fairly easy and it takes only a couple of minutes.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Joomla on an Ubuntu 18.04 (Bionic Beaver) server.

Install Composr CMS on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 18.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

apt-get install php7.1-cli php7.1-gd php7.1-opcache php7.1-mysql php7.1-json php7.1-mcrypt php7.1-xml php7.1-curl

Step 3. Installing Composr Cms on Ubuntu 18.04 LTS.

First, download the latest stable version of Composr Cms:

wget http://compo.sr/site/dload.php?id=457 -O composr.zip
mkdir /var/www/html/composr
unzip composr.zip -d /var/www/html/composr

We will need to change some folders permissions:

chown -R www-data:www-data /var/www/html/composr/
chmod -R 755 /var/www/html/composr/

Step 4. Configuring MariaDB for Composr Cms.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- 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 we will need to log in to the MariaDB console and create a database for the Composr Cms. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Composr Cms installation:

MariaDB [(none)]> CREATE DATABASE composrdb;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON composrdb.* TO 'composr'@'localhost' IDENTIFIED BY 'your_password' WITH GRANT OPTION;
MariaDB [(none)]> SET @@global.sql_mode= '';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> quit

Step 5. Configuring Apache web server for Composr Cms.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘composr.conf’ on your virtual server:

sudo a2enmod rewrite
sudo a2ensite composr.conf
touch /etc/apache2/sites-available/composr.conf
ln -s /etc/apache2/sites-available/composr.conf /etc/apache2/sites-enabled/composr.conf
nano /etc/apache2/sites-available/composr.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/composr
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/composr/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

Now, we can restart Apache web server so that the changes take place:

systemctl restart apache2.service

Step 6. Accessing Composr CMS.

Composr CMS will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/install.php or http://server-ip/install.php and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Composr. Thanks for using this tutorial for installing Composr CMS (content management system) on Ubuntu 18.04 LTS systems. For additional help or useful information, we recommend you to check the official Composr CMS web site.

How To Install VLC Media Player on Ubuntu 18.04 LTS

VLC Media Player

VLC (VideoLan) is a portable & an open source multimedia player available for like Linux like operating system, Microsoft Windows, Mac OS X and android. VLC plays our favorite audio and video files, it can play various audio & video formats such as mpeg, divx, mov, mp3, mp4, dvd, vcd, wmv and quicktime.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation VLC Media Player on Ubuntu 18.04 LTS Bionic Beaver server.

Install VLC Media Player on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First, make sure that all your system packages are up-to-date

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing VLC Media Player on Ubuntu 18.04 LTS.

First step is to add the PPA repository:

add-apt-repository ppa:videolan/master-daily
apt update

Install VLC using following command:

apt install vlc qtwayland5

For streaming or transcoding audio/video, you also need to additionally install libavcodec-extra using following command:

apt install libavcodec-extra

Congratulations! You have successfully installed VLC. Thanks for using this tutorial for installing VLC Media Player in Ubuntu 18.04 LTS Bionic Beaver systems. For additional help or useful information, we recommend you to check the official VLC web site.

How To Install Spotify on Ubuntu 18.04 LTS

Install Spotify on Ubuntu 18

Spotify is a great way to listen to music by streaming it on your phone, in your browser, or on your Linux desktop. You can stream everything, upgrade and sync tracks and playlists offline, or purchase individual tracks to keep forever.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Spotify on a Ubuntu 18.04 (Bionic Beaver) server.
Install Spotify on Ubuntu 18.04 LTS Bionic Beaver

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

sudo apt-get update
sudo apt-get upgrade

Step 2. Installing Spotify Stable on Ubuntu 18.04 LTS.

Method 1.

First, add the Spotify repository signing key to be able to verify downloaded packages:

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410

Then, add Spotify stable repository by running this command:

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

Next is simple. Update and install Spotify client:

sudo apt-get update
sudo apt-get install spotify-client

Method 2.

Install Spotify application using the Snap command:

sudo snap install spotify
sudo snap list spotify

Once installed, next you can start Spotify by searching for it Unity Dash (in Ubuntu).

Congratulation’s! You have successfully installed Spotify. Thanks for using this tutorial for installing Spotify on Ubuntu 18.04 LTS (Bionic Beaver) system. For additional help or useful information, we recommend you to check the official Spotify web site.