July 21, 2008
Solaris Zones
No Comments
I created a test zone which is to function as my webserver. Lo and behold it went so well there was no need to destroy and start again. The only problem is i am not happy with the name of the zone, which is webzone. I also didn’t like the location it was on the filesystem. So first to move it from /work/webzone to /work/zones/constantine:
charlemagne:/ # zoneadm -z webzone move /work/zones/constantine
Now to rename the zone itself:
charlemagne:/ # zonecfg -z webzone
zonecfg:webzone> set zonename=constantine
zonecfg:constantine> commit
zonecfg:constantine> exit
charlemagne:/ # zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- constantine installed /work/zones/constantine native shared
The zone cannot be running to perform either task.
July 21, 2008
apache
No Comments
I am trying a new version of apache on Solaris. I jumped from 2.058 to 2.2.9. The httpd.conf from the old to the new was no longer valid, so i started again. Made the classic mistake of trying to do everything before testing and the whole configuration was screwed up so i started again. There was an error in the browser i had not seen before:
Forbidden
You don’t have permission to access / on this server
So i looked at all the permission files, all ok. I had another look at the httpd.conf file and found the <Directory> directive has changed to “a very restrictive set of features”. I changed “Deny from all” to “Allow from all” and it is now working.
June 24, 2008
Solaris Jumpstart
No Comments
In a previous post i showed how to add a system to a jumpstart configuration. Now i will show how to add a new release of Solaris to the jumpstart.
# cd /cdrom/cdrom0/Solaris_10/Tools
# ./setup_install_server /work/install/sol10_0508
This will copy all the files from the dvd to the appropriate directories on your jumpstart server. Be patient, this may take a long time.
Don’t forget to edit /etc/bootparams for existing systems in your environment that will want to install the older image.