Archive for the ‘Solaris’ Category

Directing Solaris Tar to Extract to Current Directory

Tuesday, August 7th, 2007

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org If a tarball includes the full path, use the following command to extract it to the current directory instead of the full path: pax -rv -f filename.tar -s ',^/,,'

Creating Solaris Packages

Tuesday, August 7th, 2007

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org Creating Solaris Packages -------------------------(This is certainly not the ONLY way to do this, so I'll just show you how I did it, and you can investigate the other ways and decide which one works best for you...  Here are a few links) http://www.ibiblio.org/pub/packages/solaris/sparc/html/creating.solaris.packages.html http://www.sunfreeware.com My version is basically a composite ...

Creating a Zone in Solaris 10

Tuesday, August 7th, 2007

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org ------ Creating a Zone in Solaris 10 ------ ------------------------------------------- To view a list and status of currently installed zones: ------------------------------------------------------ # zoneadm list -vi   ID NAME             STATUS         PATH                             0 global           running        /    1 jumpstart        running        /u01/zones/jumpstart To create a new zone: -------------------- # zonecfg -z <zonename>      (if the zone has not ...

Configuring NTP in Solaris 10

Tuesday, August 7th, 2007



Command Line Number Conversion

Tuesday, August 7th, 2007

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org How To Convert Numbers to Decimal on the Command Line: ------------------------------------------- to convert HEX to decimal: echo "ibase=16; 38E" | bc (where ibase is the number base, for HEX, 16 and the number following the ; is the number you wish to convert) For Octal, change the ibase to 8, ...

Changing the MAC Address on a NIC Card

Tuesday, August 7th, 2007

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org Example: 'ifconfig -a' shows: - - - - - - - - - hme0: flags=1000843 mtu 1500 index 2         inet 192.168.1.120 netmask ffffff00 broadcast 192.168.1.255         ether 8:0:20:cf:ea:9f qfe0: flags=1000803 mtu 1500 index 10         inet 192.168.1.150 netmask ffffff00 broadcast 192.168.1.255         ether 8:0:20:cf:ea:9f - - - - - - - - ...

Change Default Router Without Reboot

Tuesday, August 7th, 2007

 Tip courtesy of Kyle Reynolds at http://www.camelrichard.org  View the routing table: ---------------------- netstat -rn   Routing Table: IPv4     Destination           Gateway           Flags  Ref   Use   Interface   -------------------- -------------------- ----- ----- ------ ---------   10.67.13.0           10.67.13.50           U        1     42  hme0   10.67.3.0            10.67.3.65            U        1   9172  hme1   224.0.0.0            10.67.13.50           U        1      0  hme0   default              10.67.12.1            UG       1    148   127.0.0.1            ...

Automount NFS

Tuesday, August 7th, 2007

 Tip courtesy of Kyle Reynolds at http://www.camelrichard.org to automount NFS on the server to be mounted from: edit the /etc/dfs/dfstab file to share the directory to be mounted. example: *********************************************************************************** share  -F nfs  -o ro=hostname.domain.com   /u01/app/jboss/server/all/log *********************************************************************************** stop/start /etc/init.d/nfs.client  &  /etc/init.d/nfs.server on server to be mounted on: edit the /etc/auto_export file to add the mountpoint: example: *********************************************************************************** mountpoint hostname:/u01/app/weblogic/bea/user_projects/domains/mydomain/logdir mountpoint hostname2:/u01/app/jboss/CMS/server/all/log *********************************************************************************** run automount check to make ...