10 More Discussions You Might Find Interesting
1. Fedora
Hi All,
I have just downloaded fedora 27 iso and set it up in virtual box.
I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as mentioned in the Apache hadoop page).
Can you please help me how to Uninstall currently installed... (6 Replies)
Discussion started by: TechGyaann
6 Replies
2. Solaris
What kind of required java type for installed?
which address link, i need to download the package.
i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies
3. Shell Programming and Scripting
I want to install pecl from a single command without it asking me for a response of "yes" or "no" to finish the install...
--------------------------------------------------------------------------
# pecl install pecl_http
downloading pecl_http-1.7.0.tgz ...
Starting to download... (1 Reply)
Discussion started by: sjsotelo
1 Replies
4. Shell Programming and Scripting
#!/bin/sh
echo "Installing Java!!!"
cd /opt
echo "Want to give execute Permissions to java!!!"
chmod 755 jdk-6u7-linux-i586.bin
echo "Executing the jdk script"
./jdk-6u7-linux-i586.bin
This is the shell commands I am using...
I want to know how to give answer to yes and no automatically... (6 Replies)
Discussion started by: sandeepbharmori
6 Replies
5. Shell Programming and Scripting
hii...
i want to upgrade my java version 1.4.2 to 1.6 in linux plateform after installing JDK. so what are the steps & commands in linux to upgrade it . Please Help me ... (1 Reply)
Discussion started by: rinkugarg
1 Replies
6. UNIX for Dummies Questions & Answers
Hi..
I want to download & install JDK 1.6 for linux so please help me where i can downlod it free
Regards
Rinku Garg (1 Reply)
Discussion started by: rinkugarg
1 Replies
7. Solaris
hi all i tried to install jdk on solaris 10 2008 and i used these packages in installation
pkgadd -d SUNWj5cfg SUNWj5dmo SUNWj5dev SUNWj5rt SUNWj5jmp SUNWj5man
all was good except one (SUNWj5rt)
some of the output
ERROR: attribute verification of... (3 Replies)
Discussion started by: maxim42
3 Replies
8. Shell Programming and Scripting
Hi,
I need a shell script that would do silent installation of jdk on a linux machine.
Can anyone help me with this?
Thanx
Sunny (6 Replies)
Discussion started by: eamani_sun
6 Replies
9. UNIX for Dummies Questions & Answers
I try to run java file on SCO Unix, but my Unix doesn't setup with JDK environment. I go to sun.com to download JDK for SCO Unix, but there is only JDK for HP-UNIX, is it ok for SCO Unix? If it's ok, how can I install it to my Unix after I download? If it's not ok, How can I do to run java file in... (0 Replies)
Discussion started by: wendyz
0 Replies
10. Solaris
I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS
The first machine... (3 Replies)
Discussion started by: sarahsi
3 Replies
slack(8) System Manager's Manual slack(8)
NAME
slack - Sysadmin's lazy autoconfiguration kit
SYNOPSIS
slack [option ...] [role ...]
DESCRIPTION
slack is a master command which coordinates the activities of its backends, which variously:
o determine the list of roles to be installed on this server
o create a local cached copy of the role files from the central repository
o merge file trees from subroles into a single, unified tree
o install files onto the local filesystem
o run scripts before and after installation
Options you give to slack will be generally passed along to the backends where relevant.
OPTIONS
-h, --help
Print a usage statement.
--version
Print the version and exit.
-v, --verbose
Increase verbosity. Can be specified multiple times.
--quiet
Don't be verbose (Overrides previous uses of --verbose).
-C, --config FILE
Use the specfied FILE for configuration instead of the default, /etc/slack.conf.
-s, --source DIR
Source directory for slack files
-e, --rsh COMMAND
Remote shell for rsync
-c, --cache DIR
Local cache directory for slack files
-t, --stage DIR
Local staging directory for slack files
-r, --root DIR
Root destination for slack files
--no-sync
Skip the slack-sync step (useful if you're pushing stuff into the CACHE outside slack).
--no-files
Don't install any files in ROOT, but tell rsync to print what it would do.
--no-scripts
Don't run scripts
-n, --dry-run
Same as --no-files --no-scripts (CACHE, STAGE will still be updated)
--role-list
Role list for slack-getroles(8).
-b, --backup
Make backups of existing files in ROOT that are overwritten. This option defaults to on if it is not set to 0 in a config file or
disabled with --nobackup on the command line.
--backup-dir
Put backups from the --backup option into this directory.
-H, --hostname HOST
Pretend to be running on HOST, instead of the name given by gethostname(2).
--preview MODE
Do a diff of scripts and files before running them. MODE can be one of 'simple' or 'prompt' (See PREVIEW MODES, below).
--diff PROG
Use this diff program for previews.
--sleep TIME
Randomly sleep between 1 and TIME seconds before starting operations. Useful in crontabs.
PREVIEW MODES
Preview functionality is new in slack 0.14.0. I haven't quite worked out how things will work, so this usage is somewhat subject to change
in future versions. I thought I would try it this way and see how people like it.
In 'simple' mode, after syncing and staging the files directory, slack will present a diff of the files and scripts. In this mode, slack
will not run the preinstall or fixfiles scripts, and because of this, it may provide some false output about permissions changes to files.
In 'prompt' mode, after syncing and staging the files directory, slack will diff the script directory. If there are differences, slack
will present them to you and ask you if you want to continue. If you say no, it will exit. If you say yes, it will stage the scripts
directory, run the preinstall and fixfiles scripts, and then diff the files in the stage with those in the root. If there are differences,
slack will present them to you and ask you if you want to continue. If you say no, it will exit. If you say yes, it will install the
files and run the postinstall script.
So, the 'simple' mode is easy to use, and will be accurate if you don't use fixfiles. The 'prompt' mode will be accurate if you use fix-
files, but requires some interaction.
Why can't we just have one mode that works with fixfiles and requires no interaction? Well, that would require slack to understand what
your free-form fixfiles executable was going to do, which would either require some kind of universe simulator or would require you to
write your fixfiles in a less free-form way, which would make slack less like slack.
EXAMPLES
To install all the roles configured in the role list for a server:
slack
To install a specific role:
slack rolename
To test a new role before checking in the changes:
slack --source user@workstation:/home/user/.../slack rolename
To avoid killing your master server when calling from cron:
slack --sleep 3600
FILES
/etc/slack.conf
SEE ALSO
slack.conf(5), rsync(1)
Administrative commands 2004-10-22 slack(8)