There are many ways to restart your linux computer.
If you are using GUI interface, shutting down or rebooting the computer depends of the GUI you are using. Usually shutdown, reboot etc. commands are located thru the GUI's main menu or bar located at the bottom of the screen.
If you are using shell window, the easiest way to restart linux is to use "reboot" command:
*Change to root user
*simpy type reboot and hit enter, and the computer restarts.
Hope this helps you linux newbies to restart linux :)
Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Tuesday, September 30, 2008
How to install RPM
What is RPM?
Many Linux distributions use RPM as the default application management system. This means that when using RPM packages, it is quite easy to install applications to your favorite Linux distributions.
RPM is originally developed by Red Hat, but nowadays you can run into rpm in many other linux distributions (for example Fedora Core, CentOS, Mandriva or Yellow Dog Linux) and even on other operating systems (Novel Netware and IBM Aix).
RPM packaged software follows usually the following format:
(name)-(version)-(release).(arch).rpm
For example: httpd-2.23-2.i386.rpm
Also source codes can be downloaded in rpm packages. For example httpd-2.23-2.i386.src.rpm. RPM files with the noarch.rpm extension refer to files that don't depend on a computer's architecture.
Install RPM
Installing RPM package is very easy and straightforward:
* rpm -ivh package.rpm - installs package.rpm
* rpm -Uvh package.rpm - updates package.rpm
* rpm -qi package - displays (already installed ) information about application "package"
* rpm -qpi package.rpm - displays information about rpm-file
* rpm -qpl package.rpm - displays files included in package.rpm
* rpm -qa - lists all rpm packages installed to your distribution
* rpm --rebuilddb - rebuilds your rpm database
With these simple commands you can install rpm packages to your linux distribution!
Many Linux distributions use RPM as the default application management system. This means that when using RPM packages, it is quite easy to install applications to your favorite Linux distributions.
RPM is originally developed by Red Hat, but nowadays you can run into rpm in many other linux distributions (for example Fedora Core, CentOS, Mandriva or Yellow Dog Linux) and even on other operating systems (Novel Netware and IBM Aix).
RPM packaged software follows usually the following format:
(name)-(version)-(release).(arch).rpm
For example: httpd-2.23-2.i386.rpm
Also source codes can be downloaded in rpm packages. For example httpd-2.23-2.i386.src.rpm. RPM files with the noarch.rpm extension refer to files that don't depend on a computer's architecture.
Install RPM
Installing RPM package is very easy and straightforward:
* rpm -ivh package.rpm - installs package.rpm
* rpm -Uvh package.rpm - updates package.rpm
* rpm -qi package - displays (already installed ) information about application "package"
* rpm -qpi package.rpm - displays information about rpm-file
* rpm -qpl package.rpm - displays files included in package.rpm
* rpm -qa - lists all rpm packages installed to your distribution
* rpm --rebuilddb - rebuilds your rpm database
With these simple commands you can install rpm packages to your linux distribution!
Tunnisteet:
"how to install rpm",
"install rpm",
linux,
rpm
Wednesday, March 5, 2008
Discovering duplicate files
A while ago I had a problem. I had to change my file servers hard drives, and I didn't have large enough hard drive to take copies of. This lead to the situation where I had copies of my data spread on various computers, and after I got my server up and running again, I realized there were quite many duplicate files on my server.
Luckily I found a nice small application called fdupes. This program goes thru directories and creates MD5 sum of every file. After the process it compares the MD5 sums and lets the user know which files are duplicates.
Fdupes can be found on regular Fedora Core yum repository and the usage of the program is quite easy:
fdupes -r /share << the directory you want to scan, recursively
The program gives you nice list of the duplicate files
Luckily I found a nice small application called fdupes. This program goes thru directories and creates MD5 sum of every file. After the process it compares the MD5 sums and lets the user know which files are duplicates.
Fdupes can be found on regular Fedora Core yum repository and the usage of the program is quite easy:
fdupes -r /share << the directory you want to scan, recursively
The program gives you nice list of the duplicate files
Tuesday, February 19, 2008
Installing Truecrypt 5 on Fedora Core X86_64
This is a *VERY* short guide how to install Truecrypt 5.0 on Fedora Core x86_64. I installed TC on FC8, but this guide *should* work on any FC platform.
1) Download .deb -package (originally made for Ubuntu):
http://rapidshare.com/files/89758961/truecrypt_5.0-0ubuntu1_amd64.deb.html
2) Extract file with archive manager >> you get two different .tar.gz -files
3) Extract data.tar.gz to the root of your system.
4) start truecrypt from location /usr/sbin/truecrypt
If you are using i386 -version of Fedora Core, you can download Ubuntu packet from TC's homepage and use it to install Truecrypt on your FC.
1) Download .deb -package (originally made for Ubuntu):
http://rapidshare.com/files/89758961/truecrypt_5.0-0ubuntu1_amd64.deb.html
2) Extract file with archive manager >> you get two different .tar.gz -files
3) Extract data.tar.gz to the root of your system.
4) start truecrypt from location /usr/sbin/truecrypt
If you are using i386 -version of Fedora Core, you can download Ubuntu packet from TC's homepage and use it to install Truecrypt on your FC.
Tunnisteet:
fedora core,
i386,
linux,
truecrypt,
truecrypt 5,
truecrypt 5.0,
x86_64
Subscribe to:
Posts (Atom)