What Does Unix-Like Mean

What Does “Unix-Like” Mean?

There is so much tech terminology and so little time – so it helps quite a bit when we can think of things within categories. In the case of operating systems, there are essentially two. There are the ones from Microsoft, descendants of Windows NT (for “new technology”). On the other side are basically the remainder of options. These other systems – such as Chrome OS, Orbis OS, iOS, Mac OS X, Android, and Linux – all have a code structure that is loosely described as “Unix-like.”


UNIX & its many offspring


We can start to understand the term Unix-like by looking at Unix construction and the operating systems created with it as their basis. Coders at Bell Labs, an AT&T facility, created Unix in 1969; Ken Thompson is the specific person credited with its development by the Linux Information Project.


Many technologists and organizations have developed operating systems from Unix over the years. However, there are generally two branches of Unix’s “next of kin.”


One branch was within education. The chief example is the Unix-like, open source OS Berkeley Software Distribution (BSD). This system is built into such further offshoots as FreeBSD, NetBSD, and OpenBSD. In fact, BSD was used to create NeXTStep, which was in turn used to design Mac OS X (from which iOS was developed). In fact, the operating system of the PlayStation 4, Orbis OS, was coded with BSD as its foundation.


The GNU project, an effort launched by Richard Stallman to aid in making licensing terms loose enough to facilitate free use of programs, was inspired by the tightening of language within AT&T’s Unix agreement. MINIX was a Unix-like system that was intended for use within academia, and Linux is a descendant of MINIX. When we use a Linux OX now, we are actually using GNU/Linux, notes Chris Hoffman in How-To Geek – because these systems combine a Linux kernel with numerous GNU utilities.


GNU/Linux (otherwise, and commonly known simple as Linux) is not a straight offshoot of BSD. However, it is similar because it uses Unix as its initial structure and also grew out of scholarly circles. Many different operating systems – notably Android, Steam OS, and Chrome OS but also ones used on many devices – are rooted in Linux.


The above systems were all a single side of development from the original code, the educational offshoots. The other side was commercial systems that were created, with many different companies wanting to promote their own version. These systems are now much less prevalent, but they have included AT&T UNIX, HP-UX, IBM-AIX, SCO UnixWare, SGI IRIX, and Solaris.


What do we mean by “Unix-like”?


What does the term Unix-like mean specifically, though? It is a blanket way to refer to many different operating systems that all share the same common structure – as opposed to the one used by Microsoft. Unix-like also grew from confusion and debate over what should be considered a Unix system.


When we call an OS “Unix-like,” that generally will mean that the source code of the OS (the version of the software as it was originally coded) is directly traceable to, has similar properties to, and is explicitly based on Unix. Examples are Compaq’s True64, Solaris, IRIX, HP-UX, and IBM’s AIX.


The umbrella-term Unix-like also refers to clones of Unix. A clone is software that performs in a similar way to other software but does not have the same source code.


The way that the prominent Unix clones act is so, well, er, Unix-like that often computer scientists and expert technicians simply refer to them as Unix. These systems should be understood as clones, though, and not Unix-based but certainly Unix-like. These clones include the BSDs (Darwin, FreeBSD, NetBSD, OpenBSD) Linux (in all its distros), MINIX, Cygwin, and QNX.


For the most part, a Unlike-like OS will have most of the additions and elaborations that were appended to the original at the University of California – Berkeley. These features, often called the Berkeley extensions, contains the vi text editor, virtual memory (enabling simulations of extra memory by the hard disk drive), transmission control protocol / internet protocol (TCP/IP, the primary protocol for the internet and local networking), and C shell (csh). Since these capabilities from the Berkeley extensions are so core to the functioning of Unix-like systems, people have sometimes posited that modern systems of this type should be called “Unix/Berkeley” (or “Unix-Berkeley-like”?).


Now let’s look at BSD directly: this OS, short for Berkeley Software Distribution, is a Unix clone that was written at the University of California in the 70s and early 80s. Generally BSD and its offshoots are called Unix; actually, one version was even called BSD UNIX 4.0 (October 1980).


Controversy related to the UNIX name


UNIX is the initial name of the operating system that was created at Bell Labs – that part we know and is indisputable. The way that the term has been understood since that point has become much fuzzier. UNIX became a trademark, and an association created in 1996, called the Open Group, eventually acquired ownership of it. The Open Group states that operating systems should only be called UNIX if they agree with the body’s Single UNIX Specification and pay them a sizable fee. In this sense, it is possible that a system could be called UNIX legally even if were dissimilar to the original and did not contain any of its source code.


Apple has questioned the legitimacy of the UNIX trademark – claiming that the term is generic and should not be protected by the government. Apple actually has stated on its website, “Beneath the surface of Mac OS X lies an industrial-strength UNIX foundation.”

The Open Group and Apple have been sparring over usage in this manner.


A couple key UNIX or Unix-like characteristics


Key design characteristics of the original version of Unix are shared by today’s modern operating systems.


One of the basic centerpieces of the way Unix is constructed is that you have small utilities that are fine-tuned to perform single tasks. When you interact with the OS, you are able to leverage these tools in part by blending them, via pipes or otherwise, to carry out more sophisticated activities. By elaborating on modules in this manner and combining utilities, shell scripts also become simpler.


Another aspect of Unix that makes it special is that there is just one file system through which software is able to exchange data and interact. All components of the computing ecosystem become represented by files within this model – including special files with system details and even hardware. The contrast to this architecture is the drive letters of Windows (C, D, etc.), a format that Microsoft brought over from DOS. In contrast to breaking everything up into drives, there is one unified directory hierarchy on Unix.


What does it mean to have full root access?


You will sometimes hear coders and others discussing infrastructure talk about full root access. Full root access means that you have complete superuser privileges over your system – administrative-level control. The root user is unique to Linux and other Unix-like operating systems.


Do you want super-fast performance and root access? At KnownHost, our managed VPS hosting plans come with full root access for complete control. Compare plans.

Read More

Root Access for Your Website

What is Root Access? What Can You Do With It?

Who cares about root access? Do you need it? If you do, what can you do with it? Learn about the Linux root, what it can do for you, and how a Unix-like operating system is organized as an upside-down tree.


  • Does it matter if you write root or Root?
  • The root user: the Linux version of Windows admin
  • What exactly is root access? (possible sources of confusion)
  • Linux as an upside-down tree
  • What can you do as root?
  • How to get root access for your website


Why is root lower case?


First, let’s get into root vs. Root. It is possible for a person to argue that this piece should have been entitled, “What is root access?” to make it clearer that the root user is in lower-case.


Remember that the root user is specific to Linux, BSD (Berkeley Software Distribution), and other Unix-like operating systems (see the next section regarding “Unix-like”). The bulk of Linux is written in C. Like some other computer languages (C++, Java, Ruby, XML, etc.) and in contrast to others (Pascal, SQL, Ada, etc.), C is a case-sensitive coding language. Because of that, well, it matters whether you write root or Root. Why do people choose lower-case over the capitalized version of a word? Let’s look at the discussion of why it might be used, or not used, to name a local variable – from a relatively popular post within Software Engineering Stack Exchange.


In the post, the user oscilatingcretin [sic] says he gets a lot of grief from other developers for capitalizing the first letter in words within his local variables. Standardly, coders will use employeeCount and firstName, as examples. Instead, oscilatingcretin would use EmployeeCount and FirstName in those instances. He uses capitalization across the board – for constants, properties, variables, return methods, void methods, etc. He notes that he even uses that same model within Javascript.


Why does this decision bother people? Well, because there is a certain logic to the non-use of capital letters in that context. The idea is that initial-caps of words – or “proper case” – within case-sensitive code is typically only a convention that is applied to void methods and properties; you should start with the lower case for methods that return a value and local variables, says this perspective.


Oscilatingcretin notes that he has too often felt that the supposed need to use this convention is perhaps more arbitrary than it is rational – although he does note that he has “never needed a casing convention to tell me whether or not something is a local variable or property” because he has “always used a very intuitive naming convention.”


The bottom line is that you should write root without a capital letter; and if you want, you can question whether the lack of a capital letter makes sense.


The root user: the Linux version of Windows admin


Have you worked with Windows servers? Then you are probably familiar with the administrator account. That, like root, is an example of a superuser account that is designated for system administration. The superuser name will vary depending on the operating system (OS).


It’s important to understand scope, so what exactly do we mean by Unix-like? According to the Linux Information Project, Unix-like is a term applied to computing operating systems to mean that it has numerous attributes that are similar to UNIX (created at Bell Labs by Ken Thompson in 1969) and the systems that followed soon after it.


A superuser account such as root is able to edit whatever server files they want and perform any other tasks without getting blocked due to a lack of sufficient permission. Specific tasks that you can accomplish when logged in as root are covered in the “What can you do as root?” section below.


What exactly is root access? (possible sources of confusion)


Within Linux or another Unix-like system, the root user – accessible with dedicated and some VPS servers – has overarching file access and command privileges. A term that can often be used interchangeably with root user is root account. The notion of root access can become a bit more muddled when you look at similar ways in which root is used within Linux, BSD, and similar (i.e. Unix-like) systems. Those are:


  • root directory (/) – The root directory is the top-level directory. To look at it from the bottom up, your files will typically be contained within subdirectories, which in turn are within directories, all of which are included in the root directory. A forward slash (this character – /), indicates the root directory.


  • slash root (/root) – Although this may sound like a sloppy effort at harvesting ingredients for sarsaparilla, it is actually the home directory of the root account (/root). In other words, it is the main place where the root user’s files (configuration and otherwise) are stored. Typically it is the location where a user will start when they log into Linux. Remember that the forward slash designates the root directory; that means slash root is a subdirectory of it. Any typical (non-root) home directories populate within a different default subdirectory of root, slash home (/home).


  • root privileges – This term refers to the capabilities that the root user has to control the system, distinct from those of other users. The root account is the king and queen of the castle, as described above. It has 100% management control, with full access to every command and file. Let’s get into these privileges in the next section.


  • rootkit – You may want root privileges, but you don’t want to get them through a rootkit, no matter how user-friendly its name may sound. A rootkit is applications that are clandestinely placed on a server by an unauthorized party, often for malicious reasons. The Linux Information Project notes that “well designed rootkits are able to obtain root access… and to hide most or all traces of their presence and activities.”


Linux as an upside-down tree


To better understand how the concepts in the above section interrelate, this account is called root because it has exclusive write permissions within the root directory – i.e. it can change any files contained therein.


The root directory is called that because the hierarchy of a Unix-like OS is designed to be similar to a tree, with everything sprouting and branching off from one directory that serves as the roots. Flip the tree over, and you see the hierarchy, with root on top.


What can you do as root?


This question could be rephrased as, “What are example root privileges?” That is essentially what we are talking about with privileges is the ability to do other stuff on your dedicated or VPS server (the latter provided you have full root access). Here are 5 broad examples of what you can do within this account:


  1. 1. Edit whatever files you choose
  2. 2. Change the system however you want
  3. 3. Provide and remove permissions to other accounts (which will affect whether they can read, change, or execute certain directories and files)
  4. 4. Install software server-wide (MySQL, Apache, etc.)
  5. 5. Set up configurations for software throughout the server


How to get root access for your website


You can get root access on a dedicated or virtual private server, provided this feature is available through your hosting provider. With a good service, logging in as root should be a snap. At KnownHost, support is something we pride ourselves on, so you can rest easy knowing we’ve got your back. See our full-root-access fully managed VPS plans.

Read More

Finding the Right Hosting Solution for Your Database

Finding the Right Hosting Solution for Your Database

Often when business owners think about hosting solutions, they’re operating within a website hosting mindset. This is typically what business owners are really concerned about when it comes to hosting. After all, that’s generally what people associate with hosting companies. They provide a way to put your website online so you can sell things or blog or whatever your business model is.


But, depending on your specific business, it’s not just website hosting you need to worry about. Large e-commerce sites or even large-scale informational sites have to worry about their databases as well. Any business that receives, manages, and uses huge amounts of information has to be concerned about the ability to process it all via a database. In fact, some businesses are only concerned about finding a hosting solution exclusively for their database needs. Whatever camp you happen to fall into, a managed VPS can provide you with the hosting solution you need to run your business.


You need to take your database hosting just as seriously as you would your website hosting. While poor performance and downtime have immediate, easy to see negative results on your business in the form of higher bounce rates and low sales, a database that can’t properly function is just as disruptive. You rely on having access to your information. Whether it’s an e-commerce product database or customer information, you can’t run your business without it.


Even if you aren’t running a massive “Big Data” sized database, you’re probably still going to be managing some kind of MySQL (or similar) powered database. So, what do you need to look for in a hosting solution for your database? Are you going to be hosting a website as well? Does it make sense to separate the two? Let’s take a look at hosting solutions for business owners concerned about keeping a database online.


Should you try to keep a database local?


The first thing that needs to be addressed is the idea that a database should be separate from a website. What separate really means in this instance is different servers for each. We’ll get to that concept shortly, but there is also a belief that a database can be housed locally for “security” reasons. Often, this is considered when there are concerns about certain regulatory issues or remaining in compliance with PCI or HIPAA.

A couple of points about those kinds of serious compliance issues. For one thing, the amount of resources required to be compliant would be outlandishly expensive to maintain at a local level. The sheer amount of encryption, guaranteed uptime, security measures, and more is best handled by a third party. Secondly, you’d need to find a highly specialized hosting company that is explicitly in business to provide compliant hosting. If you’re in the medical field handling EMRs, these kinds of general database hosting conservations don’t necessarily apply.

For the vast majority of business owners, they don’t need to worry about serious compliance issues. They just need to make sure their database is reliably online. Even then, local solutions are more expensive and unreliable than having your database hosted with a third party.


Is a VPS enough?


For the average business with a MySQL database that is either powering their WordPress installation or is the backbone of their e-commerce product offerings, yes, a VPS is probably powerful enough. A dedicated server really only comes into play if you were running an unusually large database that needs as many resources as possible. Or, you’re trying to run a demanding website alongside a large database on the same hardware. But, on average, a VPS will be powerful enough to meet your needs.


Interestingly, there are some who feel that at a certain point you’d be better served to split your website and database off onto two different VPSes. Some people obviously opt for this setup. For the typical business owner that probably isn’t necessarily and may offer needless complications. But, for the sake of providing information, let’s quickly look at the pros and cons of this setup.

The argument in favor of keeping the two separate but finding some way to link them is that the resources required to keep both operating at a high performing level won’t interfere with one another. So, if your site requires all the broadband, CPU power, and storage space it can get due to high traffic and complexity, not having to share all of those hardware resources with an equally demanding database would on paper benefit both sides of the operation. There is also a perceived security benefit where if a website gets compromised, for example, the database would remain untouched and recovery wouldn’t be as difficult comparatively.


Sounds reasonable enough, but the downsides are paying for two VPSes, having to worry about maintaining both, and worrying about the infrastructure and linking the two servers to one another. However, since this is such a common practice, you may find yourself in a situation where using two VPSes makes sense. In the early days of your business, this probably isn’t necessary.


Why managed hosting?


What you will want to look for is managed hosting. Managed hosting is a great feature to have when dealing with databases because it takes some of the IT concerns off you and your team.  There are many benefits to managed hosting. Convenience is a leading one. You’re already worried about fulfilling your customers’ needs. Do you really want to spend time monitoring the server to ensure your database is online? Do you want to set aside one of your employees to do that? Probably not. It’s better to play to your strengths. With managed hosting, you get uptime monitoring, some security assistance, automatic backups, and peace of mind knowing that your hosting company is keeping an eye out for you.


Uptime and databases


Finally, you need a hosting solution that will keep your database connected and online as consistently as possible. That’s why it’s important to partner with a host that offers a service level agreement that guarantees 99.9% uptime. This is beneficial to every part of your business. Whether it’s your website or a business critical database, being online as close to always as possible is imperative to your success. Downtime of every kind costs businesses billions of dollars a year cumulatively. If you can’t be reached, you can’t sell anything. If your site can’t populate products or handle credit cards, that’s money going out the door. This also ties back into managed hosting. With a managed host, you can minimize downtime because any system abnormalities will be noticed. If you manage your own hosting environment, you’re responsible for finding the fixes to get back online.




When it comes to keeping your business running, you need solutions you can be confident in. After all, you’re essentially trusting another company to help keep yours functioning. That’s not something that should be taken lightly. At KnownHost, we take that responsibility seriously. That’s why we offer powerful hardware and expert customer service that you can rely on. If you’re looking for a managed VPS to power your website and database, contact us today. We’ll help you find the hosting solution you need to power your online business.



Read More

Understanding VPS Hosting

12 Facts You Need to Know to Understand VPS Hosting

To understand VPS hosting, you basically need to know what hosting is and what a virtual private server (VPS) is. This piece briefly explores both of those topics as a series of facts.


#1. Web hosting gives companies the servers they need to get online.


Web hosting is the service of providing Internet-related infrastructural plans to businesses and others. Organizations that do not have their own datacenters, want to move quickly to get started on a project, or do not want to manage servers themselves will use a web host for server space, file maintenance, and online services.


#2. Web hosting is split into three major categories.


Web hosting is, generally, also sometimes called website hosting or simply hosting. However, people will talk about hosting in terms of the individual category – the major ones of which are:


shared hosting: many accounts on one physical machine with a single operating system and unguaranteed resources. (lowest cost)


VPS hosting: a smaller number of accounts per machine, each of which has their own operating system and guaranteed resources. (slightly higher cost than shared)


dedicated hosting: one account per machine. (significantly higher cost than shared)


Related specifically to our topic of VPS, as you can see above, VPS hosting is fundamentally an effort to find “the best of both worlds” – the middle-ground between the flexibility and power of dedicated hosting and the affordability of shared hosting.


#3. Many people come to web hosting companies for speed.

Often, companies use web hosting providers for access to their fast web connections. If an organization were to host its own servers, it would be costly to get access to similarly strong data networks. Basically, the business that buys hosting services is leveraging the shared cost of a speedy Internet connection to store and serve its files both internally and externally.


#4. Web hosting is an industry that was originally created by the Internet.


When the Internet first became publicly available as a mass-market service (the early 1990s), those who were interested in creating websites had to have their own servers. Since servers are costly, and the maintenance of them can be highly technical, there was a potential business need for web hosting. However, the first step was to build servers and create web hosting packages that would meet the needs of many users at the lowest possible cost.


#5. Web hosting became prominent for meeting a common business need.


Web hosting grew as a business when it became clear that (unsurprising to us now) not everyone wants to host a server themselves. The basic business idea, in the early days, was that it would be a good business to buy servers and rent out the resources of them at a reduced cost to customers that want to run a website – regardless of (and, in a manner, completely irrelevant and separate from) the technical aspects related to hardware.


#6. Web hosting demand was minuscule in the beginning, and key statistics show us why it has grown exponentially.


Demand was initially not high for web hosting for three basic reasons:

  •  * the amount of people online was low;
  •  * web hosting was an emergent field that was below the surface of public awareness (“farther below,” really, since many people are still unfamiliar with the field); and
  •  * web hosting was costlier because there was less competition.

These figures from The Next Web give us an immediate sense of how mammoth the Internet really is now in size. In turn, these numbers, from January 2017, tell us why web hosting companies have become of ever-increasing use to business. [source]

  •  * There are 7.476 billion people on the planet (with 54% of us in urban settings).
  •  * The total population of Internet users worldwide is 3.773 billion, a 50% penetration of the possible market (so, in a way, it’s only half as ubiquitous as it seems globally).
  •  * Active social media users are a smaller population – at 2.789 billion people, that’s “merely” 37% of everyone in the world.
  •  * Interestingly, the number of mobile users, at 4.917 billion, is higher than the number of Web users.


#7. The business world was revolutionized by web hosting.


Everyone talks about the disruption of the Internet. That digital disruption that has changed our lives in so many ways for the better would not have been possible without web hosting – which supplied the convenience to allow businesses to get online in a structured and trusted manner. The changes were really business-wide and impacted almost every industry.


Specifically, a major aspect of that disruption was in marketing. Marketers had to completely change their approach as websites became increasingly critical platforms for the branding of businesses. What used to be print became digital – following the same basic pattern of magazines and newspapers.


#8. A virtual private server (VPS) gives hosting customers greater control.


A VPS is a virtual server that is experienced as its own server and has its own unique operating system (OS). For better costs than dedicated hosting, while still offering a significant technological upgrade from shared hosting, a hosting company divides one physical server into guaranteed sets of resources for a number of different VPS hosting customers.


Typically this scenario is described as a virtual private server (VPS). However, the term virtual dedicated server (VDS) is also sometimes used.


#9. A VPS is a similar concept to having your own private computer.


A virtual private server is fundamentally about separation. It takes the form of a virtual machine to meet the needs of each individual hosting customer just as an independent PC can be dedicated for use by a single person. This type of server gives a business the same capabilities (including full root access from some providers) as a dedicated server, with several VPS machines, all with separate operating systems, running on the same machine or set of machines.


#10. A VPS gives a user much greater freedom than they’d have with shared hosting.


A VPS will usually include basic components such as web server and mail server programs; file transfer protocol (FTP) software; and possibly additional applications for e-commerce, blogging, and other core features. Since a virtual private server has its own operating system, the customer takes on the role of a super-user of the OS. In turn, they are able to install whatever software they choose that can run on that particular OS (typically a Linux distribution).


#11. VPS plan management creates a major distinction.


As virtualization technology has progressed, companies are now able to provide VPS hosting affordably. One of the most important features of VPS plans is the determination of the responsible party to manage the server. In an unmanaged setting, the user bears the responsibility to manage and monitor the server. In a managed VPS hosting setting, the hosting company is responsible.


#12. Virtual private servers are of use to small and large companies.


A typical example scenario in which a VPS is useful is when a startup or other small business wants to create and run a site but does not want to have to make an investment in a dedicated server. However, an enterprise might use VPS hosting as well. The VPS setup is helpful in those cases because it allows one user to control various servers; one might be designated for the production-level website and another for a sandbox server (so that a false version of the site can be used for testing updates, changes, and new software or plugins).




Hopefully, the above facts are helpful in understanding web hosting, the virtual private server, and VPS hosting. Do you think a VPS might be right for your business? At KnownHost, you are scalable on demand, without any downtime: no migration of files or databases are required, and there are no changes in your settings. Compare plans.

Read More