Use the chown command to change file owner and group information. Use the chmod command to change file access permissions such as read, write, and access.
How to Force fsck on Reboot
The system utility fsck (for “file system check”) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems.
Disable Recursion on Bind DNS Server
Log into SSH on your dedicated or cloud server.
# vi named.conf
Make sure following settings exists under Options { … } settings:
How to Limit the IP Address that sshd Listens
Log into SSH on your dedicated or cloud server.
You can edit the sshd_config file located in /etc/ssh/.
# vi /etc/ssh/sshd_config
High Memory Usage on a Dedicated or Cloud Server
The common philosophy with respect to system memory is that unused memory is wasted. Most operating systems, including both Windows and Linux maintain what’s called a memory “cache.” Technically this memory space is in use, however it is designed to be freed immediately if applications actually need the memory.
How to Install Updates via Command Line on Ubuntu
If you are running the server version of Ubuntu or choose to not use the GUI, you can upgrade Ubuntu to a newly released version through the command line apt-get utility.
Check that there is a new release available.
Make sure your current version isn’t too old to upgrade through packages.
How Do I Disable iptables Firewall?
Login as root user on your dedicated or cloud server.
Enter the following three commands to disable firewall.
Change Hostname CentOS / Ubuntu
Hostname change procedure on CentOS / Ubuntu
Open the terminal or login to the remote server using ssh client. Edit /etc/sysconfig/network file, enter:
# vi /etc/sysconfig/network
Install VSFTPD FTP Server for Ubuntu
Simply type the following command as a superuser (root) to install vsftp server:
# sudo apt-get install vsftpd
Once vsftpd is installed, you can modify the configuration.
The default configuration file is /etc/vsftpd.conf file.
Check Apache Version on a Dedicated Server
1. Login to your dedicated server as root user.
2. Use the following command:
# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.16 (Unix)
Server built: Feb 6 2012 11:41:41