Problems, need help? Have a tip or advice? Post it here.
9 posts Page 1 of 1
Im new to linux server, and my client want to install couch into their linux server. They game information like this:

Ssh access:
user : ••••••
host : ••••••••
password : •••••••••

path nginx : /usr/share/nginx/[new_folder_name]
Setting nginx : /etc/nginx/conf.d/[folder_name.conf]

Setting ha proxy : /etc/haproxy/haproxy.cfg

What should i do to install couch with information above?

Thanks.
Hi,

I manage a linux server on debian, but steps are always the same (please google commands for centos) -
1. login to the server via ssh - you'll need a desktop terminal software (I use "kitty" - a clone of putty) and check if mysql is installed. If not, then install mysql (or mariadb if you like) based on some google instructions for centos.
2. When mysql is up and running (responds to commands in terminal) I usually login to mysql remotely via HeidiSQL, which works over ssh. Create a new database.
3. upload website files to corresponding folder (I use apache, so google for nginx location) via sftp. I use FileZilla, which works fine over ssh.
4. Begin regular Couch installation.
unlimited time premium coding support per project - PM or email me or discuss in topic
active topics
Clear explanations trendoman, thank you anyway. Its helping me out.
setiawanfarlin wrote: Clear explanations trendoman, thank you anyway. Its helping me out.

You are welcome. There was little information about configuration of server. Often, servers come preloaded with PHP+MySQL. If PHP is not available, also you need to install PHP7.
unlimited time premium coding support per project - PM or email me or discuss in topic
active topics
trendoman wrote:
setiawanfarlin wrote: Clear explanations trendoman, thank you anyway. Its helping me out.

You are welcome. There was little information about configuration of server. Often, servers come preloaded with PHP+MySQL. If PHP is not available, also you need to install PHP7.

I have problem trendoman,

This is information about mysql version:
Code: Select all
mysql  Ver 14.14 Distrib 5.6.44, for Linux (x86_64) using  EditLine wrapper

When i want to create database with command:
Code: Select all
mysql -u root -p

It required password, what password should i enter? is that ssh password or something else? Or should i ask to my client for the password?
trendoman wrote:
setiawanfarlin wrote: Clear explanations trendoman, thank you anyway. Its helping me out.

You are welcome. There was little information about configuration of server. Often, servers come preloaded with PHP+MySQL. If PHP is not available, also you need to install PHP7.


I was create the Database, install PHP7 and set the folder to the Nginx location.
But i still cannot installing the couch.

Here's the screenshot when i try to install couch:
Image

I need some help here.
I read in another topic that you are not an admin on the server, which limits your options to debug problems (no access to logs). I suggest you rent your own server (adequate start from $10 per year) and use it as a playground to learn stuff, or install apache+php7+mysql there right away to deploy the website and Couch.
unlimited time premium coding support per project - PM or email me or discuss in topic
active topics
trendoman wrote: I read in another topic that you are not an admin on the server, which limits your options to debug problems (no access to logs). I suggest you rent your own server (adequate start from $10 per year) and use it as a playground to learn stuff, or install apache+php7+mysql there right away to deploy the website and Couch.


Thanks for your suggestion Trendoman.

But, maybe i'm half success right now. When i visit my couch instalation, the error now come from nginx, here's the screenshot:

Image

Thanks.
trendoman wrote: I read in another topic that you are not an admin on the server, which limits your options to debug problems (no access to logs). I suggest you rent your own server (adequate start from $10 per year) and use it as a playground to learn stuff, or install apache+php7+mysql there right away to deploy the website and Couch.


Here's the error log in my server @trendoman:
Code: Select all
2019/08/01 17:43:14 [error] 18463#0: *63 open() "/usr/share/nginx/mufit-landingpage/nginx-logo.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /nginx-logo.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:14 [error] 18463#0: *64 open() "/usr/share/nginx/mufit-landingpage/poweredby.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /poweredby.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:14 [error] 18463#0: *65 connect() failed (111: Connection refused) while connecting to upstream, client: 10.140.0.2, server: mufit.id, request: "GET /backend/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mufit.id"
2019/08/01 17:43:14 [error] 18463#0: *67 open() "/usr/share/nginx/mufit-landingpage/poweredby.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /poweredby.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:14 [error] 18463#0: *68 open() "/usr/share/nginx/mufit-landingpage/nginx-logo.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /nginx-logo.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:20 [error] 18493#0: *4 open() "/usr/share/nginx/mufit-landingpage/nginx-logo.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /nginx-logo.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:20 [error] 18493#0: *5 open() "/usr/share/nginx/mufit-landingpage/poweredby.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /poweredby.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:20 [error] 18493#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 10.140.0.2, server: mufit.id, request: "GET /backend/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mufit.id"
2019/08/01 17:43:20 [error] 18493#0: *8 open() "/usr/share/nginx/mufit-landingpage/poweredby.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /poweredby.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"
2019/08/01 17:43:20 [error] 18493#0: *9 open() "/usr/share/nginx/mufit-landingpage/nginx-logo.png" failed (2: No such file or directory), client: 10.140.0.2, server: mufit.id, request: "GET /nginx-logo.png HTTP/1.1", host: "mufit.id", referrer: "https://mufit.id/backend/"


Hope i get the solutions, thank you.
9 posts Page 1 of 1

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 4 guests