Archive

Archive for the ‘Linux Hosting’ Category

What Is LAMP?

January 28th, 2012 No comments

We saw ‘What Is WAMP And WAMPServer’ in the last post, here we are going to learn about ‘LAMP’ which is nothing but a substitute to WAMP when one has hosted his website on ‘Linux Hosting Server’. LAMP consists of Linux, Apache, MySQL and PHP/Perl/Python, where Linux is an operating system, Apache is a Web Server, MySQL fulfills database requirements and PHP/Perl/Python work as scripting languages. The idea of LAMP was originally invented in 1999 by ‘Michael Kunze’ in a German magazine, though the four elements were not approached to work together but in the later period these open source applications were made available for free of cost and as a bunch called as ‘LAMP stack’. Because of having the ability to make a strong web application platform, LAMP gained the popularity in very early stage in such a way that in today’s market LAMP services are available as by default with almost all the website hosting services providers.

There are multiple security options available while using LAMP, you can configure Apache and PHP to remain hidden so that your information would not be leaked by any possible hacking attacks. You can find more about LAMP security at :- Is Your ‘LAMP’ Secure Enough?. LAMP tools are easily available with the features of easy configuration and being very robust. Being as an open-source application, LAMP is supported by the larger community, which constantly adds features and development to meet the requirements of it’s users. For deployment, configuration and maintenance of LAMP, one needs to spend very little effort and time, furthermore you don’t need any type of administrative details for it.

Is Your ‘LAMP’ Secure Enough?

October 21st, 2011 No comments

As Security is one of the most important concerns in the internet world for webmasters, they should always keep their security system arrangements up to the mark, because hackers are always searching for new possible techniques to control your website and misuse it for their motive. Security measures can be classified in many categories, but a securing a website should cover security of web application as well as security of the web hosting server on which the web applications and website are hosted. Here I would like the share the information over security options on a LAMP (Linux, Apache, MySQL and PHP) as it is the most widely found combination among Linux Hosting Servers.
Instances in which a Web Hosting Server responds to the web browsers which are used by the visitors of the particular website residing on that particular website, that server provides a particular ‘header information’. Apache web servers are known for publishing many details of its environment as well as sometimes PHP also can be found responding in such header parts. Hackers may take advantage of this exposure in such headers of you website. Furthermore if he succeeds in knowing the factors like the type of web hosting services, type of server used, the web hosting platform, the version of scripting engine and other applications then it becomes an easy task for hackers to trace specific bugs or security loopholes. This makes the task easy for hackers to achieve their motives.
But still one can configure both Apache and PHP in such a way that it will remain hidden and will keep the possible attackers in the dark.

FTP Vs. Rsync?

September 27th, 2011 No comments

Rsync is a great utility to manage downloads of transformation of Linux hosting servers and it is very easy to set up on a web hosting server. After technically studying it one comes to know that it copies only diffs of files which have been actually changed and compressed, through SSH. And this copying process is conducted without any scripted FTP session or any other format of file transfer script.

Following are a few concepts explained which are involved in ‘Rsync’ operations.
Diffs – Not the whole file, but only the changed portion of those files are transferred. This selective transformation makes the speed of update process faster. Unlike ‘Diffs’ FTP transfers the entire file though the change is very tiny.
Compression – The transferred small portions (Diffs) of the files are compressed while the transformation process is going on and this reduces the time required for transferring the Diffs. This also reduces the load on networks used for transformation.
SSH Encryption – With ‘Rsync’ security is provided on (a) higher level than the FTP because the stream from ‘Rsync’ is passed through the ssh protocol which encrypts your session and not the RSH.
Rsync can not be used with a windows web hosting server so one should approach other suitable utilities like ‘Robocopy’ or ‘Richcopy’.

Last Line Commands In VIM Editor

September 27th, 2011 No comments

In previous posts we saw Cursor Movement commands, Text Modification commands, and commands used in Input Mode. In this post I would like to share the last line mode commands used in a VIM editor.
So following are the last line commands of VIM editor.
w - this command is used to save the file with the same name when you opened it to edit it.
w filename -  This command works as same as we use ’save as’ with windows applications, which allows you to save the new copy of a file with your desired name. The substitute command to ‘w filename’ is ’sav filename’, the same task of saving a copy of file with other name can be achieved by using ’sav filename’ command.
n.m w filename -  this command is used for saving the content of line number ‘n’ to ‘m’ to the given file name. If you want to refer to the last line number (whatever it may be) then you should use ‘$’ instead of ‘m’.
e filename - This command is used to edit another file than the current one. It’s handy for toggling among the multiple files when used with the following ‘e#’ command.
e# - After using ‘e filename’ when you want to come back to previous file then you should use ‘e#’ command.
e! - This command is used to discard the changes made to a file.
r filename – This command reads the contents from a file and inserts it below the current line.

So these were last line VIM commands used to operate a Linux hosting server.

Text Modification And Input Mode VIM Commands

September 23rd, 2011 No comments

Commands for Text Edition

In this post I have described the VIM commands used for text modification and commands used through Input Mode.
x - to delete the character which exists under the cursor.
rn - while using this command ‘n’ to be replaced with the character which you want to place in the place of any character under the cursor.
cw - this command puts you into input mode by replacing the current word at which cursor exists.
dw- to delete the current word on which cursor exists.
dd - to delete the current line in which cursor exists.
yy - to copy a line into the buffer.
P - to paste the copied line where the cursor exists.

Input Mode Commands

i - to insert text before the cursor.
I -  this works similar as ‘i’ but starts inserting text from the beginning of the current line.
a - to append text after the cursor.
A - this works similarly as ‘a’ but starts appending text at the end of the current line.
R - this command replaces characters which is currently under the cursor, it works similarly when we type the characters in windows with the insert key on. In short it is used for overwriting the current characters. To stop this command you should press the ‘Esc’ key.
o - to open the new line under the current line.
O - to open the new line above the current line.
Thus we saw the different VIM commands which are very handy while working on a Linux Hosting server or a Linux based system.

Cursor Movement VIM Commands In Linux

September 23rd, 2011 No comments

In previous post we saw how important VIM commands are for handling a Linux hosting server, these commands basically come under Command mode of VIM
h - to move the cursor to left side
j - to move the cursor to down side
k - to move the cursor to up side
l - to move the cursor to right side
n| - to move the cursor to a particular character of the line, this is done by giving the that place’s number and if its valid the user notices a beep sound from the system. Entering just ‘|’ will move the cursor at the starting position of a particular line.
0 - to move the cursor at the beginning of the line
^ - to move the cursor at the first non blank character of a particular line.
$ - to move the cursor at the end point of a particular line.
fx - in this command you need to use any desired character in place of ‘x’ to move the cursor at the next appearance of that particular character used in the pace of ‘x’ within a single line.
Fx - it works similarly as ‘fx’ but in the reverse order, means you can fine previous appearance of the character placed instead of ‘x’.
[wW] - moves the cursor’s position word by word.
[bB] -  moves the cursor’s position word by word in reverse order.
H- to move the cursor at topmost line of your screen.
M -  to move the cursor at the middle line of your screen
L - to move the cursor at lowest line of your screen.
Ctrl-d - to scroll down the half page.
Ctrl-u - to scroll up the half page.
Ctrl-f - to scroll down the full page.
Ctrl-b - to scroll up the full page.
nG - in this command ‘n’ to be replaced by your desired number, which moves you to that particular numbered line of a file. i.e. if you typed 81G then you will be taken to the 81st line of that particular file.
Mx - in this command ‘x’ can be replaced by any single letter to which you want to comeback after going elsewhere. In short it is used for setting a line with a marker to be visited after the next move.
” - its command with two single quotes, and used for switching the positions simultaneously between two required places. In short it acts as a toggle.

An Overview of VIM Editor In Linux

September 22nd, 2011 No comments

Linux is becoming popular day by day as an operating system for managing web hosting services among webmasters. Due to its cost effectiveness Linux Hosting services are preferred on a large scale. As Linux is a command driven language, one should be very well familiar with the various editors which are used while operating a linux based computer system. VIM is known as one of the most popular editor among Linux users. VIM editor is an advance version of VI and it plays an important role while handling the different tags. One major advantage of using VIM editor on a Linux server is ‘it consumes very less amount of resources of the system. Surprisingly VIM also works without any interruption on a slow speed network also. There is no use of computer mouse can be experienced while working with the VIM. Many similarities can be found between the Microsoft based ‘‘Notepad’ and VIM.

VIM Operation can be divided into main three modes as following.

Command Mode :- By default you come to this mode when you start the VIM. In this mode, input text is treated as command, most of these commands can be entered with a single text character. One need to take care of upper and lower case while using these commands as they are case sensitive. Few commands can be used with combination or in a prefixed way with qualifiers.

Input Mode :- This mode enables you to use the all characters as a plain text, whichever key (except ‘Esc’) you press is treated as a text input by VIM. The text is not treated a command hence the only way to exit from the Input mode is pressing ‘Esc’ key. By pressing ‘Esc’ key you return to ‘Command Mode’

Last Line Mode :- Commands to the ex editor, on which the VIM is based, can be entered in this mode. You need to type colon ‘:’ from the Command Mode for entering in to Last Line Mode. ‘:’ and your typed text is shown on the last line of your screen and that’s why this mode is called Last Line Mode.

Forgot Your Linux Root Password?

September 22nd, 2011 No comments

Forgetting passwords is one of the most common incidents when one works with a lot of computer devices and web hosting servers. Not remembering the password and being unable to access the computer or server is very frustrating. But fortunately you can reset the forgotten passwords on both Linux Hosting and Windows Web Hosting accounts. Here I would like to share the process of resetting the root password on a Linux Hosting account.

  • You can reset your password by rebooting a system in single user mode.
  • After booting your server, you can face GRUB boot loader where you should select kernel by using arrow key, because from it you can boot the system.
  • Press the key ‘e’ to enter in to edit mode for editing a entry.
  • Choose the second line starting with the word kernel, and again press the key ‘e’ to append to the ‘single user mode’.
  • To the end of line insert a space and type ’s’ and hit ‘Enter’ button.
  • Now press ‘b’ for booting the system kernel in single user mode.
  • You will come to shell prompt where you need to type ‘passwd’ command to reset the password.
  • Enter your new password and hit the ‘Enter’ key.

That’s it. Here you have successfully reset your password. Now you can reboot the system for normal use.

Apache Patches And Its Importance.

August 30th, 2011 No comments

Apache Servers are one of the most important web server softwares of Linux hosting services and generally it has no demands from the webmasters opting for Windows Web Hosting services. A patch can be defined as a small application or a program of software designed for fixing the existing problems or drawbacks with it’s current version. This fixing can be in terms of vulnerabilities, bugs, inabilities and uncompetitiveness compared to other similar competing softwares. In short the patch is the difference between the previous version and upgraded version of a software. Similarly Apache patches are designed to improve the performance of Apache within different areas. Official Patches released by Apache can be treated as upgraded versions of Apache. If one has the Apache source product installed then the patches will be installed or updated automatically, otherwise the files will be there in the actual patch and one can find them under any of the ‘reloc’ directories. Being an open source a person can develop a patch as per his requirements and can also share it with others. But though the patches are developed with the purpose of fixing problems and bugs, a wrongly developed patch can affect inversely with the performance of Apache. Few of the developers also have provided the patch management softwares in the market to manage the patches with the ease. Even few of such softwares can update multiple computers at the same time withing multiple networks.
The range of these patches is very wide and one can choose from the basic home editions to ones which can mange high number of commercial computers networks. The choice is available according to the webmaster’s needs to make their web hosting services more suitable for their website.. Patches related to improvising security features are supposed to be most popular patches among webmasters.

Note : The official patches downloads are available at -  http://httpd.apache.org/download.cgi

How To Choose An Operating System For Web Hosting?

August 17th, 2011 Comments off

An Operating system’s basic function is to manage all the hardware and software components held by a Computer system which can be also a Web Hosting server. So far Hardware components are concerned there are many things like Diskspace, Network, CPU and RAM which play a key role in running a web hosting server without any interruption. For the efficient use of these all components one should make sure about the following factors while choosing the web hosting services platform or an operating system. This selection also depends upon how GUI conscious a user is?

Popularity and Scope.

Number of Operating systems are available in the market containing various versions of the same operating system. But still Microsoft’s Windows and the widely known open source language ‘Linux’ are majorly considered as two of the highest demanded web hosting platforms. These two are so popular as they made web hosting services providers to provide the services including their names like Linux Hosting and Windows Web Hosting.

Compatibility

Different operating systems have different compatibilities so its essential to make sure that the Operating System you are selecting is compatible enough to run all required softwares and application on your web hosting account. Few applications like ASP, .NET, MsSQL are compatible with Windows based platform only and can not be run on a Linux based platform, but on the other hand Linux is capable of running the applications like MySQL and PHP which are cheaper and as efficient as the applications supported by Windows.

Cost

This is one more sensitive factor for the new webmasters and small scale organizations who run their websites with a limited and tight budget. As most of know that Linux hosting is cheaper than the Windows web hosting, such webmasters can go for it if they find all the requirements are getting fulfilled with it.

Future Upgrades

Any website make progress day by day in terms of visitors and the containing data, so by analyzing your website’s future requirements you should check either the Operating system is easy to find upgrades or not?

 
 

Need Help ?

-- Client Area
-- Sitemap
-- Help Center
-- Tutorials

Resources

-- Web Hosting Forum
-- Web Hosting Blog
-- Knowledgebase

Partners

-- Affiliate program

Legal Information

-- Terms of Service
-- Service Level Agreement
-- Privacy Policy

Toll Free : 866 662 0909
1.213.255.7012 &
1.302.294.5628