Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: purvis on June 10, 2011, 05:09:32 AM
-
instructions to install lshw to view hardware on smeserver 8.??
press q to quit the fileviewer program "less"
less commands
----------------------------------------------------
e, j, Down, or Enter move forward one line
y, k, or Up move backward one line
f, Space, or Page Down move forward one page
b, or Page Up move backward one page
/characters search forward in the file for lines containing the specified characters
n repeat the previous search
e file_name examine a new file
:n examine the next file
:p examine the previous file
h, or ? display help
q quit
---------------------------------------------
cd /
mkdir /temp
cd /temp
wget http://packages.sw.be/lshw/lshw-2.15-1.el5.rf.i386.rpm
yum localinstall lshw-2.15-1.el5.rf.i386.rpm
yum info lshw
lshw > lshw.prn
less lshw.prn
rm -f lshw.prn
you can also delete the rpm file when done
rm -f lshw-2.15-1.el5.rf.i386.rpm
-
cd /
mkdir /temp
cd /temp
wget http://packages.sw.be/lshw/lshw-2.15-1.el5.rf.i386.rpm
yum localinstall lshw-2.15-1.el5.rf.i386.rpm
Or:
yum --enablerepo=dag install lshw
Above will only work if you have the 'dag' repository configured in your yum configuration. You can use this instead:
rpm -Uhv http://pkgs.repoforge.org/lshw/lshw-2.13-1.el5.rf.i386.rpm
lshw > lshw.prn
less lshw.prn
rm -f lshw.prn
Or:
lswh | less
you can also delete the rpm file when done
rm -f lshw-2.15-1.el5.rf.i386.rpm
Not necessary if you use "yum install" as mentioned above.
-
thanks Charlie
pp