MySQL databases require regular maintenance, but usually the databases just need to be re-optimized and checked for errors. In such cases, having to go through each database on your server can be time consuming. Following these steps, you can setup a cron job that will automatically check and repair your …
Read More »How to compare two files in Linux
Question: I have two scripts in a directory on my server. One is the right one and one is not, but I do not remember which is which. How can I compare the two files? Answer: Linux and UNIX-like operating systems usually come with a comparison command called “diff”. This …
Read More »How to delete duplicate files in Linux
Question: Two of my directories on my server have some the same files. How can I easily delete any duplicates while preserving the unique files? Answer: There exists a Linux tool for just about everything, and this is no exception. You need a tool called fdupes, which searches the path …
Read More »HP launches cloud infrastructure design service
Businesses are jumping to get on the cloud, but many will have to redesign their server infrastructure to most effectively meet the needs of the new technology. That’s why server guru HP has launched the HP Cloud Design Service. As part of the service, HP will evaluate a company’s server …
Read More »How to list all users in Linux
Question: How do I see all of the users that have accounts on my server? Answer: In a previous post, we covered the “who” command, which will tell an administrator which users are currently logged into the system, but another important thing to know about your server is which users …
Read More »How to compile and install software from source in Linux
Ideally everything you ever need for your Linux server will be nicely packaged and easily installed through your distribution’s repositories. At worst you might need to add a third-party repository to download the .rpm or .deb packages that you need. But when you realize the world is not as perfect …
Read More »Virtual machine memory allocation
Question: How much memory will I need to run virtual machines on my server? Answer: There is no simple answer to this question. Generally speaking, to virtualize an operating system you need at least as much RAM as is normally required to run the OS independently. Therefore, if your OS …
Read More »Instead of expanding outward, data centers build up
With data center space in high demand lately, facilities are doing everything they can to expand. This now includes building upward, with providers switching from the conventional 42U server racks to nine-bart tall 58U racks– allowing 25% more servers to be placed in the same area. According to Hossein Fateh, …
Read More »The commitment conundrum
While most hosting companies bill on a month-to-month basis, some may require a long-term commitment. This is especially true with low-cost providers or customers requiring a special configuration. Should you make a commitment? If a commitment is required to get a discounted price, ask the provider if you can pay …
Read More »Twitter uses BitTorrent to boost performance
To speed up performance on its one billion tweets-per-month network, Twitter has started using BitTorrent to distribute files faster. Codenamed “Murder,” the project involves transforming Twitter’s servers into BitTorrent distribution clients. User bandwidth is not be utilized, but rather, one seed server distributes files between thousands of other servers owned …
Read More »