How to Install Google Chrome on CentOS

Install Google Chrome on CentOS

In this tutorial we’ll learn how to install Google Chrome on CentOS. We will also install and configure its prerequisites. Google Chrome is a freeware web browser developed by Google Inc. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. Google Chrome also has the option to install extensions and web application to increase the feature and functionality of the browser; you can also install themes for a visual change.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Google Chrome on CentOS

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y clean all
yum -y update

Step 2. Installing Google Chrome.

First, enable Google YUM repository:

nano /etc/yum.repos.d/google-chrome.repo

Add the following configuration to the above file and save it:

[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

So, let’s install Chrome using yum command as shown below:

yum install google-chrome-stable

Want to try Google Chrome beta, run:

yum install google-chrome-beta

Step 3. Launch Google Chrome .

Use the following command to start Google Chrome from the non-root account:

google-chrome

Congratulation’s! You have successfully install and configured Google Chrome on your CentOS 7 server. Thanks for using this tutorial for installing Google Chrome web browser on CentOS 7 system.

How to Install Concrete5 on CentOS 7

Install Concrete5 on CentOS 7

In this tutorial we’ll learn how to install Concrete5 on CentOS 7. We will also install and configure its prerequisites. Concrete5 is a free and open source Content Management System (CMS). It is an easy to use, but yet powerful tool allowing users with no technical skills to build different types of websites. Concrete5 features in-context editing (the ability to edit website content directly on the page, rather than in an administrative interface or using web editor software).

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Concrete5 on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step 2. Installing LAMP on Ubuntu 16.04.

You should check out this LAMP stack install tutorial for Ubuntu 16.04, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on. We also will install the required packages for LAMP stack and the important PHP extension that Concrete5 relies on:

apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-gd php7.0-mbstring php7.0-zip php7.0-dom php7.0-xml

Step 3. Installing Concrete5.

First, download Concrete5 from the official web site. The latest stable release is 8.0.3 so you can download it with the following command:

wget https://core-releases.s3.amazonaws.com/9314/8193/0256/concrete5-8.0.3.zip
sudo yum install unzip -y
unzip concrete5-8.0.3.zip
sudo mv concrete5-8.0.3 /var/www/html

Now just set the right permissions for the folders:

sudo chown -R apache:apache /var/www/html

Step 4. Create a database for Concrete5.

Next, we need to create a database for the Concrete5 installation:

mysql -uroot -p

Run the following command to create a database for Concrete5:

MariaDB> CREATE DATABASE concrete5;
MariaDB> GRANT ALL PRIVILEGES ON concrete5.* TO 'concrete5usr'@'localhost' IDENTIFIED BY 'PASSWORD';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit

Step 5. Configure Apache web server for Concrete5.

Let’s configure an Apache virtual host. You can do this by creating /etc/httpd/conf.d/concrete.conf file:

sudo nano /etc/httpd/conf.d/concrete.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/concrete5-8.0.3/
ServerName concrete5.example.com
ServerAlias www.concrete5.example.com
<Directory /var/www/html/concrete5-8.0.3/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/concrete5.example.com-error_log
CustomLog /var/log/httpd/concrete5.example.com-access_log common
</VirtualHost>

Save and close the file, then restart Apache service:

sudo systemctl restart httpd

We should allow HTTP traffic on port 80 through firewalld. You can do this by running the following command:

sudo firewall-cmd --zone=public --add-service=http --permanent
sudo firewall-cmd --reload

Step 6. Accessing Concrete5.

You can now complete the installation with the Concrete5 web interface. Open your web browser and navigate to http://{your-server-ip} to launch the installer. During the installation you will be asked for your MariaDB parameters. Use the username, password and database name you created in Step 4.

Congratulation’s! You have successfully install and configured Concrete5 on your CentOS 7 server. Thanks for using this tutorial for installing Concrete5 content management system on CentOS 7 system.

How to Install Lighttpd Web Server on Ubuntu 16.04

Install Lighttpd Web Server on Ubuntu 16.04

In this tutorial we will show you how to install Lighttpd Web Server on Ubuntu 16.04. We will also install and configure its prerequisites. Lighttpd is an open source web server which is secure, fast, compliant, and very flexible and is optimized for high-performance environments. It uses very low memory compared to other web servers, small CPU load and speed optimization making it popular among the server for its efficiency and speed. Its advanced, feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) makes lighttpd the perfect webserver-software for every server that suffers load problems.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Lighttpd Web Server on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing Lighttpd on Ubuntu.

Lighttpd is available as an Ubuntu package. Therefore, we can install it directly with apt from the Ubuntu package repository:

apt-get -y install lighttpd

Once the packages are installed, you can run the Lighttpd server also enable it to automatically start at boot time using the following commands:

systemctl start lighttpd.service
systemctl enable lighttpd.service

Step 3. Configuring Lighttpd.

If we need to configure our lighttpd web server further as our requirements, we can make changes to the default configuration file ie /etc/lighttpd/lighttpd.conf.

Lighttpd’s default document root is /srv/www/lighttpd, you can use this or change it by editing the configuration file /etc/lighttpd/lighttpd.conf.

Step 4. Testing Lighttpd.

To make sure everything installed correctly we will now test Lighttpd to ensure it is working properly. Open up any web browser and then enter the following into the web address:

http://localhost/ or http://your.ip.addr.ess

Congratulation’s! You have successfully install and configured Lighttpd on your Ubuntu 16.04 server. Thanks for using this tutorial installing Lighttpd Web Server on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Lighttpd Web Server on CentOS 7

Install Lighttpd Web Server on CentOS 7

In this tutorial we’ll learn how to install Lighttpd Web Server on CentOS 7. We will also install and configure its prerequisites. Lighttpd is an open source web server which is secure, fast, compliant, and very flexible and is optimized for high-performance environments. It uses very low memory compared to other web servers, small CPU load and speed optimization making it popular among the server for its efficiency and speed. Its advanced, feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) makes lighttpd the perfect webserver-software for every server that suffers load problems.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Lighttpd Web Server on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step 2. Installing Lighttpd Web Server.

Install Lighttpd using yum package manager:

yum install lighttpd

Once the packages are installed, you can run the Lighttpd server also enable it to automatically start at boot time using the following commands:

systemctl start lighttpd
systemctl enable lighttpd

Step 3. Configuring Lighttpd.

If we need to configure our lighttpd web server further as our requirements, we can make changes to the default configuration file ie /etc/lighttpd/lighttpd.conf.

Lighttpd’s default document root is /srv/www/lighttpd , you can use this or change it by editing the configuration file /etc/lighttpd/lighttpd.conf.

Step 4. Configure Firewall for Lighttpd.

Issue the following commands to allow HTTP request through the firewall:

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --reload

Step 5. Testing Lighttpd.

To make sure everything installed correctly we will now test Lighttpd to ensure it is working properly. Open up any web browser and then enter the following into the web address:

http://localhost/ or http://your.ip.addr.ess

Congratulation’s! You have successfully install Lighttpd on your CentOS 7 server. Thanks for using this tutorial for installing Lighttpd Web Server on CentOS 7 system.

How to Install Squid Proxy on CentOS 7

Install Squid Proxy on CentOS 7

In this tutorial we’ll learn how to install Squid Proxy on CentOS 7. We will also install and configure its prerequisites. Squid is an open Open Source full-featured web proxy cache server application which provides proxy and cache services for Hyper Text Transport Protocol (HTTP), File Transfer Protocol (FTP), and other popular network protocols.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Squid Proxy on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step2. Installing Squid Proxy.

Install Squid and related packages is now as simple as running just one command:

yum -y install squid

Once you install Squid, you can start the program immediately using the following command:

systemctl start squid
systemctl enable squid

Step 3. Squid Configuration.

Squid can be easily configured by editing the global configuration file /etc/squid/squid.conf. To edit the configuration file run following command:

nano /etc/squid/squid.conf

Squid listens on port 3128 by default and if you would like to change the default listening port you can do by to editing the ‘http_port’ directive in the configuration file:

http_port 3128

Step 4. Configure User and Password Authentication in Squid.

Add the following lines into the configuration file under the access control lists of ports:

### nano /etc/squid/squid.conf
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated

Next, create a new empty file for storing squid credentials:

touch /etc/squid/passwd

Then we will be using below command to generate password for a user like ‘rezkia’ that will going to access the squid proxy server:

htpasswd -c /etc/squid/passwd rezkia

After this restart your squid service so that the configuration can be updated:

systemctl restart squid

Step 5. Using Your Proxy.

Now that Squid is setup, you can use it as a forwarding proxy. Configure the “internet settings” of your web browser to use your proxy, including the user name and password that you generated earlier.

Congratulation’s! You have successfully install Squid on your CentOS 7 server. Thanks for using this tutorial for installing Squid Proxy on CentOS 7 system.

How to Install OpenShot on Ubuntu 16.04

Install OpenShot on Ubuntu 16.04

In this tutorial we will show you how to install OpenShot on Ubuntu 16.04. We will also install and configure its prerequisites. Openshot is an open source video editor application used to edit or customize video files for movies, presentations or any kind of personal videos. The main developer of Openshot video editor application is Jonathan Thomas has written the application initially on year 2008 using C++ and Python programming language and released under the GNUv3 General Public License.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install OpenShot on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing OpenShot.

First, open the terminal and run below given command:

sudo add-apt-repository ppa:openshot.developers/ppa
sudo apt-get update
sudo apt-get install openshot-qt blender inkscape

And finally launch the video editor from Unity Dash and enjoy!

Congratulation’s! You have successfully install and configured OpenShot on your Ubuntu 16.04 server. Thanks for using this tutorial installing OpenShot Video Editor on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Concrete5 on Ubuntu 16.04

Install Concrete5 on Ubuntu 16.04

In this tutorial we’ll learn how to install Concrete5 on Ubuntu 16.04. We will also install and configure its prerequisites. Concrete5 is a free and open source Content Management System (CMS). It is an easy to use, but yet powerful tool allowing users with no technical skills to build different types of websites. Concrete5 features in-context editing (the ability to edit website content directly on the page, rather than in an administrative interface or using web editor software).

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Concrete5 on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing LAMP on Ubuntu 16.04.

You should check out this LAMP stack install tutorial for Ubuntu 16.04, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on. We also will install the required packages for LAMP stack and the important PHP extension that Concrete5 relies on:

apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-gd php7.0-mbstring php7.0-zip php7.0-dom php7.0-xml

Step 3. Installing Concrete5.

First, download the Concrete5 archive from the official website:

cd /var/www/html
wget https://www.concrete5.org/download_file/-/view/99963/ -O concrete5.zip
mv concrete5-8.3.1/ concrete5

Now just set the right permissions for the folders:

chown -R www-data:www-data concrete5/

Step 4. Create a database for Concrete5.

Next, we need to create a database for the Concrete5 installation:

mysql -uroot -p

Run the following command to create a database for Concrete5:

MariaDB> CREATE DATABASE concrete5;
MariaDB> GRANT ALL PRIVILEGES ON concrete5.* TO 'concrete5usr'@'localhost' IDENTIFIED BY 'PASSWORD';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit

Step 5. Configure Apache web server for Concrete5.

For this you can take the default config as a template:

cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/concrete5.conf

Now edit the currently created Config as follows:

nano /etc/apache2/sites-available/concrete5.conf

Modify the virtual host file for your Concrete5 site to resemble the example below:

<VirtualHost my-domain.tld:80>

ServerName my-domain.tld
ServerAlias www.my-domain.tld
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/concrete5/

<Directory /var/www/html/concrete5/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error-moodle.log
CustomLog ${APACHE_LOG_DIR}/access-moodle.log combined
</VirtualHost>

Now just activate the newly created Config, mod_rewrite and SSL:

sudo a2ensite concrete5.conf && sudo a2enmod SSL && sudo a2enmod rewrite

Finally, reload the web server as suggested, for the changes to take effect:

systemctl restart apache2

Step 6. Accessing Concrete5.

You can now complete the installation with the Concrete5 web interface. Open your web browser and navigate to http://{your-server-ip} to launch the installer. During the installation you will be asked for your MySQL parameters. Use the username, password and database name you created in Step 4.

Congratulation’s! You have successfully install and configured Concrete5 on your Ubuntu 16.04 LTS server. Thanks for using this tutorial for installing Concrete5 content management system on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Eclipse on CentOS 7

Install Eclipse on CentOS 7

In this tutorial we’ll learn how to install Eclipse on CentOS 7. We will also install and configure its prerequisites. Eclipse is an open-source development environment used to develop applications. It supports various programming languages and can be installed on all Operating systems (Windows, Linux, Mac).

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Eclipse on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step 2. Installing Java.

Eclipse requires Java to be available on your machine. So, go and install the Java:

yum install java

Check if java installed:

java -version

Step 3. Installing Eclipse.

First, You can download required IDE from its official website. (I have download Eclipse IDE for Java EE developers. You have other options available on download page)

Step 4. Configure Eclipse IDE.

I assume you have downloaded Eclipse source code (eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz) Extract the Eclipse archive file under /usr/local directory.

tar -zxvf eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz -C /usr/local/

Then, Simply create an eclipse binary symbolic link to make it accessible system-wide:

ln -s /usr/local/eclipse/eclipse /usr/bin/eclipse

Step 5. Create Eclipse Launcher Icon.

In this step create a desktop launcher for the Eclipse. Simply create an eclipse.desktop file on your system at below location:

nano /usr/share/applications/eclipse.desktop

Add the entry to file and save it:

[Desktop Entry]
Name=Eclipse
Comment=Eclipse IDE
Type=Application
Encoding=UTF-8
Exec=/usr/bin/eclipse
Icon=/usr/local/eclipse/icon.xpm
Categories=GNOME;Application;Development;
Terminal=false
StartupNotify=true

Now search the Eclipse in GNOME search, You will find the icon as below:

Install Eclipse on CentOS 7

Congratulation’s! You have successfully install Eclipse on your CentOS 7 server. Thanks for using this tutorial for installing Eclipse Neon on CentOS 7 system.