Once you are login as root, you will be able to install the necessary packages you want.
If you would like to be able to monitor the temperature of your harddisk, you would need to perform this step. Otherwise, this step is optional.
Once you have it installed, you must now configure it so that it will know which harddisk to monitor. To do that, you must first know what are the harddisk you have on your machine.
Using the df command, you will see the amount of disk space used. But what we really want to know is where the harddisk is.
You should see the output similar to this:
|
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
149528884 28783984 113149280 21% /
/dev/sda1 194442 28037 156366 16% /boot
tmpfs 1036440 516 1035924 1% /dev/shm
|
In this case, the harddisk we are interested in is /dev/sda1. Now, we need to edit the configuration file of hddtemp, so that it will knows to read the temperature of the harddisk.
|
% gedit /etc/sysconfig/hddtemp
|
Note: You must launch the configuration file from the terminal while logged in as root user in order to edit the configuration file!!
Insert an additional line to reflect the new hard disk. Your edited configuration file should look something similar to this:
|
#
# hddtemp(8) daemon options. Add at least the disk(s) you want to monitor here.
#
HDDTEMP_OPTIONS=”/dev/sda1″
|
Save the file.
You will now need to enable the hddtemp service to start running on boot.
Go to System > Administration > Services
Look for hddtemp, select it, and click on the Enable button. This will allow hddtemp to start up everytime you boot your machine.
|
Comments (0)
You don't have permission to comment on this page.