Difference between revisions of "Linux how to"

From CSWiki
Jump to navigation Jump to search
 
Line 9: Line 9:
  
 
More on how to operate the Logical Volume Manager (LVM) is found [http://www.tldp.org/HOWTO/LVM-HOWTO/ here]
 
More on how to operate the Logical Volume Manager (LVM) is found [http://www.tldp.org/HOWTO/LVM-HOWTO/ here]
 +
 +
 +
----
 +
 +
==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).
 +
#Make sure the "rpm-build" package is installed:

Revision as of 10:19, 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

  1. Download the latest version from Sun. Choose the "Linux self-extracting file" version (not the RPM version).
  2. Make sure the "rpm-build" package is installed: