Using solaris 2.5.1, and how can I get a summary of the size of each subdirectory, say for /export/home, all the users? usually I do a du -sk dirname but I have to manually type in each name, is there a better way?
Thanks, (3 Replies)
how do i check a file for a pattern and perform an action if it doesn't exist?
i know how to search a file for a pattern. you just place it in an array like so.
#!/usr/bin/perl
my $data_file = "file.txt";
open DATA, "$data_file";
my @array_of_data = <DATA>;
if ($_ =~ m/pattern/i) {... (4 Replies)
Here's some sample output and my code follows it. Why can't find() find '|'. It just dosn't make a bit of sense at all.
AL01463|Pell City|Saint Clair|B|02115|AL|35125|630|Birmingham (Ann and Tusc)|13890|40|Charter Communications|Fairfield|Charter Communications|2
-1... (1 Reply)
I want the steps to install Xen hypervisor (with Domain 0)
on linux kernel 2.6.38.8 on ubuntu.Actually there are many links for the steps but each link shows differenet commands.So I want a precise note containing the steps for installation of Xen:wall: (0 Replies)
Hello Folks,
Anyone know about the support possibilities of Xenserver(open source) on CentOS6..?
As I Googled and read alot of forums, but no luck. I have tried the followings.
OS: CentOS6
Kernel: 2.6.32-71.29.1.el6.x86_64
Arch: x86_64
When tried to install XenServer from source.
Xen4.0 -... (1 Reply)
flamingo:~ joliver$ sudo find / -nogroup
find: /dev/fd/4: No such file or directory
find: /home: No such file or directory
find: /Library: No such file or directory
find: /net: No such file or directory
find: /Network: No such file or directory
find: /private: No such file or directory
find:... (2 Replies)
Dear all,
I wanted to use grep to search some files containing code - and the result was very disappointing: although I could see with my own eyes the expressions (written in the files), grep didn't give any output.
Basically, I write this to the terminal
grep "Find" *.txtor
grep Find... (2 Replies)
1. The problem statement, all variables and given/known data:
As a excercise I have to compile a program (Hello2.java) with a class file (HelloText.java) in another directory. (As you seen in the screenshot)
Iīm setting a PATH and a CLASSPATH (system variables). Itīs working without a... (2 Replies)
Discussion started by: MenschTown
2 Replies
LEARN ABOUT CENTOS
livemedia-creator
LIVEMEDIA-CREATOR(1) General Commands Manual LIVEMEDIA-CREATOR(1)NAME
livemedia-creator - Create live install media
SYNOPSIS
livemedia-creator [-h]
(--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami)
[--iso ISO] [--disk-image DISK_IMAGE]
[--fs-image FS_IMAGE] [--ks KS]
[--image-name IMAGE_NAME] [--image-only]
[--keep-image] [--no-virt] [--proxy PROXY]
[--anaconda-arg ANACONDA_ARGS]
[--armplatform ARMPLATFORM] [--location LOCATION]
[--logfile LOGFILE]
[--lorax-templates LORAX_TEMPLATES] [--tmp TMP]
[--resultdir RESULT_DIR] [--app-name APP_NAME]
[--app-template APP_TEMPLATE] [--app-file APP_FILE]
[--ram MEMORY] [--vcpus VCPUS] [--vnc VNC]
[--arch ARCH] [--kernel-args KERNEL_ARGS]
[--dracut-arg DRACUT_ARGS] [--title TITLE]
[--project PROJECT] [--releasever RELEASEVER]
[--volid VOLID] [--squashfs_args SQUASHFS_ARGS]
DESCRIPTION
livemedia-creator uses Anaconda, kickstart and Lorax to create bootable media that use the same install path as a normal system install. It
can be used to make live isos, bootable (partitioned) disk images and filesystem images for use with virtualization.
The general idea is to use virt-install to install into a disk image and then use the disk image to create the bootable media.
livemedia-creator --help will describe all of the options available. At the minimum you need:
--make-iso to create a final bootable .iso --iso to specify the Anaconda install media to use with virt-install --ks is the kickstart to
use to install the system
OPTIONAL ARGUMENTS :
-h, --help
show this help message and exit
--make-iso
Build a live iso
--make-disk
Build a partitioned disk image
--make-fsimage
Build a filesystem image
--make-appliance
Build an appliance image and XML description
--make-ami
Build an ami image
--iso ISO
Anaconda installation .iso path to use for virt-install
--disk-image DISK_IMAGE
Path to disk image to use for creating final image
--fs-image FS_IMAGE
Path to filesystem image to use for creating final image
--ks KS
Kickstart file defining the install.
--image-name IMAGE_NAME
Name of fs/disk image to create. Default is a random name.
--image-only
Exit after creating fs/disk image.
--keep-image
Keep raw disk image after .iso creation
--no-virt
Use Anaconda's image install instead of virt-install
--proxy PROXY
proxy URL to use for the install
--anaconda-arg ANACONDA_ARGS
Additional argument to pass to anaconda (no-virt mode). Pass once for eachargument
--armplatform ARMPLATFORM
the platform to use when creating images for ARM, i.e., highbank, mvebu, omap,tegra, etc.
--location LOCATION
location of iso directory tree with initrd.img and vmlinuz. Used to run virt-install with a newer initrd than the iso.
--logfile LOGFILE
Path to logfile
--lorax-templates LORAX_TEMPLATES
Path to mako templates for lorax
--tmp TMP
Top level temporary directory
--resultdir RESULT_DIR
Directory to copy the resulting images and iso into. Defaults to the temporaryworking directory
--title TITLE
Substituted for @TITLE@ in bootloader config files
--project PROJECT
substituted for @PROJECT@ in bootloader config files
--releasever RELEASEVER
substituted for @VERSION@ in bootloader config files
--volid VOLID
volume id
--squashfs_args SQUASHFS_ARGS
additional squashfs args
APPLIANCE ARGUMENTS :
--app-name APP_NAME
Name of appliance to pass to template
--app-template APP_TEMPLATE
Path to template to use for appliance data.
--app-file APP_FILE
Appliance template results file.
VIRT-INSTALL ARGUMENTS:
--ram MEMORY
Memory to allocate for installer in megabytes.
--vcpus VCPUS
Passed to --vcpus command
--vnc VNC
Passed to --graphics command
--arch ARCH
Passed to --arch command
--kernel-args KERNEL_ARGS
Additional argument to pass to the installation kernel
DRACUT ARGUMENTS :
--dracut-arg DRACUT_ARGS
Argument to pass to dracut when rebuilding the initramfs. Pass this once foreach argument. NOTE: this overrides the default.
SEE ALSO
Documentation in /usr/share/docs/lorax/README.livemedia-creator
AUTHOR
Brian C. Lane
2013-07-26 LIVEMEDIA-CREATOR(1)