Difference between revisions of "Linux how to"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
==How to install java== | ==How to install java== | ||
− | #Download the latest version from [http://java.sun.com/j2se/ Sun]. Choose the "Linux self-extracting file" version (not the RPM version). | + | #Download the latest JDK version from [http://java.sun.com/j2se/ Sun]. Choose the "Linux self-extracting file" version (not the RPM version). |
#Make sure the "rpm-build" package is installed: | #Make sure the "rpm-build" package is installed: | ||
− | + | yum install rpm-build | |
− | # | + | #Move the JDK to the RPM Building Source directory: |
+ | mv jdk-* /usr/src/redhat/SOURCES/ |
Revision as of 10:33, 23 March 2006
Practical instructions on how to go about doing things in Linux. This is about the Fedora Linux.
How to extend an xfs filesystem
- xfs filesystems must be mounted to be extended. There is no need to unmount
- usually an xfs fileystem occupies all of its logical volume so the extension of a filesytem involves first the expansion of the logical volume an then the extension of the filesystem
- expanding the logical volume
- lvextend -L +5G /dev/Volume00/data-lv00 - this will add 5GB on logical voluem /dev/Volume00/data-lv00
- xfs_growfs /NewFS - this will extend the filesystems on the previously extended LV to occupy it completely. The filesystem is mounted on /NewFS in this case.
More on how to operate the Logical Volume Manager (LVM) is found here
How to install java
- Download the latest JDK version from Sun. Choose the "Linux self-extracting file" version (not the RPM version).
- Make sure the "rpm-build" package is installed:
yum install rpm-build
- Move the JDK to the RPM Building Source directory:
mv jdk-* /usr/src/redhat/SOURCES/