Difference between revisions of "Linux how to"

From CSWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
#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 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
 +
#

Revision as of 11:29, 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:
 yum install rpm-build