<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.nginx.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.nginx.org/index.php?title=InstallingOnOpenSolaris&amp;feed=atom&amp;action=history</id>
		<title>InstallingOnOpenSolaris - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.nginx.org/index.php?title=InstallingOnOpenSolaris&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=InstallingOnOpenSolaris&amp;action=history"/>
		<updated>2013-06-20T11:58:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.nginx.org/index.php?title=InstallingOnOpenSolaris&amp;diff=294&amp;oldid=prev</id>
		<title>Lewellyn: /* Nginx from OpenSolaris webstack repository */  Added note about the potential agedness of webstack packages.</title>
		<link rel="alternate" type="text/html" href="http://wiki.nginx.org/index.php?title=InstallingOnOpenSolaris&amp;diff=294&amp;oldid=prev"/>
				<updated>2011-09-12T09:17:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Nginx from OpenSolaris webstack repository: &lt;/span&gt;  Added note about the potential agedness of webstack packages.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Nginx on OpenSolaris=&lt;br /&gt;
&lt;br /&gt;
Just like almost any other Unix or Unix-like system, on OpenSolaris and its derivatives, you can install Nginx from either a repository or source.&lt;br /&gt;
&lt;br /&gt;
==Install from a repository==&lt;br /&gt;
&lt;br /&gt;
In addition to whatever your OpenSolaris distribution may include, you can also install from other repositories.&lt;br /&gt;
&lt;br /&gt;
=== Nginx from OpenSolaris webstack repository ===&lt;br /&gt;
&lt;br /&gt;
(Note that the version in the OpenSolaris webstack repository may be older than you wish to install. Be sure to [http://pkg.opensolaris.org/webstack/en/search.shtml?token=nginx&amp;amp;action=Search check the available version before installing].&lt;br /&gt;
&lt;br /&gt;
Install Nginx from OpenSolaris webstack repository:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jacek@okno1:~$ pfexec pkg set-authority -O http://pkg.opensolaris.org/webstack webstack&lt;br /&gt;
jacek@okno1:~$ pfexec pkg refresh&lt;br /&gt;
jacek@okno1:~$ pfexec pkg install nginx&lt;br /&gt;
DOWNLOAD                                    PKGS       FILES     XFER (MB)&lt;br /&gt;
Completed                                    1/1       11/11     2.02/2.02 &lt;br /&gt;
&lt;br /&gt;
PHASE                                        ACTIONS&lt;br /&gt;
Install Phase                                  19/19 &lt;br /&gt;
PHASE                                          ITEMS&lt;br /&gt;
Reading Existing Index                           9/9 &lt;br /&gt;
Indexing Packages                                1/1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Edit configuration file (for testing I changed default port from 80 to 2080 because Apache was using port 80):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jacek@okno1:~$ pfexec vi /etc/nginx/nginx.conf &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install and enable service:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jacek@okno1:~$ pfexec svccfg import /var/svc/manifest/network/http-nginx.xml&lt;br /&gt;
jacek@okno1:~$ pfexec svcadm enable nginx&lt;br /&gt;
jacek@okno1:~$ svcs|grep nginx&lt;br /&gt;
online         17:50:13 svc:/network/http:nginx&lt;br /&gt;
jacek@okno1:~$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install from source==&lt;br /&gt;
&lt;br /&gt;
If you prefer to install from source, as many Nginx users do, just follow the [[Installing_on_Solaris]] instructions.&lt;/div&gt;</summary>
		<author><name>Lewellyn</name></author>	</entry>

	</feed>