Ms4

From Wikitech
(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
 
If you need to go fool with the configuration later, the file you want is server.xml and it's in /opt/webserver7/https-ms4/config.
 
If you need to go fool with the configuration later, the file you want is server.xml and it's in /opt/webserver7/https-ms4/config.
  
If you need the web server to start on boot and you didn't specify it at install time, you're going to go looking for /etc/init.d/webserver7 and it won't be there.  Steal one from another machine (if anyone knows the right way, please add it here :-P)
+
If you need the web server to start on boot and you didn't specify it at install time, you're going to go looking for /etc/init.d/webserver7 and it won't be there.  Steal one from another Sun box running Solaris (if anyone knows the right way, please add it here :-P) Then cd into /etc/rc2.d and
 +
ln -s ../init.d/webserver7 K05webserver7
 +
and cd into /etc/rc3.d and
 +
ln -s ../init.d/webserver7 S75webserver7
 +
 
 +
The new method under Solaris 10 uses svcs but this is a legacy app so it uses scripts in init.d.
 +
 
  
 
More info:
 
More info:
 
*[http://wikis.sun.com/display/WebServer/faq_install]: Sun FAQ on installing
 
*[http://wikis.sun.com/display/WebServer/faq_install]: Sun FAQ on installing

Revision as of 00:30, 29 July 2009

Ms4 is a Sun something-or-other. I'll put more information in here soon.

Ms4 is going to be our primary server for thumbnails. Currently it servers some of them; the filesystem is nfs-mounted on the apaches and on ms1, and some of the thumb directories on the ms1 share are sym links to the ms4 locations.

Web server set up

We are (going to be) running the Sun Java Web Server 7. To get this:

  • Make sure you have a login at sunsolve (I wonder if you need this); you can create it for free.
  • One the left where it says "Change Contract" click that, and add our contract number. You are supposed to log out and log back in for it to take effect.
  • Go to Sun and download the software. We just need the plain web server, not all the rest. To do this, click through to the point where you actually click to download; when the download starts, interrupt it, right click on the link in the page to copy it and then use wget on ms4 to retrieve the file. (Uploading it form the office is going to be too slow.) The session token is only good for a few minutes.
  • Install info: [1]. In a nutshell: unpack the tarball someplace convenient for you, cd into the directory and run ./setup --console
  • The install root will be /opt/webserver7, hostname ms4, port 80, runtime id apache, /export/thumbs for the document root.

If you need to go fool with the configuration later, the file you want is server.xml and it's in /opt/webserver7/https-ms4/config.

If you need the web server to start on boot and you didn't specify it at install time, you're going to go looking for /etc/init.d/webserver7 and it won't be there. Steal one from another Sun box running Solaris (if anyone knows the right way, please add it here :-P) Then cd into /etc/rc2.d and

ln -s ../init.d/webserver7 K05webserver7

and cd into /etc/rc3.d and

ln -s ../init.d/webserver7 S75webserver7

The new method under Solaris 10 uses svcs but this is a legacy app so it uses scripts in init.d.


More info:

  • [2]: Sun FAQ on installing
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox