Linux

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
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
Linux
Technology
Tips and Tricks
Tutorial

How to Install Virtualbox 4.1 on Linux Mint

Virtualbox Open Source Edition can be installed using Software Manager in Linux Mint. But if you want to use USB feature in Virtualbox, you have to install the non-free version of Virtualbox. Below is step by step guide how to install Virtualbox 4.1 non-free version on Linux Mint: 1. Edit /etc/apt/sources.list 2. Add this repository […]

Read More
Debian
Featured
Linux
PHP
Technology
Tips and Tricks
Tutorial

How to Install Memcached on Debian / Ubuntu

Memcached is free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. First of all, install memcached dan php5-memcached packages: and then make sure memcached is running with this command: Restart apache web server: Check php5-memcached module using […]

Read More
Featured
Linux
Technology
Tips and Tricks

How to Fix Virtualmin Webmail Error “An error occurred listing mail in this folder : Failed to connect to localhost:143 : Connection refused” on Centos

I’m new to Virtualmin hosting control panel and I got this error message when login to webmail via https://domain.com:20000 This problem happens when Dovecot IMAP and POP3 service is not started. So I start the service and problem solved.

Read More
centos5
Featured
Linux
PHP
Technology
Tips and Tricks
Tutorial

How to Fix “PHP Warning: PHP Startup: mcrypt: Unable to initialize module” on Centos 5

I found this error message after upgrading PHP 5.1.6 to 5.2.14 The problem happens when there is a mismatch version of php-mcrypt module with php installed in the server. You can check the version using this command line: To fix this error, we have to update php-mcrypt module:

Read More
Debian
Featured
Linux
Tutorial

How to Setup Timezone on Debian Squeeze

Run the following command as root or using sudo: And then select your timezone from the prompts. After that UTC time and local time will be shown as in the following example: Keywords:famous paintingsfamous paintings of the world

Read More
Featured
Linux
Technology

How to Switch Between SSH Sessions on Linux

Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). The same way tabbed browsing revolutionized the web experience, GNU Screen can do the same for your experience in the command line. Instead of opening up several terminal instances on your desktop or using those ugly GNOME/KDE-based tabs, […]

Read More
Debian
Featured
Linux
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Setup Rsync with SSH without Password on Ubuntu / Debian

Rsync is awesome tool for synchronize local files or directories with files and directories on remote server. Rsync is commonly used for data backup. For rsync installation you can read this article. Below is command line how to use rsync with ssh. You will be asked for a ssh password before rsync can start synchronizing. […]

Read More