psensor install centos
Psensor enable to get temperature of CPU via HTTP / JSON.
More detail on psensor is available here.
http://wpitchoune.net/blog/psensor/
This post is about compiling psensor from source and installing in CENTOS 6.4, 64 bit.
Note:
You must be logged in as root user to proceed with installation
First install the following dependencies:
yum install lm_sensors
yum install lm_sensors-devel.x86_64
yum install gtkhtml2.x86_64
yum install json-c.x86_64
yum install libatasmart.x86_64 libatasmart-devel.x86_64 libmicrohttpd
yum install libnotify.x86_64 libnotify-devel.x86_64
yum install json-c-devel.x86_64 json-c.x86_64
yum install libmicrohttpd.x86_64 libmicrohttpd-devel.x86_64
yum install json-c.x86_64 json-c-devel.x86_64 json-c-devel.i686 json-c.i686
yum install libgtop2.x86_64 libgtop2-devel.x86_64
yum install GConf2-devel.x86_64 GConf2-gtk.x86_64
Get the latest source from here. Version - 1.0.2
http://wpitchoune.net/psensor/files/psensor-last-stable.tar.gz
tar -xzvf psensor-last-stable.tar.gz
cd psensor-1.0.2
./configure
make
make install
While running configure, note error / warning.
Since an error / warning may prevent compiling of the Server component.
While running configure,I got this error.
checking for APPINDICATOR... no
configure: WARNING: AppIndicator 3-0.1 not present
checking for APPINDICATOR... no
configure: WARNING: AppIndicator 0.2.9 not present
checking for APPINDICATOR... no
configure: WARNING: "AppIndicator > 0.2.9 not present
From the group forum, they suggested to ignore the error, If we use a Non-Ubuntu based OS.
https://groups.google.com/forum/#!topic/psensor-users/NMLbf6wESHg
By default psensor will get installed here,
/usr/local/share/psensor/www
This is the WWW Directory location where the psensor-server component mount the directory to the inbuilt web server.This directory contains html , css and js files.
From the Terminal,type
psensor-server
LOG:
[2014-06-17T10:06:47] [ERR] hddtemp: failed to open connection.
[(null)] [INFO] Web server started on port: 3131
[(null)] [INFO] WWW directory: /usr/local/share/psensor/www
[(null)] [INFO] URL: http://localhost:3131
From browser point to, http://localhost:3131 to get the page which contain instant data s.
More detail on monitoring System Temperature can be found here.
http://xmodulo.com/2013/11/monitor-system-temperature-linux.html
Psensor enable to get temperature of CPU via HTTP / JSON.
More detail on psensor is available here.
http://wpitchoune.net/blog/psensor/
This post is about compiling psensor from source and installing in CENTOS 6.4, 64 bit.
Note:
You must be logged in as root user to proceed with installation
First install the following dependencies:
yum install lm_sensors
yum install lm_sensors-devel.x86_64
yum install gtkhtml2.x86_64
yum install json-c.x86_64
yum install libatasmart.x86_64 libatasmart-devel.x86_64 libmicrohttpd
yum install libnotify.x86_64 libnotify-devel.x86_64
yum install json-c-devel.x86_64 json-c.x86_64
yum install libmicrohttpd.x86_64 libmicrohttpd-devel.x86_64
yum install json-c.x86_64 json-c-devel.x86_64 json-c-devel.i686 json-c.i686
yum install libgtop2.x86_64 libgtop2-devel.x86_64
yum install GConf2-devel.x86_64 GConf2-gtk.x86_64
Get the latest source from here. Version - 1.0.2
http://wpitchoune.net/psensor/files/psensor-last-stable.tar.gz
tar -xzvf psensor-last-stable.tar.gz
cd psensor-1.0.2
./configure
make
make install
While running configure, note error / warning.
Since an error / warning may prevent compiling of the Server component.
While running configure,I got this error.
checking for APPINDICATOR... no
configure: WARNING: AppIndicator 3-0.1 not present
checking for APPINDICATOR... no
configure: WARNING: AppIndicator 0.2.9 not present
checking for APPINDICATOR... no
configure: WARNING: "AppIndicator > 0.2.9 not present
From the group forum, they suggested to ignore the error, If we use a Non-Ubuntu based OS.
https://groups.google.com/forum/#!topic/psensor-users/NMLbf6wESHg
By default psensor will get installed here,
/usr/local/share/psensor/www
This is the WWW Directory location where the psensor-server component mount the directory to the inbuilt web server.This directory contains html , css and js files.
From the Terminal,type
psensor-server
LOG:
[2014-06-17T10:06:47] [ERR] hddtemp: failed to open connection.
[(null)] [INFO] Web server started on port: 3131
[(null)] [INFO] WWW directory: /usr/local/share/psensor/www
[(null)] [INFO] URL: http://localhost:3131
From browser point to, http://localhost:3131 to get the page which contain instant data s.
More detail on monitoring System Temperature can be found here.
http://xmodulo.com/2013/11/monitor-system-temperature-linux.html
"Nice and good article.. it is very useful for me to learn and understand easily.. thanks for sharing your valuable information and time.. please keep updating.php jobs in hyderabad.
ReplyDelete"