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 MoreLet’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 MoreUse the following format code to make custom action button in Gridview:
Read MoreUsing 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 MoreWe 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 MoreFunction 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 MoreFor 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 MoreThe 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 MoreOn 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 MoreGuide 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