Author Archives: Donna Sam

Key To Get Success In Your Online Business (Part- II)

Choose a proper web hosting provider:

To get success in your online business, you have to select a suitable web hosting provider. Before selecting a hosting provider you have to search different factors to meet your goals and requirements. If you come up to the web hosting providers with your requirements, then they consider the variables which fulfill your requirements. If you participate in online marketing then you must have some particular requirements, your hosting provider would be responsible to take care of that. If the website is a high traffic, high income one, then the hosting quality and mode are highly critical. read more

Key To Get Success In Your Online Business

There are countless business owners in the world. Some of them are new and small business owners and some of them are old and big business owners. Now internet is a very easy option for all so, maximum of them business owners want to create an online presence. Business owners have to follow some important points to get success in online business. Those are as follows :
* Choose a proper web hosting plan.
* Choose a proper operating system.
* Choose a proper web hosting provider.

 
* Choose a proper web hosting plan :
There are many types of web hosting. Such as:
Shared hosting: In case of shared hosting, many websites are hosted in a same physical server. Means, many customers are share the same physical server and resources. This web hosting is the cheapest hosting plan in the hosting market. If you have a low budget for hosting your website then you can choose this hosting plan.
VPS hosting : VPS stands for virtual private server. VPS hosting is a middle option of shared hosting and dedicated hosting. In case of VPS hosting, more than one virtual server is created in a single server. Means, more than one customers share a single server but they can install any software or reboot their virtual server as they wish. VPS users get more flexibility than shared hosting users. If you have little bit more budget than shared hosting then you can choose VPS hosting. 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
/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/omni/lbin:/opt/omni/sbin:/root/bin

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
/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

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   mysite.com

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 ownsite.com listed above is the directory containing user’s website, he/she can move into the directory as follows:

[email protected]:~$ cd ownsite.com

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

[email protected]:~/mysite.com$ 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]:~/mysite.com$ cd ..
[email protected]:~$ ls
myfile.txt   myfile2.txt   mysite.com

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
/home/users/username/

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

Process To Check LAMP Version

When managing several servers with different operating systems and versions, you might not be able to identify the LAMP version being used, it could happen with the client too. Here is a small method to check the LAMP version.

1) Linux Version:-
[[email protected] ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)

[[email protected] ~]# uname -a
Linux node1.oriensoft.com 2.6.32-042stab032.1 #1 SMP Sat Aug 13 18:16:00 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux

As per above out put Operating System is RHEL 6.1 (64-Bit). 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

Note:

.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

Note:

.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
/etc/ssh
[[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 ssh_host_dsa_key.pub
-rw——- 1 root root 963 Nov 17 00:49 ssh_host_key
-rw-r–r– 1 root root 627 Nov 17 00:49 ssh_host_key.pub
-rw——- 1 root root 1675 Nov 17 00:49 ssh_host_rsa_key
-rw-r–r– 1 root root 382 Nov 17 00:49 ssh_host_rsa_key.pub
[[email protected] ssh]# read more