Category Archives: Linux

Criteria for Selecting the Best WordPress Hosting Provider to Build a Website

Wordpress Web Hosting

At present, any person with minimum computer knowledge is able to build his / her own web page for several purposes such as promoting a business, sharing personal opinions and sharing photos, etc…

In order to create such web pages, there are various web applications are available on Internet, such as WordPress, Joomla, Drupal and Blogger. Now, imagine a user who decides to build his own website, blog or photo gallery and decides to hire a web hosting service provider.

Well, in order to install WordPress CMS, the first point you need to bear in mind is the selection of a web hosting provider that can suffice your requirements. No doubt, this is one of the essential points that need to be considered, as a bad choice can affect the quality of your service, security of website or blog, etc… read more

What are symlinks / symbolic links in Linux / Unix?

Symlinks are used a lot in Linux- and Unix-based systems so you may be wondering as to what exactly a “symlink” is.  If you have Linux VPS Hosting and you use SSH, you’ll often find many files in the file structure are symlinks.

What are symlinks used for?

Symlinks are a specific type of file that has a reference to a physical location on the Linux server hard drive – such as another file or directory that exists on the machine’s hard drive. The most common symlink you’ll likely come across when using an FTP client is the www and public_html directories. The www directory is a symlink to the public_html physical directory. So this means any files or directories uploaded to the www folder is the same as doing so directly in the public_html folder. The two that seemingly look like two separate folders are merely just one. read more

cPanel Would Be The Best Control Panel For Your Linux VPS Hosting

A web hosting control panel is a GUI (graphical user interface) used in the management of the server or hosting account. The graphics are easy to interpret so that even a layman would understand and get a hold of it in no time. There are different types of control panels available on the internet. Like :

Plesk :
H-Sphere :
Ensim :
DirectAdmin :
Interworx :
Helm :
Hosting Accelerator :
InsPanel :
CWIPanel: read more

Get Profits With Linux Reseller Web Hosting (Part- II)

Linux reseller web hosting is well known as cpanel reseller hosting. Maximum resellers prefer Linux reseller hosting. Linux is a popular open source operating system for a large number of existing online business owners and also a large number of upcoming online business owners. The demand of Linux reseller hosting is growing as per the growth of the web hosting market. The cause of the huge demand for Linux reseller hosting is its easily affordability, good stability, excellent security and huge popularity. read more

Get Profits With Linux Reseller Web Hosting

In the web hosting market, there are many kinds of web hosting plans. One of them allows you cheapest web hosting, one of them allows you flexible web hosting etc. But there is one more unique hosting plan which allows you to earn money with web hosting business, that is reseller hosting. Reseller hosting owners don’t have to setup an expensive data center or they don’t have to buy and maintain web servers even they don’t have to hire any technician to handle technical issues. In case of reseller hosting your hosting provider would be responsible for everything related technical to issues, maintenance, monitoring etc. And the reseller hosting owner can only concentrate on promoting his business. One more good point about reseller hosting is that reseller hosting owner gets more freedom and flexibility to create a good business strategy, promote their business and also concentrate on their core business. read more

Uses Of Sed Substitution In Unix Server

In this article, let us review some interesting workarounds with the “s” substitute command in sed with several practical examples.

I. Sed Substitution Delimiter

In the sed substitute command, users can use different delimiters like, @ % | ; :

We first need to create the path.txt file which is used in all the given examples

$ cat path.txt

Example 1 – sed @ delimiter: Substitute /opt/omni/lbin to /opt/tools/bin

If you substitute a path as ‘/’ and you can use @ as a delimiter instead of ‘/’. In the sed example below, in the last line of the input file, /opt/omni/lbin was changed to /opt/tools/bin.

$ sed '[email protected]/opt/omni/[email protected]/opt/tools/[email protected]' path.txt

Example 2 – sed / delimiter: Substitute /opt/omni/lbin to /opt/tools/bin

When you should use ‘/’ in path name related substitution, you have to escape ‘/’ in the substitution data as shown below. In this sed example, the delimiter ‘/’ was escaped in the REGEXP and REPLACEMENT part.

$ sed 's/\/opt\/omni\/lbin/\/opt\/tools\/bin/g' path.txt /usr/kbos/bin:/usr/local/bin:/usr/jbin/:/usr/bin:/usr/sas/bin /usr/local/sbin:/sbin:/bin/:/usr/sbin:/usr/bin:/opt/omni/bin: /opt/tools/bin:/opt/omni/sbin:/root/bin read more

Uses Of SSH Client Commands In Your Linux Server

Uses Of SSH Client Commands In Your Linux Server :

SSH allows you to connect to a remote computer – for example, your Web server. This protocol allows commands to be carried out on that computer, such as moving and copying files, creating directories (folders), and running scripts. A SSH client should be installed on your computer to be able to talk to the remote server.

A. The ls command

LS is stands for “list”. Ls helps user to lists all the files and directories in their current directory. User have to type ls and press Enter to find out a listing appear in the terminal window:

[email protected]:~$ ls
myfile.txt   myfile2.txt

B. The cd command

Cd stands for “change directory”. User can able to to move into and out of directories, much like double-clicking folders on his/her PC with cd command. Such as, if listed above is the directory containing user’s website, he/she can move into the directory as follows:

[email protected]:~$ cd

User can then do another ls to list the contents of the directory:

[email protected]:~/$ ls
cgi-bin   htdocs   logs

To move back up a directory, use cd .. (“..” means “the parent directory”). After use this, user can be back in original directory:

[email protected]:~/$ cd ..
[email protected]:~$ ls
myfile.txt   myfile2.txt

C. The pwd command

Its important to know your exact current directory. To find this out, type the command pwd (short for “print working directory”) and press Enter. The computer displays the full path to the current directory.

[email protected]:~$ pwd

D. The more command

To quickly browse through the contents of a text file on your server. Just type more followed by the name of your file, and press Enter:

[email protected]:~$ more myfile.txt Project Gutenberg's The Complete Works of Artemus Ward, Part 1 #1 of this seven part series by Charles Farrar Browne Copyright laws are changing all over the world, be sure to check the laws for your country before redistributing these files!!! Please take a look at the important information in this header. We encourage you to keep this file on your own disk, keeping an electronic path open for the next readers. Please do not remove this. This should be the first thing seen when anyone opens the book. Do not change or edit it without written permission. The words are carefully chosen to provide users with the information they --More--(16%) read more

Uses Of Grep Command In Unix And Linux Server

Uses Of Grep Command In Unix And Linux Server

The name, “grep” is indicative of the operation which this command performs. It is executed using the Unix/Linux text editor ed: g/re/p

* grep Command Syntax

grep'word' filename
grep'string1 string2'  filename
cat otherfile | grep'something'
command | grep'something'
command option1 | grep'data'
grep --color 'data' fileName

* Way To Search File With grep Command :

Search /etc/passwd for boo user:
$ grep boo /etc/passwd

User can force grep to ignore word case. Such as, match boo, Boo, BOO and another combination with -i option:
$ grep -i "boo" /etc/passwd read more

Uses of Tar Command in Unix and Linux Server

Uses of Tar Command in Unix and Linux Server :

For archiving purposes on the Unix platform, tar command is command to be used. Knowing the various tar command options will help you to be a master of the archive file manipulation.

A. Create an archive with tar command

* Create an uncompressed tar archive with option cvf

It is the most basic command to create a tar archive.

$ tar cvf archive_name.tar dirname/
Note :
c – create a new archive
v – verbosely list files which are processed.
f – following is the archive file name

* Create a tar gzipped archive with option cvzf

The above used tar cvf, can’t offer any compression. So, if you want to utilize a gzip compression on the tar archive then you can utilize the z option as follows.

$ tar cvzf archive_name.tar.gz dirname/
Note :
z – filter the archive through gzip


.tgz is similar as .tar.gz

* Create a bzipped tar archive with option cvjf

Create a bzip2 tar archive as shown below:

$ tar cvfj archive_name.tar.bz2 dirname/
Note :
j – filter the archive through bzip2


.tbz and .tb2 is similar as .tar.bz2

B. Extracting (untar) an archive with tar command

* Extract a *.tar file with option xvf

Extract a tar file with option x as shown below:

$ tar xvf archive_name.tar
Note :
x – extract files from archive

* Extract a gzipped tar archive ( *.tar.gz ) with option xvzf

Use the option z for uncompressing a gzip tar archive.

$ tar xvfz archive_name.tar.gz

* Extract a bzipped tar archive ( *.tar.bz2 ) with option xvjf

Use the option j for uncompressing a bzip2 tar archive.

$ tar xvfj archive_name.tar.bz2

C. Listing an archive with tar command

* View the tar archive file content without extracting with option tvf

You can find out the *.tar file content before extracting as shown below.

$ tar tvf archive_name.tar

* View the *.tar.gz file content without extracting with option tvzf

You can find out the *.tar.gz file content before extracting as shown below.

$ tar tvfz archive_name.tar.gz read more

Way To Increase Remote Session Time In Your Linux Server

Increase Linux server remote session time :-

Put the below option in sshd_config file under /etc/ssh/ directory.

ClientAliveInterval 180

[[email protected] ~]# cd /etc/ssh/
[[email protected] ssh]# pwd
[[email protected] ssh]# ll
total 200
-rw——- 1 root root 132839 Mar 31 2010 moduli
-rw-r–r– 1 root root 1827 Mar 31 2010 ssh_config
-rw——- 1 root root 3324 Nov 18 18:30 sshd_config
-rw——- 1 root root 668 Nov 17 00:49 ssh_host_dsa_key
-rw-r–r– 1 root root 590 Nov 17 00:49
-rw——- 1 root root 963 Nov 17 00:49 ssh_host_key
-rw-r–r– 1 root root 627 Nov 17 00:49
-rw——- 1 root root 1675 Nov 17 00:49 ssh_host_rsa_key
-rw-r–r– 1 root root 382 Nov 17 00:49
[[email protected] ssh]# read more