Note To Self: Things To Do On A Vanilla System

<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-12162483-1"); pageTracker._trackPageview(); } catch(err) {}</script>

I just thought I'd make a note of the common things I do and funny enough, I think this blog might be the closest thing I have from a sticky note / persistent backup ... so here goes:

 PATH=/usr/bin:/usr/sbin:/usr/gnu/bin:$PATH
# enable power management
pfexec echo "S3-support    enable" >> /etc/power.conf
pfexec pmconfig
pfexec svcadm restart hal

# disable access time update on rpool to minimize disk writes
pfexec zfs set atime=off rpool

# get pkgutil to install community software
pfexec pkgadd -d http://blastwave.network.com/csw/pkgutil_`uname  -p`.pkg

# Add repositories to the package manager

pfexec pkg set-publisher -O http://pkg.opensolaris.org/dev/ dev
pfexec pkg set-publisher -O http://pkg.opensolaris.org/contrib/ contrib
pfexec pkg set-publisher -O http://blastwave.network.com:10000/ blastwave
pfexec pkg set-publisher -O http://pkg.sunfreeware.com:9000/ sunfreeware


# download and install the flash plug-in for firefox
wget http://fpdownload.macromedia.com/get/flashplayer/current/flash_player_10_solaris_x86.tar.bz2 -O libfp.tar.bz2 --no-check-certificate
bunzip2 libfp.tar.bz2
tar xf libfp.tar
pfexec mv flash_player\*/libflashplayer.so /usr/lib/firefox/plugins
rm libfp.tar
rmdir flash_player\*

# get perfbar
wget http://blogs.sun.com/partnertech/resource/tools/perfbar.i386 -O perfbar --no-check-certificate
chmod 755 perfbar
nohup ./perfbar &

# configure coreadm
coreadm -g /var/cores/%t-%f -e global

Comments:

I also do a pfexec set atime=off rpool
to minimize the disk writes

Posted by Bill Hathaway on October 29, 2009 at 04:00 AM MDT #

woops, should be
pfexec zfs set atime=off rpool

Posted by Bill Hathaway on October 29, 2009 at 04:01 AM MDT #

Thanks Bill, I update the post to reflect your comment!

Posted by arnaud on November 06, 2009 at 05:36 AM MST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Directory Services Tutorials, Utilities, Tips and Tricks

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today