Quantcast
Channel: TechBytes » How to
Browsing all 12 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Install htop

htop - an alternative to linux top htop is a sleek utility that allows you to interactively view processes running in a linux box. I can safely say its a good alternate to ‘top’ To install htop just...

View Article



Image may be NSFW.
Clik here to view.

Freshclam daemon not running

Normally, I have two things on every Linux box so that I know whats going on NAGIOS monitoring (nrpe) Logwatch Today, I got something in my logwatch email and it was strange because just the other day,...

View Article

CentOS minimal template’s issue with crontab

On my CentOS 5.x 64bit XEN PV template (XEN PV is a virtualization type, this means I am talking about a VPS) doing ‘crontab -e’ gave me the following error [root@vpsadmin ~]# crontab -e no crontab for...

View Article

How to disable SELinux

SELINUX is a security feature on CentOS but some software such as SolusVM will require that SELINUX be disabled Installation log : /tmp/install.log Add this slave to your SolusVM master using the...

View Article

How to change time and/or timezone in CentOS

Generically, I use this Change directory to /etc [root@testbed ~]# cd /etc Now create a symbolic link (aka symlink) to the timezone e.g. Asia/Karachi (for Pakistan standard time) [root@testbed etc]# ln...

View Article


How to fix ‘Crontabs not running’ problem

I have a VPS that I am using for a cPanel DNS-only setup and I was wondering why crontab was not running on this particular VPS. In my particular case, logwatch (a package on CentOS) was not sending me...

View Article

How to configure repos to not overwrite base packages?

The greatest fear with adding additional and especially third party repos such as EPEL (we did a blog post on how to install EPEL earlier) is that it MAY overwrite base packages and bring the system to...

View Article

package-cleanup: command not found

I tried to do package-cleanup and found this root@ns1 [~]# package-cleanup --problems -bash: package-cleanup: command not found If I was on Ubuntu, I would have done “apt-get install package-cleanup”...

View Article


How to find specific files and send alerts

Maintaining a shared hosting server is a full time job but tools and proper checks and balances can help make this burden lot less. I manage a shared hosting server for one of my friends and numerous...

View Article


Image may be NSFW.
Clik here to view.

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An...

View Article

Play all media formats on Ubuntu 14.04 LTS Desktop

I still remember the first time I test-drove Mandriva Linux (formerly known as Mandrake), I could run every other audio and video format out-of-the-box without downloading anything (it was a dialup...

View Article

How to install dig in Ubuntu

dig is a very useful utility to help webmaster and server admins alike. To install dig, just run the following in Ubuntu sudo apt-get install dnsutils

View Article
Browsing all 12 articles
Browse latest View live




Latest Images