How To Install Percona Server on CentOS 7 Step by Step

Install Percona Server on CentOS 7

Percona Server is a drop-in replacement for the MySQL database which use an enhanced version of InnoDB Database engine called xtradb. According to the Percona Website Percona xtradb is designed to provide superior performance, scalability and instrumentation. In this tutorial we will learn how to Install Percona Server on CentOS 7 Step by Step.

Prerequisites

This tutorial 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.

Install Percona Server on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Percona Server on CentOS 7.

First we will add repository package from Persona:

yum install https://www.percona.com/redir/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm

Then run the yum repolist command to make sure that the repository is active:

yum repolist
yum search percona | grep server

Next, Install Percona Server using yum install command:

yum install Percona-Server-server-57

After the installation is finished, start the Percona Server:

systemctl start mysqld
systemctl enable mysqld

Note: During the installation, a temporary password is generated for the root user and you can find it in /var/log/mysqld.log file.

grep -i password /var/log/mysqld.log

Step 3. Securing Percona server after installation.

By default, Percona is not hardened. You can secure Percona 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 Percona:

mysql_secure_installation

Congratulation’s! You have successfully installed Install Percona. Thanks for using this tutorial for installing Install Percona Server on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Install Percona web site.

How To Install Akaunting on CentOS 7 Step by Step

Install Akaunting on CentOS 7

Akaunting is a free and online accounting software designed for small businesses to manage their finances and stay on top of their cash flow. Invoicing, accepting online payments and keeping track of expenses couldn’t be simpler. Akaunting is built with modern technologies such as Laravel, Bootstrap, jQuery, Swift Mailer, API etc. In this tutorial we will learn how to Install Akaunting on CentOS 7 step by step.

Prerequisites

This tutorial 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 accge of Linount, 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 Akaunting online accounting software on a CentOS 7 server.

Install Akaunting on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Install LAMP server.

A CentOS 7 LAMP stack server is required. If you do not have LAMP installed, you can follow our guide here. Also install required PHP modules:

yum -y install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel

Step 3. Installing Akaunting on CentOS 7.

First thing to do is to go to Akaunting’s download page and download the latest stable version of Akaunting,:

cd /var/www/akaunting
curl -O -J -L https://akaunting.com/download.php?version=latest
unzip Akaunting_1.1.15-Stable.zip

We will need to change some folders permissions:

chown -R chown apache:apache -R /var/www/akaunting

Step 4. Configuring MariaDB for Akaunting.

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 Akaunting. 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 Akaunting installation:

MariaDB [(none)]> CREATE DATABASE dbname;
MariaDB [(none)]> GRANT ALL ON dbname.* TO 'username' IDENTIFIED BY 'password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;

Step 5. Configure Apache web server for Akaunting.

We will create Apache virtual host for your Akaunting website. First create ‘/etc/httpd/conf.d/vhosts.conf’ file with using a text editor of your choice:

nano /etc/httpd/conf.d/vhosts.conf
IncludeOptional vhosts.d/*.conf

Next, create the virtual host:

mkdir /etc/httpd/vhosts.d/
nano /etc/httpd/vhosts.d/yourdomain.com.conf

Add the following lines:

ServerAdmin [email protected]
DocumentRoot "/var/www/akaunting"
ServerName yourdomain.com
ServerAlias www.yourdomain.com
ErrorLog "/var/log/httpd/yourdomain.com-error_log"
CustomLog "/var/log/httpd/yourdomain.com-access_log" combined

<Directory "/var/www/akaunting/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted


Save and close the file. Restart the apache service for the changes to take effects:

systemctl restart httpd.service

Step 6. Accessing Akaunting.

Akaunting 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 Akaunting. Thanks for using this tutorial for installing Akaunting online accounting software on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Akaunting web site.

How To Install Vivaldi Browser on CentOS 7 Step by Step

Install Vivaldi Browser on CentOS 7

Vivaldi is a feature-rich, next-generation web browser application based on the powerful and open source Chromium project, from which the popular Google Chrome web browser is derived. The application is freely distributed and cross-platform, created by the former CEO of Opera Software, built using modern Web technologies like React, JavaScript, Node.js, and Browserify. In this tutorial we will learn how to Install Vivaldi Browser on CentOS 7 Step by Step.

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 accge of Linount, 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 Vivaldi Browser on a CentOS 7 server.

Vivaldi Web Browser Features

  • Adaptive Interface: Vivaldi ’s color scheme will adapt as you browse the web, much like a
  • Chameleon adapts to its surroundings. A clean and modern look complements the content.
  • Spatial Navigation: Say goodbye to tab-cycling through web page content now. You can move in every axis using the arrow keys. Get faster anywhere on the web page using your keyboard.
  • Sync: Have multiple computers that you want to keep in sync? Vivaldi Sync enables this beautifully. Your bookmarks, history, passwords and settings can all be synchronized across various instances of Vivaldi through the encrypted sync infrastructure. Watch out – It’s coming soon.
  • Email: Now that’s a double treat – your e-mail client built into your web browser. E-mail is still undeniably important to many of us. Vivaldi offers a robust, efficient, light-weight mail client. And, it’s going to be called M3. Stay tuned for updates.
  • Powerful Bookmarks: How many bookmarks do you have in your browser? 56, 225, or 1056? If you use bookmarks a lot, you have come to the right place!

With Vivaldi’s bookmark manager you can organize and access your bookmark efficiently. You can set your own tags and necks for lightning fast access.

  • Web Panels: Web Panels allow you to view websites as a panel on the sidebar of your Vivaldi browser. Read news, follow conversations on social media, chat with your friends and much more, while using the main browser window separately. It’s the next best thing to having a “Boss Button” on your browser.

Install Vivaldi Browser on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Vivaldi Browser on CentOS 7.

First, Install vivaldi packages:

### CentOS 64-Bit ###
rpm -Uvh https https://downloads.vivaldi.com/stable/vivaldi-stable-1.15.1147.64-1.x86_64.rpm

### CentOS 32-Bit ###
rpm -Uvh https://downloads.vivaldi.com/stable/vivaldi-stable-1.15.1147.64-1.i386.rpm

Once installed, open Vivaldi web browser from CentOS Dash or Terminal. Run “vivaldi” command in Terminal. (without quotes):

vivaldi

Congratulation’s! You have successfully installed Vivaldi Browser. Thanks for using this tutorial for installing Vivaldi Web Browser on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Vivaldi web site.

How to Install Asterisk on CentOS 7 Step by Step

Install Asterisk on CentOS 7

Asterisk is the most popular and widely adopted open source PBX platform that powers IP PBX systems, conference servers and VoIP gateways. It is used by individuals, small businesses, large enterprises and governments worldwide. In this tutorial we will learn how to install Asterisk on CentOS 7 Step by Step.

Prerequisites

This tutorial 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 accge of Linount, 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 Asterisk on a CentOS 7 server.

Install Asterisk on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Dependencies.

Install all required packages on your Asterisk with the following commands:

yum groupinstall core base "Development Tools"

Step 3. Disable SELinux on CentOS 7.

To disable SELinux security features, open the /etc/selinux/config file and set SELINUX=disabled:

sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/sysconfig/selinux
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config

Step 3. Installing Asterisk on CentOS 7.

First, download the latest version of Asterisk:

cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-15-current.tar.gz
tar zxf asterisk-15-current.tar.gz

Once the asterisk archive is extracted, change to the asterisk-15.5.0 directory with the following command:

cd asterisk-15.*/

Next, install Asterisk dependencies:

sudo contrib/scripts/get_mp3_source.sh
sudo contrib/scripts/install_prereq install

The script will install all necessary packages and upon successful completion, it will print the following message:

#############################################
##    install completed successfully.      ##
#############################################
1
2
3
	
#############################################
##    install completed successfully.      ##
#############################################

Then, install Asterisk using following command:

sudo ./configure --libdir=/usr/lib64

Upon successful completion, you will see the following output:

configure: Menuselect build configuration successfully completed

               .$$$$$$$$$$$$$$$=..
            .$7$7..          .7$$7:.
          .$$:.                 ,$7.7
        .$7.     7$$$$           .$$77
     ..$$.       $$$$$            .$$$7
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.
$$$        $$$   7$$$7  .$$$    .$$$.
$$$$             $$$$7         .$$$.
7$$$7            7$$$$        7$$$
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.

configure: Package configured for:

configure: OS type  : linux-gnu
configure: Host CPU : x86_64
configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :
configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :

The next step is to select the modules you want to compile and install, most of the modules are already enabled. Access the Menuselect system, by typing:

make menuselect

Now that the configuration is completed start the compilation process using the make command:

make

Once the build process is completed, you will be presented with the following message:

+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running:              +
+                                           +
+             make install                  +
+-------------------------------------------+

As the message above says, the next step is to install Asterisk and its modules by typing:

make install

Once the installation is finished the script will display the following message:

+---- Asterisk Installation Complete -------+
 +                                           +
 +    YOU MUST READ THE SECURITY DOCUMENT    +
 +                                           +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any      +
 + existing config files), run:              +
 +                                           +
 +   For generic reference documentation:    +
 +        make samples                       +
 +                                           +
 +     For a sample basic PBX:               +
 +        make basic-pbx                     +
 +                                           +
 +                                           +
 +-----------------  or ---------------------+
 +                                           +
 + You can go ahead and install the asterisk +
 + program documentation now or later run:   +
 +                                           +
 +             make progdocs                 +
 +                                           +
 +   **Note** This requires that you have    +
 +   doxygen installed on your local system  +
 +-------------------------------------------+

Run the make samples command to install the Asterisk sample configuration files:

make samples
make config
ldconfig

The last step is to enable Asterisk service to start on boot with:

systemctl start asterisk
systemctl enable asterisk
systemctl status asterisk

Congratulation’s! You have successfully installed Asterisk. Thanks for using this tutorial for installing Asterisk on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Asterisk web site.

How To Install FFmpeg on CentOS 7 Step by Step

Install FFmpeg on CentOS 7

FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. There’s also a great PHP package called ffmpeg-php that allows for easy use of FFmpeg from inside PHP scripts. In this tutorial i will show you the easy way to install ffmpeg and ffmpeg-php (php extension). In this tutorial we will learn how to Install FFmpeg on CentOS 7 Step by Step.

Prerequisites

This tutorial 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 FFmpeg on a CentOS 7 server.

Install FFmpeg on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum install -y epel-release
yum -y update

Step 2. Installing the Nux repository.

After enabling Epel repo, go ahead and install Nux Dextop repository:

sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Step 3. Installing FFmpeg and FFmpeg development packages on CentOS 7.

Install ffmpeg and ffmpeg -devel packages:

yum install ffmpeg ffmpeg-devel -y

To check for a installed ffmpeg version run:

ffmpeg -version

This should result in something very similar to the following output:

[[email protected] ~]# ffmpeg -version ffmpeg -version
ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

If you want to learn more about FFmpeg, input:

ffmpeg -h

Congratulation’s! You have successfully installed FFmpeg. Thanks for using this tutorial for installing FFmpeg in CentOS 7 system. For additional help or useful information, we recommend you to check the official FFmpeg web site.

How To Install Ansible on CentOS 7 Step by Step

Install Ansible on CentOS 7

Ansible is a radically simple IT automation engine that simplifies cloud computing, configuration management, program setup, intra-service orchestration, and several other IT needs. Ansible uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to spell out your automation jobs in a way that means plain English. Using Ansible you can control multi host or device simultaneously using single command. You don’t need install client in apparatus or each server. In this tutorial we will learn how To install Ansible on CentOS 7 Step by Step.

Prerequisites

This tutorial 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 Ansible on a CentOS 7 server.

Install Ansible on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum install -y epel-release
yum -y update

Step 2. Installing Ansible on CentOS 7.

Method 1. Install Ansible from EPEL repository.

yum install ansible

Check the version of Ansible that is installed:

ansible --version

Method 2. Install Ansible from Source.

First, Installation of all required prerequisites to perform Ansible compilation:

yum install make git make gcc python-devel libffi-devel openssl-devel epel-release python-sphinx

Next, install python package manager:

yum install python-pip
pip install --upgrade setuptools

Then, download the Ansible source code using git command:

git clone git://github.com/ansible/ansible.git
cd ansible

Select desired version:

git checkout stable-2.3

Now check that Ansible is installed with the following command:

ansible --version

Congratulation’s! You have successfully installed Ansible. Thanks for using this tutorial for installing Ansible in CentOS 7 system. For additional help or useful information, we recommend you to check the official Ansible web site.

How To Install Gulp.js on CentOS 7 Step by Step

Install Gulp.js on CentOS 7

gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something. In this tutorial we will learn how to Install Gulp.js on CentOS 7 Step by Step.

Prerequisites

This tutorial 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 Gulp.js on a CentOS 7 server.

install gulp.js on centos7

Install Gulp.js on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

yum clean all
yum install -y epel-release
yum -y update

Step 2. Installing Node.js.

Install Node.js using the following command:

curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -
sudo yum install -y nodejs
sudo yum install gcc-c++ make

Step 3. Installing Gulp.js on CentOS 7.

After installing Node.js, proceed to install Gulp.js:

sudo npm install -g gulp

Then, let’s check the installed version on your system using the following command:

gulp --version

[12:19:46] CLI version 3.9.1
[12:19:46] Local version 3.9.1

Congratulation’s! You have successfully installed Gulp.js. Thanks for using this tutorial for installing Gulp.js in CentOS 7 system. For additional help or useful information, we recommend you to check the official Gulp.js web site.