Administrators Tools

When you are an administrator, you need some tools to do your job 😉 In order to managing your websites, you should consider to use these tools.

1. SSh/Telnet client:

Help you connect to roots server and manage your server with commands.

My favorite ssh client is Putty, its FREE and you can download here: http://www.chiark.greenend.org.uk/~sgtatham/putty/

To access your root server, you must have: ips, connect Port (default:22) , password and username (default:root)

2. FTP Clients:

Sometime you need to connect to root directory of your host to upload/download website source, you can do this via Files Manager feature of your web control panel (Cpanel, kloxo, Directadmin…) but with FTP clients, everything is easier without web browsers.

Example: Filezilla (FREE) or CuteFTP (License) ….

FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.

Official website and its features: http://filezilla-project.org/client_features.php

Supported platforms: Linux, windows, Mac OS X

To access FTP server, you must have: ips, Port: 23, password and username

Continue reading “Administrators Tools”

Centos: How to change SSH Port

ssh nano
In order to secure your server, ROOT access. You should consider to change your default SSH port (Port 22) to NON-Standard port. And you make sure that new SSH Port is allowed by your server fireWall.

Simple Steps:

1. Use ssh client such as Putty to log in to your server with old port (default 22).

2. Change SSH config file /etc/ssh/sshd_config

nano /etc/ssh/sshd_config

If nano editor is not installed on server, use this command to install it

yum install nano

or
Use vi command instead

vi /etc/ssh/sshd_config

Find this line:

#Port 22

Change to your own port and uncomment that line. Example:

Port 1111

Then open new PORT on your server. If you use CSF firewall, just log in to WHM and open CSF control panel then edit TCP_IN port.
Continue reading “Centos: How to change SSH Port”

How to backup/restore database via SSH/Telnet

In order to back up your database via SSH/Telnet, you are required two things:

1. You have ROOT access to your server:

(VPS and Dedicated server only, thats not allowed on Shared hosting). Ask your hosting provider or check again the email they sent to you when your order was complete.

You need to know:

– Server ips

– Port (default: 22)

– Username (default: root)

– Password

2. An SSH/Telnet Client, such as PuTTy.

Download Putty here. (link)

Open Putty client then choose SSH connection type and enter your server ip address. (Host name or ip address)

putty client
Continue reading “How to backup/restore database via SSH/Telnet”