Monthly Archives: June 2017

How to install nano editor with yum

nano is a very used command line editor for Linux. Many Linux distribution has it installed by default. Anyway, if you system doesn’t has it, you can easily install it.

For more information on nano visit the webpage

You can test if nano is installed by trying to access it. Just type nano. It you see its “window” then it’s installed.

If it’s not installed, you will see a message like:

[root@webcp ~]# nano -bash: /usr/bin/nano: No such file or directory

To check the latest nano version on yum use yum info nano

[root@webcp ~]# yum info nano
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Available Packages
Name        : nano
Arch        : x86_64
Version     : 2.3.1
Release     : 10.el7
Size        : 440 k
Repo        : base/7/x86_64
Summary     : A small text editor
URL         :
License     : GPLv3+
Description : GNU nano is a small and friendly text editor.

To install nano use the command yum install nano

[root@webcp ~]# yum install nano
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package nano.x86_64 0:2.3.1-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                              Arch                                   Version                                         Repository                            Size
 nano                                 x86_64                                 2.3.1-10.el7                                    base                                 440 k

Transaction Summary
Install  1 Package

Total download size: 440 k
Installed size: 1.6 M
Is this ok [y/d/N]: y
Downloading packages:
nano-2.3.1-10.el7.x86_64.rpm                                                                                                                     | 440 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : nano-2.3.1-10.el7.x86_64                                                                                                                             1/1
  Verifying  : nano-2.3.1-10.el7.x86_64                                                                                                                             1/1

  nano.x86_64 0:2.3.1-10.el7

[root@webcp ~]# nano
[root@webcp ~]#

You can now edit text files with nano editor¬† ūüôā¬†

nano editor window

For nano source code, binaries, archives visit
Share this post:

How to change the default Vesta port (8083)

The Vesta Control Panel is running by default on port 8083. You can change the port, by following some simple steps.

You may want to check here the IANA registered ports.

Let’s assume you want to change the port from 8083 to 8093.

1. Add the new port 8093 to the white list in your iptables(or firewall application). For this, Log into Vesta, go to Firewall tab from the top menu. Click the +Add rule sign. You will see a window like:

vesta add firewall rule

Enter: Action=Accept; Protocol=TCP; Port: 8093; IP address: Click the Add button.

You will see the new rule in the firewall’s list:

vesta new port rule

2. Connect to your server via SSH. Edit the file /usr/local/vesta/nginx/conf/nginx.conf with your preferred editor:

[root@webcp ~]# nano /usr/local/vesta/nginx/conf/nginx.conf

Look for the row listen 8083;

 # Vhost
    server {
        listen          8083;

And change 8083 to your new port. Save the file.

 # Vhost
    server {
        listen          8093;

3. Restart the Vesta service to apply your changes.

[root@webcp ~]# service vesta restart
Restarting vesta (via systemctl):                          [  OK  ]
[root@webcp ~]# 

4. Try to access the Vesta interface on the new port – .If everything is working fine, you can remove the firewall rule for the port 8083.

Share this post:

List of web hosting control panels – updated 06.2017

List of top web hosting control panels (in no particular order):

 Price:  From $20/month (VPS license)
Vesta Control Panel – VestaCP
 Price:  FREE
Price: From $29/month (license can be used on a VPS or a dedicated server)
Interworx (Nodeworx and Siteworx)
Price: From $24.95/month (license can be used on a VPS or a dedicated server)
Price: From ‚ā¨3.75/month¬†(license can be used on a VPS or a dedicated server, max 10 domains)


You can consult a list of web hosting control panel on Wikipedia – Comparison of web hosting control panels

We recommend and we offer cPanel for free on all our cPanel shared hosting and cPanel reseller hosting plans. For any questions, please contact us. We are here to help you. Thank you.

Share this post:

How to install VestaCP (Vesta Control Panel)

Vesta is a FREE web hosting control panel. Here are some steps to install it on your VPS/dedicated server.

For more information on Vesta visit the website

Steps to install Vesta:

  1. # Connect to your server as root via SSH
    ssh root@your.server
  2. # Download installation script
    curl -O

    [root@webcp ~]# curl -O
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  1721  100  1721    0     0  11674      0 --:--:-- --:--:-- --:--:-- 11707
    [root@webcp ~]#
  3. # Run it
    We used a custom command:

    [root@webcp ~]# bash --nginx yes --apache yes --phpfpm no --named yes --remi no --vsftpd no --proftpd yes --iptables yes --fail2ban yes --quota yes --exim yes --dovecot yes --spamassassin yes --clamav yes --mysql yes --postgresql no
You can customize the installation command on

Here is the capture of our installation process: VestaCP Installation

You will also receive an email notice:

Congratulations, you have just successfully installed Vesta Control Panel username: admin password: EcmxjRgHyj We hope that you enjoy your installation of Vesta. Please feel free to contact us anytime if you have any questions. Thank you. — Sincerely yours team

Share this post:

Create/Restore a backup of your account in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

You should backup your site from time to time. Also, it’s a good idea to download these backup copies to your computer.

DirectAdmin Backup/Restore Account
DirectAdmin Backup/Restore Account Window


To backup your account in DirectAdmin:

  1. Login to DirectAdmin
  2. Look for Create/Restore Backups option
  3. Select the things you want to include in the backup (like email accounts, email data etc)
  4. Click the Create Backup button. You will see a message Backup creation added to queue. You will receive a message via the DirectAdmin Message System when the backup creation is done with the subject Your backups are now ready
  5. You will also see the backup archive in the /backups/ directory of your domain. (example: backup-Jun-18-2017-1.tar.gz)

To restore a backup archive of your account in DirectAdmin:

  1. Login to DirectAdmin
  2. Look for Create/Restore Backups option
  3. Scroll down to the Select a File to Restore section
  4. Select a backup archive from the drop-down list.
  5. Click the Select Restore Options  button
  6. Select the things you want to restore (like email accounts, email data etc)
  7. Click the Restore Selected Items button. When done you will see a confirmation message: Restore Complete.

On the Backup/Restore Backups page there is also a link Click here for a list of your current backups. Click on it to go directly to the file manager-> /backups/directory.

Items that are available to backup/restore:

Website Data
Domains Directory: Backs up all user files for all domains
Subdomain Lists: Backs up the list of subdomains for each domain
E-Mail Accounts List for all domains (names and passwords)
E-Mail Data: Includes the messages from the Inbox, IMAP Folders, and webmail data.
E-Mail Settings: Includes the filters and the catchall address.
Forwarders: Includes all forwarding addresses.
Autoresponders: Includes all autoresponders and messages.
Vacation Messages: Includes all vacation messages and times.
Mailing Lists: Includes the list, digest-list and archives.
Ftp Accounts
Ftp Settings
Database Settings: Backs up all DB Users and DB Settings
Database Data: If ‘Databases’ is selected, include the actual DB data

The movie tutorial for this post:

Share this post:
Page 1 of 11
1 2 3 11