Day 1: Morning: 40 mins cardio; 30 mins abs Evening: Chest and back 90 mins Day 2: Morning: Same as Day 1 Evening: Biceps and triceps 90 mins
Day 3: Morning: Same as Day 1 Evening: Shoulders and legs 90 mins
Day 4: Morning: Same as Day 1 Evening: Chest and back 90 mins
Day 5: Morning: Same as Day 1 Evening: Biceps and triceps 90 mins
Day 6: Morning: Same as Day 1 Evening: Shoulder and legs 90 mins
Day 7: Rest
Search This Blog
Tuesday, November 30, 2010
pkgutil options on solaris 10
-bash-3.00# /opt/csw/bin/pkgutil
Pkgutil 1.8.0bw, install Solaris packages the easy way.
Usage: pkgutil [option]... [package](-[version])...
-i, --install Install package
-u, --upgrade Upgrade package
-r, --remove Remove package (experimental)
-d, --download Download only
-U, --catalog Update catalog
-a, --available Show available packages
-c, --compare Compare installed packages to current
-C Same as -c but only show different versions
-e, --email=address Send e-mail with available updates
-t, --temp=site Temporarily use this site as primary for download
-s, --stream Build a package stream
-T, --target=arch:rel Specify architecture and OS release for stream
-o, --output=file File name for package stream (used with -s)
-x, --exclude=package Package to exclude
-W, --workdir=path Path to use for downloads
--config=file Use this configuration file
-y, --yes Answer yes on all prompts
-n, --nomod No modifications are made to the system
-D, --debug Debug mode
--trace Set trace mode (-v) for pkgadd/pkgrm
-h, --help Show this help
-v, --version Show version
-V, --syscheck System check
Example: pkgutil -i CSWwget (install wget and its dependencies)
Monday, November 29, 2010
To download video's from youtube on UBUNTU 10.04
u need to be root before u download this package.
root@anil-desktop:~# sudo aptitude install youtube-dl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
youtube-dl
The following packages will be REMOVED:
linux-headers-2.6.32-21{u} linux-headers-2.6.32-21-generic{u}
0 packages upgraded, 1 newly installed, 2 to remove and 112 not upgraded.
Need to get 25.0kB of archives. After unpacking 85.1MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://in.archive.ubuntu.com/ubuntu/ lucid/universe youtube-dl 2010.04.04-1 [25.0kB]
Fetched 25.0kB in 1s (19.8kB/s)
(Reading database ... 169064 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
Selecting previously deselected package youtube-dl.
(Reading database ... 150658 files and directories currently installed.)
Unpacking youtube-dl (from .../youtube-dl_2010.04.04-1_all.deb) ...
Processing triggers for man-db ...
Setting up youtube-dl (2010.04.04-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
root@anil-desktop:~# youtube-dl http://www.youtube.com/watch?v=something
[1] 2605
root@anil-desktop:~# [youtube] Setting language
[youtube] x6WSRZvOuZ4: Downloading video info webpage
[youtube] x6WSRZvOuZ4: Extracting video information
ERROR: format not available for video
root@anil-desktop:~# sudo youtube-dl --update
Updating to latest stable version...
Updated to version github
now, you can download any video from youtube.
root@anil-desktop:~# sudo aptitude install youtube-dl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
youtube-dl
The following packages will be REMOVED:
linux-headers-2.6.32-21{u} linux-headers-2.6.32-21-generic{u}
0 packages upgraded, 1 newly installed, 2 to remove and 112 not upgraded.
Need to get 25.0kB of archives. After unpacking 85.1MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://in.archive.ubuntu.com/ubuntu/ lucid/universe youtube-dl 2010.04.04-1 [25.0kB]
Fetched 25.0kB in 1s (19.8kB/s)
(Reading database ... 169064 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
Selecting previously deselected package youtube-dl.
(Reading database ... 150658 files and directories currently installed.)
Unpacking youtube-dl (from .../youtube-dl_2010.04.04-1_all.deb) ...
Processing triggers for man-db ...
Setting up youtube-dl (2010.04.04-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
This will be the output of installation , but then this won't download any video.
root@anil-desktop:~# youtube-dl http://www.youtube.com/watch?v=something
[1] 2605
root@anil-desktop:~# [youtube] Setting language
[youtube] x6WSRZvOuZ4: Downloading video info webpage
[youtube] x6WSRZvOuZ4: Extracting video information
ERROR: format not available for video
so we need to execute this command too
root@anil-desktop:~# sudo youtube-dl --update
Updating to latest stable version...
Updated to version github
now, you can download any video from youtube.
Tuesday, November 16, 2010
Install Real player in Solaris 10 x86
- Download real player from http://www.real.com/realplayer/download
- Choose the OS as solaris x86
- You will get RealPlayer11Gold-x86.tar.bz2 installer
- Create a folder Real Player and put the bz2 in that folder
- Extract it there
- You will have a script file called realplay
- If you double click on it you will get a pop up. choose 'run' option.
and you need to have real player installed in the system
if its not installed
try this out...
#./Bin/setup - you need to be in Real Player folder
it will ask you where do you want the real player to be installed, like [/opt/real/RealPlayer]:
you have to just press enter
then you will have to press 'F' later when it asks...it got installed in my system, hopefully it will get installed in yours too.
Wednesday, November 3, 2010
Set the time and date in SOLARIS
First, u need to log in as root
#date mmddhhmmyy (month|day|hour|minute|year)
example
#date 1103154510
this sets the time to nov 3 , 15:45 , 2010
#date mmddhhmmyy (month|day|hour|minute|year)
example
#date 1103154510
this sets the time to nov 3 , 15:45 , 2010
Sunday, October 24, 2010
Mozilla-Firefox installation in linux or Solaris
Download the package from mozilla's official website, it may automatically detect your OS even otherwise you can simply specify it.
once you have downloaded the tar.gz or .pkg file
for, tar.gz
. simply extract via GUI or in the CLI, you will find a folder named mozilla, in the folder you will find a script file called firefox
. create a link to that file on to the desktop ln -s command or copy paste in GUI
. when you double-click on the icon, you will have to select "run in terminal" or simply "run" on the window popped out.
. if you want to create a launcher(i.e single click and you will have firefox running without any window popping out) you have to just drag and drop the icon(link that you have created) on the desktop to the panel at the bottom(or sometimes top) of the screen.
for .pkg(in solaris),
#pkg-get -d path_to_where_the_package_is_downloaded
once you have downloaded the tar.gz or .pkg file
for, tar.gz
. simply extract via GUI or in the CLI, you will find a folder named mozilla, in the folder you will find a script file called firefox
. create a link to that file on to the desktop ln -s command or copy paste in GUI
. when you double-click on the icon, you will have to select "run in terminal" or simply "run" on the window popped out.
. if you want to create a launcher(i.e single click and you will have firefox running without any window popping out) you have to just drag and drop the icon(link that you have created) on the desktop to the panel at the bottom(or sometimes top) of the screen.
for .pkg(in solaris),
#pkg-get -d path_to_where_the_package_is_downloaded
Thursday, September 23, 2010
UBUNTU - CHANGING BOOT ORDER
well, i guess u won't be needing this because its simply amazing working on ubuntu. its got all the features which are the basic necessity of a common user. but, in case u want to change the order by any reason
follow these steps in the terminal of ubuntu.
gedit /etc/default/grub
GRUB_DEFAULT=0 //you need to edit this line and set it one number less than the OS u want to from from 1st
for example, centos is in 5th position while boot up then set GRUB_DEFAULT=4( the reason may be bcz the values are stored in an array and so, one less than actual place value)
after this u need to run a command
sudo update-grub // u need to know the root password before u execute this command.
cheers to the self-less work done by developers of ubuntu!
follow these steps in the terminal of ubuntu.
gedit /etc/default/grub
GRUB_DEFAULT=0 //you need to edit this line and set it one number less than the OS u want to from from 1st
for example, centos is in 5th position while boot up then set GRUB_DEFAULT=4( the reason may be bcz the values are stored in an array and so, one less than actual place value)
after this u need to run a command
sudo update-grub // u need to know the root password before u execute this command.
cheers to the self-less work done by developers of ubuntu!
Subscribe to:
Posts (Atom)
