Shared Hosting vs. VPS Hosting

Shared Hosting

Shared web-hosting is when you (as the customer) host your website(s) on a web-host’s server with possibly several other people at the same time. It is like a public fitness center. Everyone from all over come and use the fitness center’s services. You do not know who they are, and they do not know who you are. However, you all still come and use the public fitness center.

Quick Note: “AUP” is short for “Acceptable Use Policy”.

1) Disk Space

Several shared hosts give you massive amounts of disk space for your websites. However, you must be careful to read the web host’s AUP since they may prevent you from using all your disk space you are paying for.

Also, it is best to stay away from any web-hosts who claim to give you unlimited disk space. At best, you might get to use a few GB of hard drive space and possibly be limited to how many files you can put onto your web-hosting space. Please remember there is no such thing as an unlimited hard drive, and it still costs those web hosting companies lots of money to buy new ones for their servers.

2) CPU usage

Many shared hosting companies will limit your website(s) CPU usage. If your blog has several plugins that take up a lot of CPU, and you have several web visitors, you may find your account suspended for heavy CPU usage. Not a good thing if this is your company website.

3) Memory usage

Many shared hosting companies will limit your website(s) memory usage as well. If you decide to import your company’s 1,000 products into your online web store, you may find out that you cannot complete this task, since you ran out of allowed memory from the web host. Not a good thing for your company’s website.

4) Bandwidth

Many shared hosting companies will give you plenty of bandwidth for your website(s). This should not be a worry to you, unless you have large files and/or many website visitors.

It is also a good idea to stay away from any web-hosts who claim to give you unlimited bandwidth. If you use an excessive amount of bandwidth on a “unlimited bandwidth” web-host, there is a good chance your account will get suspended for “abuse”.

5) Security

On shared web-hosts, there will be several people hosting their website(s) on the same server as yours. Not all these people have good intentions. Some may even be on there just for the sake of hacking into other people’s websites.

While the shared web-host should have safe guards in-place to prevent one customer from viewing another customer’s files, this may not always be the case. If you are running a company website (especially an online e-commerce store), hosting the website on a shared web-hosting account is probably not a good idea.

6) Price

Usually shared web-hosts are not very pricey, but that is not always the case. You might even find one for $1.99 per month. Remember that the cheaper the web-host is, usually the cheaper the service is as well.


VPS Hosting

VPS web-hosting is when you (as the customer) host your website(s) on a virtual web-server on one of the web-host’s servers. The advantage to this is that you have much more control. You get your own hard drive space, memory, and control over what services to put on your web-server (as long as the web services do not go against the web-host’s AUP).

1) Disk Space

While you will not get as much disk space (as compared to shared web-hosting) without costing you a lot of money, you still can get a decent amount of hard drive space, at a not-too-high of cost.

2) CPU usage

Many VPS companies should give you some guaranteed CPU power. If your blog has several plugins that take up a lot of CPU, and you have several web visitors, the VPS host might temporarily increase your CPU power. However, always read the web-host’s AUP to see how they handle this issue.

3) Memory usage

Many VPS companies should give you some guaranteed RAM. If you decide to import your company’s 1,000 products into your online web store, and you use up all your guaranteed RAM, the VPS host might temporarily give you more RAM to complete the task. However, always read the web-host’s AUP to see how they handle this issue.

4) Bandwidth

Many VPS companies will give you plenty of bandwidth for your website(s). This should not be a worry to you, unless you have large files and/or many website visitors.

5) Security

On VPS, all virtual servers should be sand-boxed from each other (keep one VPS customer from prying into another VPS customer’s files and whatnot). If the VPS host does not sandbox the VPS accounts, do not use the VPS host. Find another one.

6) Price

VPS services are usually pricey. However, you might find one for $19.99 per month (or less). Remember that the cheaper the VPS host is, usually the cheaper the service is as well.


Posted in Internet and Servers

Everything Should be Open Source?

Have you ever heard the phrase “everything should be open source”? Do you know why you use open-source software, or do you just use open-source software because a friend recommended it to you or it is the “thing to do”?

I used to frequently look for open-source software a few years ago. My attitude on that changed. I now, for the most part, use whatever I need to get the job done – open source or not.

For example, I use WordPress. That is open-source web software. I use it because it is free and because it fits my needs. Can I use a proprietary solution? Probably, but why would I do that since WordPress fits my needs?

Ask yourself these six questions if you are frequently tempted to always choose open source. If you can answer “Yes” to at least two of these questions, then in my opinion, you are good in choosing the open-source solution over a possible free closed-sourced or paid solution.

1. Do I know anything about the programming language(s) that this open-source software is written in?
2. Do I really need to make any changes to the open-source software, or is having it open source just “the thing to do”?
3. I do not require paid technical support.
4. Does the open-source solution offer features that are even close to the features of the paid (or free closed-source) solution?
5. Does the open-source software have good documentation?
6. Does the open-source software work with the operating system you are most comfortable using (albeit Windows, Linux, FreeBSD, MacOS X, etc.)?


Posted in Computers, Internet and Servers, Operating Systems, Software

Response to “Antivirus – Community Ubuntu Documentation”

This is a response (as of 10-06-2013) to the following sections on the Community Ubuntu Documentation wiki page “Antivirus” (https://help.ubuntu.com/community/Antivirus):  No disrespect is intended with my replies.

1) “Possible reasons Linux is less prone to malware”

2) “Root User vs normal usage”

3) “Market Share Myth”

The Ubuntu documentation is in red and my replies are in black. All quotes from the wiki are direct quotes.

——————-

Possible reasons linux is less prone to malware

  1. Programs are run as normal user, not Root User
  2. More eyeballs on the code, nowhere for malware to hide
  3. Vast diversity makes it difficult to reproduce flaws in a system
  4. All software and drivers are frequently updated by Package Managers
  5. Software is generally installed from vast Repositories not from unfamiliar websites
  6. Developers/programmers are recognised as Rock Gods rather than treated with contempt
  7. Elegant, secure code is admired & aspired to. Hasty kludges are an embarrassment

Response to #1:  Both Windows (2000/XP/Vista/7/8/8.1/10) and Ubuntu Linux can run software as a normal user.

Response to #2:  Myth. If anything, there would be so much code (like in the Linux kernel) that no one could constantly go through all of the code to make sure that no “monkey wrenches” have been thrown into the works. 🙂

Take a look at: http://scalibq.wordpress.com/2013/05/15/the-myth-of-linuxopen-source-security/

Response to #3: I assume you mean many different types of hardware when you said “vast diversity”. That is not always true. If there is a flaw in the Linux kernel, technically it could affect all Linux systems that have not been patched.

Response to #4:  This does not guarantee that no viruses can take over your system. This is a poor argument.

Response to #5:  You are assuming that the servers hosting the files for the repositories are not infected with a viruses. This does not guarantee that no viruses can make their way into your system. This is a poor argument.

Response to #6:  …no comment…

Response to #7:  Not all software for Linux is secure. For example, the BIND DNS server has had multiple security issues over a 15+ year span. Not good.

“A computer virus, like a biological virus, must have a reproduction rate that exceeds its death (eradication) rate in order to spread. Each of the above obstacles significantly reduces the reproduction rate of the Linux virus. If the reproduction rate falls below the threshold necessary to replace the existing population, the virus is doomed from the beginning — even before news reports start to raise the awareness level of potential victims.” by Ray of http://librenix.com

A virus, if programmed correctly, could just lay dormant until other computer(s) are detected for possible infection can be found. Most viruses, in my opinion, will only get as far as the computer it infected (whether on Windows or Linux).

Root User vs normal usage

“For a Linux binary virus to infect executables, those executables must be writeable by the user activating the virus. That is not likely to be the case. Chances are, the programs are owned by root and the user is running from a non-privileged account. Further, the less experienced the user, the lower the likelihood that he actually owns any executable programs. Therefore, the users who are the least savvy about such hazards are also the ones with the least fertile home directories for viruses.” by Ray of http://librenix.com

If the virus uses an exploit in the Linux kernel, it may not matter whether or not the current user has permission to access other files. If you have SE-Linux enabled (assuming you are using a distribution that includes it), that may help prevent the virus from functioning (or at best, functioning correctly).

Market Share Myth

Some people say that linux suffers less from malware because it has less than 1% of the desktop market compared to Windows 90% & suggest that if linux ever increases in popularity then it will suffer just as badly. This argument is deeply flawed & not just by the spurious statistics. Linux dominates server markets(NB: this link dead). Why struggle to write a virus that might knock out a few thousand desktops when knocking out a few thousand servers could knock out a continent? Yet it is the desktop machines that are commonly exploited.

If 90% of computer users switched to Linux overnight, you would see a huge difference in the amount of malware you have for Linux.

What I think you do not understand is that hackers will go after targets that are easy and rich in “bounty”. In my opinion, most Windows users do not understand computer security (and the same would go for Mac OS X and several Linux users). They will click on just about anything, download just about anything, open e-mail attachments without observing if anything is out of the ordinary, etc. It is not that Windows is easier to hack than Linux. It is because there are many users that are not knowledgeable about computer security that makes it easier for the hackers to gain access to Windows computers.

Hackers know they have a better chance with Windows users than others. If even 50% of the Windows users suddenly went to Linux, you would have such an increase in malware (albeit not as much of an increase as you would have with 90% of Windows users switching over to Linux), that you may not be ready for it.

I used to use Linux to run a DNS resolver for the house and shop, but that does not mean that the DNS resolver was 100% secure just because I ran it on Linux. I ran it on Linux to save RAM, not for security. If I had let it go (without running any updates), I would have eventually gotten hacked.

“Why struggle to write a virus that might knock out a few thousand desktops when knocking out a few thousand servers could knock out a continent?”

That is speculation. How do you know that all the computers running the power grid, gas systems, etc. are all running Linux? Some could be running UNIX, Mac OS X, or even Windows.


Posted in Computers, Internet and Servers, Operating Systems, Software

Is Linux Immune to Viruses?

The idea that Linux does not get viruses is a myth (http://scalibq.wordpress.com/2013/08/11/hand-of-thief-commercial-linux-malware-kit/).

Windows may have more viruses, but that does not mean that Windows is guaranteed to get a virus. If you open e-mail attachments from people you do not know, run programs without scanning them first, setting insecure root password on your computer, no amount of Windows or Linux can help you there! 🙂


Posted in Operating Systems