if we have 2 folders
- program files(x86) &
- program files
then it is a 64 bit machine!
if only program files folder, then it is 32 bit machine!
in 64 bit machine program files folder installs 32 bit applications
Search This Blog
Wednesday, July 20, 2011
Sunday, May 22, 2011
List of prefixes that are used to denote the quantity of something
Prefix | Symbol(s) | Power of 10 | Power of 2 |
yocto- | y | 10-24 * | -- |
zepto- | z | 10-21 * | -- |
atto- | a | 10-18 * | -- |
femto- | f | 10-15 * | -- |
pico- | p | 10 |
-12 * | -- | ||
nano- | n | 10-9 * | -- |
micro- | m | 10-6 * | -- |
milli- | m | 10-3 * | -- |
centi- | c | 10-2 * | -- |
deci- | d | 10-1 * | -- |
(none) | -- | 100 | 20 |
deka- | D | 101 * | -- |
hecto- | h | 102 * | -- |
kilo- | k or K ** | 103 | 210 |
mega- | M | 106 | 220 |
giga- | G | 109 | 230 |
tera- | T | 1012 | 240 |
peta- | P | 1015 | 250 |
exa- | E | 1018 * | 260 |
zetta- | Z | 1021 * | 270 |
yotta- | Y | 1024 * | 280 |
* Not generally used to express data speed | |||
** k = 103 and K = 210 |
Friday, May 6, 2011
Thursday, April 28, 2011
Wednesday, February 2, 2011
TO FIND THE NAMESERVER IP OF A HOST OR WEBPAGE
bash-3.00# host -r gmail.com
gmail.com has address 209.85.231.83
bash-3.00# host -r facebook.com
facebook.com has address 69.63.181.12
facebook.com has address 69.63.189.11
facebook.com has address 69.63.189.16
facebook.com mail is handled by 10 smtpin.mx.facebook.com.
gmail.com has address 209.85.231.83
bash-3.00# host -r facebook.com
facebook.com has address 69.63.181.12
facebook.com has address 69.63.189.11
facebook.com has address 69.63.189.16
facebook.com mail is handled by 10 smtpin.mx.facebook.com.
Tuesday, January 18, 2011
ABOUT JUMPSTART
AVAILABLE PACKAGE CLUSTERS IN PROFILE FILE
SUNWCrnet is Reduced Network Support Software Group. -> lack of everything, from bash to bzip
SUNWCreq is Core System Support Software Group. -> lack of bash, manpages...
SUNWCuser is End User Solaris Software Group. -> include CDE Desktop, Mozilla, etc
SUNWCprog is Developer Solaris Software Group. -> the same with libs and header files
SUNWCall is Entire Solaris Software Group. -> EVERYTHING
SUNWCXall is Entire Solaris Software Group Plus OEM Support. -> EVERYTHING with more drivers
SUNWCrnet is Reduced Network Support Software Group. -> lack of everything, from bash to bzip
SUNWCreq is Core System Support Software Group. -> lack of bash, manpages...
SUNWCuser is End User Solaris Software Group. -> include CDE Desktop, Mozilla, etc
SUNWCprog is Developer Solaris Software Group. -> the same with libs and header files
SUNWCall is Entire Solaris Software Group. -> EVERYTHING
SUNWCXall is Entire Solaris Software Group Plus OEM Support. -> EVERYTHING with more drivers
Thursday, January 13, 2011
To find an IP of a website
#ping facebook.com
anil@anil-desktop:~$ ping facebook.org
PING facebook.org (69.63.189.16) 56(84) bytes of data.
64 bytes from www-11-01-ash2.facebook.com (69.63.189.16): icmp_seq=1 ttl=245 time=304 ms
64 bytes from www-11-01-ash2.facebook.com (69.63.189.16): icmp_seq=2 ttl=245 time=303 ms
You have the IP!
To get the details of a website go for public domain registry websites like http://www.whois.net/ or http://webipaddress.net/
anil@anil-desktop:~$ ping facebook.org
PING facebook.org (69.63.189.16) 56(84) bytes of data.
64 bytes from www-11-01-ash2.facebook.com (69.63.189.16): icmp_seq=1 ttl=245 time=304 ms
64 bytes from www-11-01-ash2.facebook.com (69.63.189.16): icmp_seq=2 ttl=245 time=303 ms
You have the IP!
To get the details of a website go for public domain registry websites like http://www.whois.net/ or http://webipaddress.net/
Jumpstart Installation on Solaris 10 x86 Machine
bash-3.00# mkdir -p /export/install //this is the jumpstart directory
bash-3.00# cd /cdrom/cdrom0/Solaris_10/Tools
bash-3.00# ./setup_install_server /export/install
bash-3.00# du -sk /export/install/ //check whether all the contents are present
2246131 /export/install
bash-3.00# cd /export/config/ //server configuration setting directory
bash-3.00# ls //these are the files to be present in this directory
begin check finish profile rules rules.ok sysidcfg
bash-3.00# vi sysidcfg/sysidcfg
"sysidcfg/sysidcfg" 12 lines, 267 characters
system_locale=en_US.UTF-8
timezone=ASIA/Calcutta
timeserver=localhost
terminal=xterm
name_service=NONE
security_policy=NONE
root_password=<copy_from_/etc/passwd>
network_interface=ife0 {hostname=client
netmask=255.255.255.0
protocol_ipv6=no
default_route=192.168.1.0}
bash-3.00# vi rules
"rules" 1 line, 42 characters
hostname client i386 begin profile finish
bash-3.00# vi begin //optional
"begin" 2 lines, 54 characters
#!/bin/sh
echo "Begin Script for JumpStart client..."
bash-3.00# vi profile
"profile" 9 lines, 260 characters
install_type initial_install
cluster SUNWCall
fdisk all solaris allpartitioning explicit
filesys rootdisk.s0 6144 /
filesys rootdisk.s1 1024 swap
filesys rootdisk.s7 free /export/home
system_type standalone
bash-3.00# vi finish //optional
"finish" 7 lines, 152 characters
#!/bin/sh
echo "Finish Script for JumpStart client1..."
echo "Get rid of the nfs prompt during the initial boot"
touch /a/etc/.NFS4inst_state.domain #to prevent nfs boot prompt
bash-3.00# ./check
Validating rules...
Validating profile profile...
The custom JumpStart configuration is ok.
bash-3.00# vi rules.ok //this is the file that will be created after the check script is executed
"rules.ok" 2 lines, 68 characters
hostname client i386 begin profile finish
# version=2 checksum=3849
note the permissions of all the file
bash-3.00# ls -l
total 136
-rwxr-xr-x 1 root root 54 Jan 7 09:35 begin
-r-xr-xr-x 1 root root 63082 Jan 6 09:13 check
-rwxr-xr-x 1 root root 152 Jan 7 09:37 finish
-rw-r--r-- 1 root root 259 Jan 7 09:35 profile
-rw-r--r-- 1 root root 42 Jan 7 09:13 rules
-rw-r--r-- 1 root root 68 Jan 6 10:30 rules.ok
drwxr-xr-x 2 root root 512 Jan 4 12:17 sysidcfg
bash-3.00# vi /etc/dfs/dfstab
"/etc/dfs/dfstab" 14 lines, 480 characters
#
Place share(1M) commands here for automatic execution
#
on entering init state 3.
#
#
Issue the command 'svcadm enable network/nfs/server' to
#
run the NFS daemon processes and the share commands, after adding
#
the very first entry to this file.
#
#
share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#
.e.g,
#
share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o ro,anon=0 /export/install
share -F nfs -o ro,anon=0 /export/config
bash-3.00# /etc/init.d/nfs.server start //start the nfs server
bash-3.00#
bash-3.00# shareall
bash-3.00# share
- /export/config ro,anon=0 ""
- /export/install ro,anon=0 ""
bash-3.00# ./add_install_client -d -e 0:19:D1:7B:BB:32 -s 192.168.1.24:/export/install/ -c
192.168.1.24:/export/config/ -p 192.168.1.24:/export/config/sysidcfg i86pc
cleaning up preexisting install client "0:19:D1:7B:BB:32"
To disable 0:19:D1:7B:BB:32 in the DHCP server,
remove the entry with Client ID 010019D17BBB32
If not already configured, enable PXE boot by creating
a macro named 010019D17BBB32 with:
Boot server IP (BootSrvA) : ip-addr-for-server
Boot file(BootFile) : 010019D17BBB32
descriptions of ./add_install_client options
-d = specify dhcp client on a x86 machine
-e = specify the ethernet add' of the system to be installed
-s server_name:path = Specify the name of the server and the absolute path of the Solaris installation image that is used for this installation.
-c server_name:path = this option is required only to specify a JumpStart directory for a custom JumpStart installation.
-p server_name: path = this option is used to specify the NFS or ZFS shared directory that contains the user-defined sysidcfg file.
Add – install dhcp in this file.
bash-3.00# vi /tftpboot/menu.lst.010019D17BBB32
"/tftpboot/menu.lst.010019D17BBB32" 5 lines, 327 characters
default=0
timeout=30
title Solaris_10 Jumpstart
kernel /I86PC.Solaris_10-1/multiboot kernel/unix - install dhcp -B
install_config=192.168.1.24:/export/config/,sysid_config=192.168.1.24:/export/config/sysidcfg,install_
media=192.168.1.24:/export/install/,install_boot=192.168.1.24:/export/install/boot
module /I86PC.Solaris_10-1/x86.miniroot
Boot the clients and remember to set the boot priority of the clients to Ethernet
I couldn't succeed with the complete installation...
was getting errors, few of them are
- no driver binding
- no driver attached
after exiting shell. . .
- i got jumpstart directiry not found
- rules.ok could not be matched
i wish u guys find this documentation helpful and u turn out successful...u can also follow this link and understand the aspects in a broader perspective
http://www.scribd.com/doc/47347274/Jumpstart-Documentation
bash-3.00# cd /cdrom/cdrom0/Solaris_10/Tools
bash-3.00# ./setup_install_server /export/install
bash-3.00# du -sk /export/install/ //check whether all the contents are present
2246131 /export/install
bash-3.00# cd /export/config/ //server configuration setting directory
bash-3.00# ls //these are the files to be present in this directory
begin check finish profile rules rules.ok sysidcfg
bash-3.00# vi sysidcfg/sysidcfg
"sysidcfg/sysidcfg" 12 lines, 267 characters
system_locale=en_US.UTF-8
timezone=ASIA/Calcutta
timeserver=localhost
terminal=xterm
name_service=NONE
security_policy=NONE
root_password=<copy_from_/etc/passwd>
network_interface=ife0 {hostname=client
netmask=255.255.255.0
protocol_ipv6=no
default_route=192.168.1.0}
bash-3.00# vi rules
"rules" 1 line, 42 characters
hostname client i386 begin profile finish
bash-3.00# vi begin //optional
"begin" 2 lines, 54 characters
#!/bin/sh
echo "Begin Script for JumpStart client..."
bash-3.00# vi profile
"profile" 9 lines, 260 characters
install_type initial_install
cluster SUNWCall
fdisk all solaris allpartitioning explicit
filesys rootdisk.s0 6144 /
filesys rootdisk.s1 1024 swap
filesys rootdisk.s7 free /export/home
system_type standalone
bash-3.00# vi finish //optional
"finish" 7 lines, 152 characters
#!/bin/sh
echo "Finish Script for JumpStart client1..."
echo "Get rid of the nfs prompt during the initial boot"
touch /a/etc/.NFS4inst_state.domain #to prevent nfs boot prompt
bash-3.00# ./check
Validating rules...
Validating profile profile...
The custom JumpStart configuration is ok.
bash-3.00# vi rules.ok //this is the file that will be created after the check script is executed
"rules.ok" 2 lines, 68 characters
hostname client i386 begin profile finish
# version=2 checksum=3849
note the permissions of all the file
bash-3.00# ls -l
total 136
-rwxr-xr-x 1 root root 54 Jan 7 09:35 begin
-r-xr-xr-x 1 root root 63082 Jan 6 09:13 check
-rwxr-xr-x 1 root root 152 Jan 7 09:37 finish
-rw-r--r-- 1 root root 259 Jan 7 09:35 profile
-rw-r--r-- 1 root root 42 Jan 7 09:13 rules
-rw-r--r-- 1 root root 68 Jan 6 10:30 rules.ok
drwxr-xr-x 2 root root 512 Jan 4 12:17 sysidcfg
bash-3.00# vi /etc/dfs/dfstab
"/etc/dfs/dfstab" 14 lines, 480 characters
#
Place share(1M) commands here for automatic execution
#
on entering init state 3.
#
#
Issue the command 'svcadm enable network/nfs/server' to
#
run the NFS daemon processes and the share commands, after adding
#
the very first entry to this file.
#
#
share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#
.e.g,
#
share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o ro,anon=0 /export/install
share -F nfs -o ro,anon=0 /export/config
bash-3.00# /etc/init.d/nfs.server start //start the nfs server
bash-3.00#
bash-3.00# shareall
bash-3.00# share
- /export/config ro,anon=0 ""
- /export/install ro,anon=0 ""
bash-3.00# ./add_install_client -d -e 0:19:D1:7B:BB:32 -s 192.168.1.24:/export/install/ -c
192.168.1.24:/export/config/ -p 192.168.1.24:/export/config/sysidcfg i86pc
cleaning up preexisting install client "0:19:D1:7B:BB:32"
To disable 0:19:D1:7B:BB:32 in the DHCP server,
remove the entry with Client ID 010019D17BBB32
If not already configured, enable PXE boot by creating
a macro named 010019D17BBB32 with:
Boot server IP (BootSrvA) : ip-addr-for-server
Boot file(BootFile) : 010019D17BBB32
descriptions of ./add_install_client options
-d = specify dhcp client on a x86 machine
-e = specify the ethernet add' of the system to be installed
-s server_name:path = Specify the name of the server and the absolute path of the Solaris installation image that is used for this installation.
-c server_name:path = this option is required only to specify a JumpStart directory for a custom JumpStart installation.
-p server_name: path = this option is used to specify the NFS or ZFS shared directory that contains the user-defined sysidcfg file.
Once you are done with this, follow the screen-shots at this link
http://www.scribd.com/doc/46599344/Jumpstart-server-installation-on-Solaris-10-x86-MachineAdd – install dhcp in this file.
bash-3.00# vi /tftpboot/menu.lst.010019D17BBB32
"/tftpboot/menu.lst.010019D17BBB32" 5 lines, 327 characters
default=0
timeout=30
title Solaris_10 Jumpstart
kernel /I86PC.Solaris_10-1/multiboot kernel/unix - install dhcp -B
install_config=192.168.1.24:/export/config/,sysid_config=192.168.1.24:/export/config/sysidcfg,install_
media=192.168.1.24:/export/install/,install_boot=192.168.1.24:/export/install/boot
module /I86PC.Solaris_10-1/x86.miniroot
Boot the clients and remember to set the boot priority of the clients to Ethernet
I couldn't succeed with the complete installation...
was getting errors, few of them are
- no driver binding
- no driver attached
after exiting shell. . .
- i got jumpstart directiry not found
- rules.ok could not be matched
i wish u guys find this documentation helpful and u turn out successful...u can also follow this link and understand the aspects in a broader perspective
http://www.scribd.com/doc/47347274/Jumpstart-Documentation
Thursday, January 6, 2011
To set the Hostname in SOLARIS x86
you should have all these files or else create it.
/etc/nodename
/etc/hostname.<interface> e.g /etc/client.gani0 gani0 is the network interface
/etc/inet/hosts
/etc/inet/ipnodes
#vi /etc/nodename
client
#/etc/hostname.<interface>
client
bash-3.00# vi /etc/inet/hosts
"/etc/inet/hosts" [Read only] 6 lines, 111 characters
#
# Internet host table
#
127.0.0.1 localhost loghost
::1 localhost loghost
192.168.1.13 client# Added by DHCP add "client" as host name
check in /etc/inet/ipnodes it will be changed and hostname will be client
/etc/nodename
/etc/hostname.<interface> e.g /etc/client.gani0 gani0 is the network interface
/etc/inet/hosts
/etc/inet/ipnodes
#vi /etc/nodename
client
#/etc/hostname.<interface>
client
bash-3.00# vi /etc/inet/hosts
"/etc/inet/hosts" [Read only] 6 lines, 111 characters
#
# Internet host table
#
127.0.0.1 localhost loghost
::1 localhost loghost
192.168.1.13 client# Added by DHCP add "client" as host name
check in /etc/inet/ipnodes it will be changed and hostname will be client
Subscribe to:
Posts (Atom)