Install Apache, php7, mysql on Redhat 7 server Apache is a popular webserver and our previous post explains on how to install on ubuntu, centos server. In this article, we will explain on how to install apache, php, mysql on redhat 7 server. Prerequisites: Server Root access Implementation: Login to… Continue Reading Install Apache2, php7, mysql on Redhat 7 server

Install iotop on linux host Iotop is utility used to identify which process, user consumes more io. This post explains on how to install iptop on linux host. By default iostat won’t be come by default. Implementation: On ubuntu host, execute the following command to install iotop. Press y to… Continue Reading Install iotop on linux host

Posted Date:04-08-2017 In this post we will explain dynamic column header and result from ajax call in jquery datatable   Step 1: Include jQuery  Plugin and css <link rel=”stylesheet” type=”text/css” href=”http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css”> <source src=”http://code.jquery.com/jquery-2.2.4.min.js” integrity=”sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=” crossorigin=”anonymous”></source> <source type=”text/javascript” charset=”utf8″ src=”https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js”></source> Step 2: Add the following script for data table initialization with… Continue Reading dynamic column header and result from ajax call in jquery datatable

Create swap on linux Date Posted: 01-08-2017 Swap space will usually be a disk partition but can also be a file. Users may create a swap space during installation of Linux or at any later time should it become necessary. Swap space is generally recommended for users with less than… Continue Reading Create swap space on linux

Webmail subdomains mapping in VestCP Date Posted: 01-08-2017 Like cPanel, we want to map the webmail to webmail.domain.tld for all the domains hosted on the server on vestacp. Implementation: Add the below lines to /home/admin/conf/web/httpd.conf <VirtualHost xx.xx.xx.xx:80> ServerName webmail ServerAlias webmail.* DocumentRoot /usr/share/roundcubemail </VirtualHost> Now restart httpd service httpd restart  

Posted Date:27-07-2017 In this post we will explain show the accordion panels based on drop down values .   Step 1: Include jQuery  Plugin and css <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source> <source src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js”></source> <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css”> Step 2: Add the following script $(function() { var divs = $(‘#accordion > div’).hide(); $(document).on(‘change’, ‘#select_value’, function(e)… Continue Reading Show the accordion panels based on drop down values

Migrating email accounts from ajenti to vestacp Date Posted: 23-07-2017 Migrating emails between two control panel is tedious task because of mail format, permission issues, folder sync. Here this post explains on how to migrate email account from ajenti to vestacp panel. Assumption: Source server (Ajenti Control panel ) –… Continue Reading Migrating email accounts from ajenti to vestacp

DDOS Deflate installation on linux DDOS deflate is simple shell script used to block a denial of service attack on Linux Host. It uses netstat command to identify the number of connection from IP addresses and block the IP address if an IP address exceeds a threshold value. Prerequisites: Linux Host with… Continue Reading DDOS Deflate installation on linux

Installation Postgresql on Ubuntu 16: Date Posted: 21-07-2017 Postgresql is a database server which is similar to mysql. In this post, we will explain on how to install postgresql on ubuntu host Prerequisites: Ubuntu Host with root access. Implementation: Perform the update on the server apt-get update Install the postgresql… Continue Reading Install Postgresql on Ubuntu 16

Posted Date:11-07-2017 In this post we will explain confirm java-script form submit with displaying the form input values. Step 1: Include jQuery  Plugin <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > Step 2:Create html form with input values using the following code <form name=”pendingrequest” id=”pendingrequest” action=”javascript:void(0)” method=”POST” > <table > <tr> <input type=”text” name=”rate1″> <input… Continue Reading Confirm javascript form submit