Pages
-
Recent Posts
- Revolving Door: MPAA Hires Chief USTR Negotiator Behind ACTA And TPP’s IP Chapter
- Copyright Maximalists’ Incredible Sense Of Entitlement: If It Challenges The Biz Model We Chose, It Must Be Illegal
- Turkey’s Prime Minister Sues His Own Country Over Twitter
- Picturefill 2
- Police File On Student ‘Bullied Into Committing Suicide’ Strangely Lacking In Evidence Of Bullying
Archives
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
Meta
Category Archives: sysadmin
PHPHOST BLOG
Web Hosting Related Articles You May Need
[one-liner]: Linux Runlevels
Background
Determining a systems runlevel can be useful when setting up a headless server or determining if a system is being used as a server or as a workstation. Thankfully it’s pretty easy, using a number of commands. But before we get started, a little background.
Runlevels are a concept from UNIX System V used by the […]
Readers who viewed this page, also viewed:
Posted in linux, one-liner, Syndicated, sysadmin, tips & tricks
Comments Off on [one-liner]: Linux Runlevels
How to programmatically determine the highest version kernel RPM installed?
Background
Recently on the StackExchange site Unix & Linux the following question came up which seemed easy enough to answer.
How to programmatically determine the highest version kernel RPM installed?
This turned out to be trickier than I originally thought. What follows is my ultimate answer along with several failed attempts. I leave them so that others can […]
Readers who viewed this page, also viewed:
Posted in centos, fedora, package management, rhel, rpm, Syndicated, sysadmin, tip, tutorials
Comments Off on How to programmatically determine the highest version kernel RPM installed?
Why are “executables” such as reboot, shutdown, and vgscan symlinks in the /sbin directory?
Background
If you’ve ever gone poking around in your Linux system’s /sbin directory the site of files like this might make you scratch your head.
1
2
3
4
5
6
7
8
lrwxrwxrwx 1 root root 3 Jun 7 2011 vgmerge -> lvm
lrwxrwxrwx 1 root root 3 Jun […]
Readers who viewed this page, also viewed:
How is my password stored in Linux?
Background
People that use Linux on a daily basis probably are completely oblivious to the actual mechanisms being used to store their passwords safely and securely on a given Linux system. Oh they might guess that their password is stored in the /etc/passwd file (they’d be wrong by the way) but most probably never even gave […]
Posted in encryption, linux, passwords, Security, SHA-512, shadow, Syndicated, sysadmin, tutorials
Comments Off on How is my password stored in Linux?
[one-liner]: Why is Conky reporting a lower CPU frequency, when my CPU frequency is actually much higher?
Background
If you’ve every dealt with Conky you may have gotten a little confused when you’re trying to get it to display your CPU frequency like so:
1
${freq_g cpu0} Ghz
… and Conky is reporting your CPU frequency as 1.12GHz when in fact it’s actually much higher than that, say 2.67GHz. Most likely this is being caused by […]
Readers who viewed this page, also viewed:
Posted in conky, linux, monitoring, one-liner, performance, Syndicated, sysadmin, tips & tricks
Comments Off on [one-liner]: Why is Conky reporting a lower CPU frequency, when my CPU frequency is actually much higher?
[one-liner]: Checking out a HDD’s Health using the Command Line Tool udisk
Background
Here’s a quick tip for checking out the overall health of your computer’s hard drive. It makes use of a little known tool called udisks which provides access to information about storage devices from the D-Bus interface.
Solution
Before we jump into udisks here are some resources that might prove useful when dealing with the design/architecture of […]
Readers who viewed this page, also viewed:
Posted in HDD, linux, monitoring, one-liner, performance, Syndicated, sysadmin, tips & tricks
Comments Off on [one-liner]: Checking out a HDD’s Health using the Command Line Tool udisk
[one-liner]: Monitoring Network Traffic with Netstat on Linux
Background
This is a quick guide to some not so obvious command-line options available in the Linux netstat(8) command. I hope you enjoy it.
Solution
1. Plain old netstat
Without any command-line arguments, “netstat” shows a list of network connections in your system, including TCP, UDP and UNIX socket connections. If you want to speed up things a bit, […] Continue reading
Posted in linux, monitoring, one-liner, redhat, rhel, Syndicated, sysadmin, tips & tricks
Comments Off on [one-liner]: Monitoring Network Traffic with Netstat on Linux
[one-liner]: Using scp to Copy Files that Contain Spaces
Background
Have you ever needed to copy either a single file or a directory that contains spaces using scp? Here are a couple of techniques for how to do this.
Solution
Here are several ways to accomplish the same thing. Copying a entire directory with spaces and copying a file with spaces using scp.
1
2
3
4
5
6
7
# Ways to copy entire […] Continue reading
Posted in bash, one-liner, script, Syndicated, sysadmin, tip, tips & tricks
Comments Off on [one-liner]: Using scp to Copy Files that Contain Spaces
[one-liner]: Installing 3rd Party Apps (Java, Skype, MS Fonts, and Codecs) using the app easyLife on Fedora Linux
Background
Never heard of this app before, easyLife, but it purports to simplifying the installation of the extras that you typically will need on your Fedora system, (i.e. Java, Nvidia, Skype, Adobe Flash, Fonts, etc.). It works like other apps have in the past, Automatix & Ultamatix, on Ubuntu, and Fedora Frog just to name a […] Continue reading
Posted in centos, fedora, one-liner, redhat, rhel, Syndicated, sysadmin, tips & tricks
Comments Off on [one-liner]: Installing 3rd Party Apps (Java, Skype, MS Fonts, and Codecs) using the app easyLife on Fedora Linux
How to Add a New Hard Drive to a Linux Software RAID (CentOS & Fedora)
Getting Started
A while back I setup a 1TB hard drive for backing up my primary file server. That 1TB drive was setup in a software RAID, a RAID 1 mirror to be exact. However I opted at the time to only add the one drive to the RAID, mainly because I only had just the […] Continue reading