wget
command: It is a command-line utility and used to
downloads files over a network. wget is a free utility to
download files and available most of the Linux distributions.
Monday, 14 May 2018
How to rebuild corrupt RPMDB in Centos 6
While, working with rpm or yum package management tools in
Centos 6 and getting rpmdb database is corrupted. Follow the below steps to
resolve the database issue.
How to change database directory in MySQL server
Sometime, we need to change MySQL data directory due to low
space on the file system, save the actual data on any dedicated partition or
any network drives and enhance MySQL database performance etc. Mostly in
Linux based servers, MySQL uses /var/lib/mysql directory as default data
directory. Before do anything, take a cold backup or use MySQL dump to
take backup for databases. To change database location please follow these
steps:
How to zip and compress a directory/file in Centos7
In this
article, we are using tar utility for zipping directory or files. This utility
is installed by default on most of Linux distributions. The tar utility is
capable to create zip file and compress the same as well.
How to check PHP version in Centos 7
To verify
the installation and version of installed PHP by checking the version of PHP
using command or inbuilt phpinfo() function in php.
How to zip/unzip the directory in Linux with command line
This
article will describe, how to zip and unzip a directory and directory in Linux
using command line. Zip is a compression and file packaging utility which is
available for Linux, UNIX, Windows and various Operating systems.
How to install zip/unzip package in Linux Centos 7
Zip
is a compression and file packaging utility which is available for Linux, UNIX,
Windows and various Operating systems. This article will describe, how to install
zip/unzip packages in Linux Centos 7.
Saturday, 5 May 2018
How to install Nginx web server in Centos 7
Nginx is
a free and open source high-performance web server and also it is use for
reverse proxy. This article will describe installation of Nginx server on a
CentOS 7 using EPEL repository.
How to enable IP masquerading/forwarding on CentOS 7
By default, the IP
masquerading/Forwarding is disabled most of the Linux distributions. The IP
forwarding is required for LVS router to forward network packets properly to
the real servers and it should be enabled on each LVS router node on in the
kernel level.
Friday, 4 May 2018
How to resolve Clam AV Error while updating virus database
Clam AV
fails to start after update to v0.99.4. After the update and getting the below
error:
Thursday, 3 May 2018
How to fix - ‘Ifconfig’ Command Not Found on CentOS 6.x
The
network command line tool ifconfig is not installed by default on CentOS 6
Linux minimal installation. ifconfig command is available for most of the Linux
distributions and can be installed from default repository. Follow the below
steps to get installed the ifconfig command in centos 6.x.
Wednesday, 2 May 2018
How to disable remote SSH login for the root user
By
default the root access is enabled for outside world. For security reason it’s
not a good idea because any cracker can attempt to brute force your root
password and potentially get access to your system if they can figure out your
password.
It’s much
better to disabling the root user and allowing another regular user with root
user’s permissions.
How to add user with sudo privileges in Linux
Add a
user with administrative privileges that can ssh into the server and switch to
on root user using sudo.
Subscribe to:
Posts (Atom)