We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Nginx Oxwall Install on VPS | Forum

james
james Jan 12 '14
Hi All

I know there has been a few threads on this topic but i still cant even get the install to start.
On the VPS
Ubuntu 12.04.3
NGINX
PHP and PHPMYADMIN setup as well.

Questions
1. Where do you upload and extract the oxwall-1.6.0 should this be the
/usr/share/nginx/www folder?
2.I have created a new default server block file on
/etc/nginx/sites-available/default and did a symbolic link to  /etc/nginx/sites-enabled/default
server {

        root /usr/share/nginx/www;

        listen 95.85.18.75:80;

        server_name www.mysite.com;

        access_log /var/log/nginx/mysite.com.access.log;


if ($uri !~ "^/index.php"){set $rule_0 1$rule_0; }

if ($uri !~ "/ow_updates/index.php"){set $rule_0 2$rule_0; }

if ($uri !~ "/ow_updates/"){set $rule_0 3$rule_0; }

if ($uri !~ "/ow_cron/run.php"){set $rule_0 4$rule_0; }

if ($uri !~ "^/sitemap.xml"){set $rule_0 5$rule_0; }

if ($uri !~ "^/sitemap-[0-255].xml"){set $rule_0 6$rule_0; }

if ($uri ~ "(/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$"){set $rule_0 7$rule_0;}if ($rule_0 = "7654321"){rewrite /(.*) /index.php; }


        location ~ \.php {

                fastcgi_split_path_info ^(.+\.php)(.*)$;

                #fastcgi_pass backend;

                fastcgi_pass 127.0.0.1:9000;

                fastcgi_index index.php;

                fastcgi_param SCRIPT_FILENAME /var/www/mysite$fastcgi_script_name;

                include fastcgi_params;

                fastcgi_param QUERY_STRING $query_string;

                fastcgi_param REQUEST_METHOD $request_method;

                fastcgi_param CONTENT_TYPE $content_type;

                fastcgi_param CONTENT_LENGTH $content_length;

                fastcgi_intercept_errors on;

                fastcgi_ignore_client_abort off;

                fastcgi_connect_timeout 60;

                fastcgi_send_timeout 180;

                fastcgi_read_timeout 180;

                fastcgi_buffer_size 128k;

                fastcgi_buffers 4 256k;

                fastcgi_busy_buffers_size 256k;

                fastcgi_temp_file_write_size 256k;

        }


}

When i try www.mysite.com/install or www.mysite.com/oxwall/install I just get website no found. If i try with IP address/install i get the 'welcome to nginx' message.
Does anyone have an idea?!
Thanks in advance.
Steve Winter
Steve Winter Jan 12 '14
Quote from james When i try www.mysite.com/install or www.mysite.com/oxwall/install I just get website no found. If i try with IP address/install i get the 'welcome to nginx' message. Does anyone have an idea?! Thanks in advance.

I believe that has been a defect for some time now.  You have to look in those dirs and then use the full path including the filename   to make it start.  
ross Team
ross Jan 13 '14
1. Where do you upload and extract the oxwall-1.6.0 should this be the 
/usr/share/nginx/www folder?


Probably the easiest way is just to upload different images and try your path www.mysite.com/image.jpg untill you find the right folder. 

james
james Jan 13 '14

Thanks Steve and Ross, Ill try this when i get home not at home right now. Ill also pm Jody and Kevin who i beleive have working nginx installs.

Ill post in a step by step guide once i get his working.

james
james Jan 13 '14

Quote from Steve Winter I believe that has been a defect for some time now. You have to look in those dirs and then use the full path including the filename to make it start.

Any idea or examples of this path Steve?

MAny thanks

Steve Winter
Steve Winter Jan 13 '14
Quote from james
Quote from Steve Winter I believe that has been a defect for some time now. You have to look in those dirs and then use the full path including the filename to make it start.

Any idea or examples of this path Steve?

MAny thanks


Just look for the correct *.php in the install dir but you might want to read first about what a disaster version 1.6 is


james
james Jan 14 '14
1.6 does seem to have fried a few sites,but hey its free and it still
awesome.
Im going for a fresh install so shouldnt hit problems!!
Although my first problem is how to kick off the install...
Does anyone on here have VPS install experience with oxwall
Please help!!!