Quantcast
Channel: CentOS – HostOnNet.com
Browsing all 62 articles
Browse latest View live

Install Sun Java on CentOS

Download Java JDK or JRE from http://www.oracle.com/technetwork/java/javase/index-137561.html JRE is only for running Java Programs. JDK can compile Java Source code and run it. So if you plan to make...

View Article


Install Unrar on CentOS

To install Unrar on CentOS, run cd /usr/local/src wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz tar zxvf rarlinux-3.8.0.tar.gz cd rar make make install We installed older version of unrar as...

View Article


Missing Dependency: libjpeg.so.62 is needed by package...

On a cpanel sever, when running yum update, i get following error xulrunner-1.9.2.22-1.el5_7.i386 from updates has depsolving problems --> Missing Dependency: libjpeg.so.62 is needed by package...

View Article

How to Change Hostname and IP on a CentOS Server

1. RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This is set using the init script /etc/rc.d/rc.sysinit nano /etc/sysconfig/network NETWORKING=yes...

View Article

How to find Network Card’s Mac Address in CentOS

Open SSH and type the following and press Enter: /sbin/ifconfig | grep -i hwaddr The sequence of hexadecimal digits that appears to the right of eth0 HWAddr (e.g. 08:00:27:ED:DA:8b) is your network...

View Article


Auto Login to Linux Console in CentOS 6

To auto login to linux console on boot, edit /etc/init/tty.conf vi /etc/init/tty.conf Find exec /sbin/mingetty $TTY Replace with exec /sbin/mingetty --autologin root $TTY diff with original tty.conf...

View Article

Check health of Adaptec raid

You can check health of adapec raid card using command /usr/StorMan/arcconf getconfig 1 Where 1 is controller number. Example root@server [~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3...

View Article

Delete all mails using mailx/mail

To delete all mails using mailx/mail on centos, run echo 'd *' | mail -N For example [root@server1 ~]# echo 'd *' | mail -N [root@server1 ~]# mail No mail for root [root@server1 ~]#

View Article


Installing php-mcrypt in CentOS 6

After installing phpmyadmin on CentOS 6 64 bit server, phpmyadmin displays warning The mcrypt extension is missing. Please check your PHP configuration. php-mcrypt is not availble in CentOS repo. To...

View Article


Image may be NSFW.
Clik here to view.

Install Fantastico on Cpanel Server

Login to server as root via SSH. Run following command to install fantastico. cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz tar...

View Article

How to install whois on CentOS server

While moving a web site, i want to check whois of the domain to find name servers. I run root@vps73324 [~]# whois customer-domain-name.com -bash: whois: command not found root@vps73324 [~]# Whois is...

View Article

How to Uninstall Fantastico from WHM / cPanel Server

How to Uninstall Fantastico from WHM / cPanel Server Log into your server via SSH as root and execute the following: rm -rf /var/netenberg/fantastico_de_luxe/ rm -rf...

View Article

How to Remove Old Kernels

We can check Installed Kernels root@serverxx [~]# rpm -q kernel kernel-2.6.32-531.17.1.lve1.2.57.el6.x86_64 root@serverxx [~]# “yum list” to find out what kernels are installed. It can automatically...

View Article


Image may be NSFW.
Clik here to view.

What is CloudLinux?

CloudLinux is a linux based operating system that creates a stable hosting environment for all of our web and reseller hosting customers. It is able to keep a single account from overwhelming a server...

View Article

Image may be NSFW.
Clik here to view.

CentOS announces the general availability of CentOS version 7

Red Hat derivative ‘The CentOS Project’ has announced the general availability of Linux CentOS version 7, the first release of the free distribution based on the source code for Red Hat Enterprise...

View Article


Image may be NSFW.
Clik here to view.

How to convert a text file into a Word document on Ubuntu

This tutorial explains how to convert a Text file into a Word document in ubuntu.  For this purpose, you can use a command-line utility called pandoc, which converts from one markup format to another...

View Article

Terminal Commans to find out which ports are listening / open on your Linux...

You may use netstat command, which print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships etc. Another (and suggested) option is to use lsof...

View Article


CentOS release 6.5 sendmail error NOQUEUE: SYSERR(apache): can not chdir

On a CentOS release 6.5 (Final) server, when sending mail from PHP, no mails are sent out. Checking the log file (/var/log/maillog), i got following error message. Aug 21 22:56:26 cl-231...

View Article

Image may be NSFW.
Clik here to view.

Terminal command to check how long your linux system has been running

$ uptime This command will tell you how long the system has been running and gives you a one line display as below: uptime 16:27:24 up 2:24, 2 users, load average: 0.55, 0.55, 0.81 Which describes, the...

View Article

Image may be NSFW.
Clik here to view.

Commands to Check Disk Space in Linux Systems

A quick way to get the summary of available and used disk space on your Linux system is to type in the ‘df’ command in a terminal window. $ df The command df stands for “disk filesystem“. With the -h...

View Article
Browsing all 62 articles
Browse latest View live