≡ Menu

linux server

Debian / Ubuntu Linux apt-get: Blacklist a Package From Installing

I've build my own lighttpd .deb package and I do not want to upgrade it using the apt-get command. Also, I do not want to upgrade a few more packages such as php5-cgi, httpd and so on. How do I blacklist a package or packages so that when I run apt-get upgrade, it will ignore blacklisted packages and install the rest of updates under Debian or Ubuntu Linux server system?
[click to continue…]

Linux: Find Out What’s Using Up All Virtual Memory

How do I list or display all processes, executables, and shared libraries that are using up all virtual memory under Debian or Ubuntu Linux server for troubleshooting purpose?
[click to continue…]

RHEL / Centos Linux Disable Firewall

How do I disable firewall on CentOS or Red Hat Enterprise Linux server version 5.x/6.x running on my HP micro server?
[click to continue…]

Upgrading Red Hat Enterprise Linux From Version 6.2 to 6.3

Red Hat Enterprise Linux v6.3 has been released and available via RHN for immediate update. How do I upgrade my RHEL from 6.2 to the latest 6.3 version?
[click to continue…]

Could not chdir to home directory /root: No such file or directory Error and Solution

When I ssh into my server and login as t root user and I'm getting the following error on screen:

Could not chdir to home directory /root: No such file or directory

How do I fix this error under CentOS or Debian Linux server?
[click to continue…]

Linux: NFS4 mount Error reason given by server: No such file or directory

I recently installed NFS server v4 on my HP Linux server. However, I'm not able to mount it from Linux nfs4 client using the following command:

mount.nfs4 server2:/data /data

I'm getting the following error:

mount.nfs4: mounting server2:/data failed, reason given by server:
No such file or directory

How do I fix this problem?
[click to continue…]

JBD: Barrier-based Sync Failed On md0-8 – Disabling Barriers Error and Solution

I've used the mdadm command line utility to setup and manage software RAID 6 under Debian Linux server. However, I get the following message in /var/log/messages file:
[ 14.003707] JBD: barrier-based sync failed on md0-8 - disabling barriers

How do I fix the message 'JBD error message "barrier-based sync failed"'?
[click to continue…]

Linux: Delete / Remove User Account

How do I remove a user's access from my server? How do I delete a user account under Linux operating systems?
[click to continue…]

Ubuntu Linux: Add a User To Group www-data ( Apache Group )

How do I a user to the Apache group called www-data under Ubuntu or Debian Linux server operating systems?
[click to continue…]

Howto: Shutdown Linux System From Terminal

How do I shutdown Linux system from terminal or command line options?
[click to continue…]