It all fits pretty well with the wondermark comic I wrote about.
I wonder how long this can go on before people get enough? I for one don't much fancy the idea of flying to .us and I'd absolutely refuse to go there via .uk.
This is just a quick note, probably most useful for myself that I've gathered while setting up a pile of X4100s.
- Download and install JumpStart Enterprise Toolkit 4.3.2. You don't need to install all of it, but is is small enough that I did. I'll assume it goes to /opt/SUNWjet
- # export PATH=$PATH:/opt/SUNWjet/bin
- I'll assume the following:
- Solaris 10 update 2
- You've got the dvd iso sol-10-u2-ga-x86-dvd.iso in /export
- You're putting your files in /export/install
- # copy_solaris_media -d /export/install/s10u2 -n s10u2 -i /export sol-10-u2-ga-x86-dvd.iso
Created loopback device /dev/lofi/1 for /export/sol-10-u2-ga-x86-dvd.iso mounted /export/sol-10-u2-ga-x86-dvd.iso at /export/install/1389/slices/s0 (of type hsfs) Copying Solaris image.... Verifying target directory... Calculating the required disk space for the Solaris_10 product Calculating space required for the installation boot image Copying the CD image to disk... Copying Install Boot Image hierarchy... Copying /boot x86 netboot hierarchy... Install Server setup complete Added Solaris image s10u2 at the following location: Media: /export/install/s10u2 Unmounting /export/install/1389/slices/s0 removing device /dev/lofi/1 removing directory /export/install/1389
Created DHCP configuration file. Created dhcptab. Added "Locale" macro to dhcptab. Added server macro to dhcptab - n1master. DHCP server started.
- NETWORK: 192.168.1.0
- NETMASK: 255.255.255.0
- ROUTER: 192.168.1.1
Adding product configuration information for + base_config + custom + sds + vts + explo + flash + san + jass + zones Updating base_config template specifics Client template created in /opt/SUNWjet/Templates
base_config_ClientArch=i86pc base_config_ClientEther=00:14:4F:2A:XX:XX base_config_ClientOS=s10u2 base_config_client_allocation="grub" base_config_sysidcfg_network_interface=e1000g0 base_config_sysidcfg_ip_address=192.168.1.3 base_config_sysidcfg_netmask=255.255.255.0 base_config_sysidcfg_default_route=192.168.1.1
######################################## # X86, X64 specific settings. If this is an x86 client, then you may need @@ -242,8 +242,8 @@ base_config_profile_dontuse="" -base_config_profile_root=free -base_config_profile_swap=256 +base_config_profile_root=8192 +base_config_profile_swap=4096 # # If you are using VxVM and want your boot disk to look like the mirror, then @@ -261,9 +261,9 @@ base_config_profile_s4_size="" base_config_profile_s5_mtpt="/var" -base_config_profile_s5_size="" +base_config_profile_s5_size="8192" -base_config_profile_s6_mtpt="/usr" +base_config_profile_s6_mtpt="" base_config_profile_s6_size="" # @@ -273,7 +273,7 @@ # base_config_profile_s7_mtpt="/opt" -base_config_profile_s7_size="" +base_config_profile_s7_size="8192M" # ############
Gathering network information.. Client: 192.168.1.175 (192.168.1.0/255.255.255.0) Server: 192.168.1.170 (192.168.1.0/255.255.255.0, SunOS) Solaris: client_prevalidate Solaris: client_build Creating sysidcfg WARNING: no base_config_sysidcfg_timeserver specified using JumpStart server Creating profile Adding base_config specifics to client configuration Solaris: Configuring JumpStart boot for x4100 Starting SMF services for JumpStart Solaris: Configure PXE/grub build Adding install client Doing a TEXT based install Leaving the graphical device as the primary console Configuring x4100 macro Using local dhcp server PXE/grub configuration complete Running '/opt/SUNWjet/bin/check_client x4100'
-------------------------------------------------------------- Check of client x4100 -> Passed....
Next installments could be to use flash install, setting up JASS and zones, adding patches and extra packages.
Very cool and well deserved.
Bryan Cantrill and a team of engineers at Sun Microsystems Inc. have devised a way to diagnose misbehaving software quickly and while it's still doing its work. While traditional trouble-shooting programs can take several days of testing to locate a problem, the new technology, called DTrace, is able to track down problems quickly and relatively easily, even if the cause is buried deep in a complex computer system. The DTrace trouble-shooting software from Sun was chosen as the Gold winner in The Wall Street Journal's 2006 Technology Innovation Awards contest, the second time in three years that a Sun entry has won the top award.
As I was playing around with Sun Studio 11 and trying out different compile options on httpd I bumped into the old problem of not being allowed to bind port 80. In usual circumstances I'd just switch to a port above 1024, but why not use Solaris privileges instead?
The usual error:
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
Finding the missing privilege:
# ppriv -eD ./httpd -k start
httpd: missing privilege "net_privaddr" (euid = 100, syscall = 232) needed at tcp_bind+0x631
As root add the missing privilege:
# usermod -K defaultpriv=basic,net_privaddr apache
# grep apache /etc/user_attr
Start httpd as the apache user and you're done.
« Previous Page -- Next Page »
- Andrew Godwin - What can programmers learn from pilots
- New blog software and layout
- Today I made it into Flickrs TwitterTuesday
- bread meatloaf recipe
- Osso buco
- XKCD gets close to the truth
- Open Source Days 2010
- Autumn has arrived
- Recipes - Sottofiletto di Manzo al Pepe Verde and Pere al Vino Rosso
- Nearby parks