Linux
Tutorial

How to install SSL Certificate to VestaCP, Exim and Dovecot Daemons

Many server owners don’t know how to install SSL to all daemons, especially to Exim4 and dovecot. Now there is a new way that is built-in Vesta Pre-required step: your server hostname must be full host address that is already pointing to IP of your server.Check /etc/hostname to see what is your hostname. If it’s […]

Read More
Linux
Tips and Tricks

How to Fix Let’s Encrypt ACME v1 Disabled

Let’s Encrypt is popular free SSL service. My VPS which is using Virtualmin was unable to use Let’s Encrypt and throw an error “ACME v1 disabled”. To fix this problem, execute the following line in terminal: apt-get install socat certbotcertbot register After that, complete the register with a valid e-mail address and try to request […]

Read More
Yii2

Yii2 Custom Action Button

Use the following format code to make custom action button in Gridview:

Read More
Featured
Linux
Technology

How to Create Bandwidth Usage Script on Linux

Using a tool called iftop we can monitor bandwidth usage via command line on Linux. But here we will create our own shell script to monitor bandwidth usage. The idea is to read rx_bytes and tx_bytes files inside /sys/class/net/[interface]/statistics/ folder. Create netspeed script in /usr/local/bin/ and copy and paste below script. Script content: Exit nano […]

Read More
Featured
Technology
Tips and Tricks
Tutorial
Windows

How to Create Windows 7 Installer on USB Thumbdrive using Diskpart

We need Windows 7 installer on USB thumbrive for laptop which doesn’t have DVD Drive. Below are steps on how to create Windows 7 installer on USB Thumbdrive. 1. Prepare a USB Thumbdrive with minimum 8GB size and a Windows 7 DVD installer. 2. Plug the thumbdrive and insert Windows 7 DVD into tray. 3. […]

Read More
Featured
PHP
Technology
Wordpress

How to Change Excerpt Length in WordPress

Function the_excerpt() can be used to show summary of article or post in WordPress. As default, the excerpt length is set to 55 words. We can control this length by adding few lines code in functions.php file inside theme folder. Below is the codes to change excerpt length in WordPress. Open File Manager and open […]

Read More
Featured
Internet
Technology

How to Install Google Analytics Code in Blogspot

For you who are new in using Blogspot and do not know how to install Google Analytics code on your Blogspot website, here is the tutorial how to do it. Actually, install Google Analytics code can be done by copy and paste the javascript code into HTML/Javascript Gadget. But don’t you know that Blogspot already […]

Read More
Featured
SQL
Technology

Tutorial SQL: Select, Insert, Update, Delete

The following tutorial can be used as dictionary for beginner on SQL syntax. SQL syntaxes are used to manipulate data which are select, insert, update, and delete on database. 1. Select Select command is used to get rows of data from table. Syntax: Example: 2. Insert Insert command is used to insert row to table. […]

Read More
Featured
Technology
Windows

How to Check System Uptime on Windows

On Linux operating system, we can use command top to show system statistic, running processes, and uptime. How can we do it on Windows environment? Using Windows operating system, the similar to top command is net statistics server. Execute this command in command prompt will show summary of  Windows system statistic including when the system […]

Read More
Featured
Internet
PHP
Technology

How to Update Twitter Timeline Using PHP

Guide on this article can be used to post Twitter using PHP. First of all, download source code from http://phpfashion.com/twitter-for-php. Extract downloaded file to your folder. Example: /public_html/twitter-php/. Then we create index.php file with the following code: The first line is to setup variables: username, password, and message. And the next part is to setup […]

Read More