Installing Wiki.js on CentOS 7
-
But if there are concerns about the platform, just run it in either Docker or LXC/LXD. Then it makes no difference at all.
-
@scottalanmiller Thanks for documenting this. Going to install again tomorrow on either Cent or fedora
-
@fuznutz04 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Thanks for documenting this. Going to install again tomorrow on either Cent or fedora
Fedora is a snap.
-
@fuznutz04 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Thanks for documenting this. Going to install again tomorrow on either Cent or fedora
Yeah @scottalanmiller himself would tell you to install it on Fedora. He's just using CentOS because "it is our existing standard platform for NodeJS deployments" as he said.
-
@wirestyle22 said in Installing Wiki.js on CentOS 7:
@fuznutz04 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Thanks for documenting this. Going to install again tomorrow on either Cent or fedora
Yeah @scottalanmiller himself would tell you to install it on Fedora. He's just using CentOS because "it is our existing standard platform for NodeJS deployments" as he said.
I figured, as Fedora is the new "go to" around here.
-
@wirestyle22 said in Installing Wiki.js on CentOS 7:
@fuznutz04 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Thanks for documenting this. Going to install again tomorrow on either Cent or fedora
Yeah @scottalanmiller himself would tell you to install it on Fedora. He's just using CentOS because "it is our existing standard platform for NodeJS deployments" as he said.
Exactly.
-
Very good job thanks !!! :grinning_face_with_smiling_eyes:
Was very usefull for my work.I'm beginning with Linux admin and i have a problem after installation. If someone have a idea ?
The installation Complete good, i havn't set SSL configuration and skip the Git configuration. But after the 30seconds waiting at the end. I have a error page in my web browser..
Where can i find log about this error ?
-
@mikah67 said in Installing Wiki.js on CentOS 7:
Very good job thanks !!! :grinning_face_with_smiling_eyes:
Was very usefull for my work.I'm beginning with Linux admin and i have a problem after installation. If someone have a idea ?
The installation Complete good, i havn't set SSL configuration and skip the Git configuration. But after the 30seconds waiting at the end. I have a error page in my web browser..
Where can i find log about this error ?
Start in /var/log/nginx
-
@scottalanmiller Thanks for reply.
Given that i don't use SSL, i havn't install a web server such Apache or Nginx.
I use just Node.js.
The instalation step work fine (Mongodb connexion OK) It's after the 30seconds wait. after the auto-refresh i'v a error page :unamused_face:
-
@mikah67 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Thanks for reply.
Given that i don't use SSL, i havn't install a web server such Apache or Nginx.
I use just Node.js.
The instalation step work fine (Mongodb connexion OK) It's after the 30seconds wait. after the auto-refresh i'v a error page :unamused_face:
Oh, that's going to be a lot more tricky.
In your wiki.js deployment directory, there should be a logs directory. Check wiki-error-0.log in there.
-
Yep i have nothing in the "wiki-error-0.log" the files is empty.
-
Hmm i have progress :smiling_face_with_open_mouth_closed_eyes:
When i try a other port in the configuration (tcp/8080) i have a other result. But..
image url)
The language is french :smiling_face_with_open_mouth_closed_eyes:
I search next.
Thanks for help
-
That looks like it is running fine, but likely you are using an IP address and it was configured for a URL or vice versa. It's not picking up the images.
-
@scottalanmiller Yep, i have use now a dns for connect me.
When i let the port 80 in configuration i have the same issue.
When i use the port 8080 in configuration it's works ! But when i change a page, it's redirect at port 80.. And i need te insert manually the port 8080 in the url.
I suppose it's a problem with the redirect and or node.js (Version v6.12.3).
I will try to reinstall it
-
@mikah67 said in Installing Wiki.js on CentOS 7:
@scottalanmiller Yep, i have use now a dns for connect me.
When i let the port 80 in configuration i have the same issue.
When i use the port 8080 in configuration it's works ! But when i change a page, it's redirect at port 80.. And i need te insert manually the port 8080 in the url.
I suppose it's a problem with the redirect and or node.js (Version v6.12.3).
I will try to reinstall it
DNS redirects do not handle ports, that would cause the issue.
-
-
@mikah67 said in Installing Wiki.js on CentOS 7:
hmm okey !
Which version use you of node.js ?
I will try a new install
What are you doing trying to get things on weird ports?
The defualt port for Wiki.js is port 3000.
@scottalanmiller's instructions override that to port 4573 for whatever reason.
When you set this up, just keep thing default.
Also realize that if you are not putting a reverse proxy in front of this, that you need to configure the webstire URL in the web configuraiton step to use the port also.
-
At first i have try with de default port (tcp/3000) . And i have configured a website url with a functionnal dns in the configuration step.
It's just after that i try with different "weird ports" .
It's my first experience with node.js , i think i have missed something .
I will try your tutorial with Fedora27 and nvm. -
@mikah67 said in Installing Wiki.js on CentOS 7:
At first i have try with de default port (tcp/3000) . And i have configured a website url with a functionnal dns in the configuration step.
DNS can't point to ports. So either you use the standard port (80) and DNS can point to it, or you use a non-standard port (3000, 8080, 4567, etc.) and it can't. It's one or the other. Trying different ports that are not 80 will not help anything.
-
@scottalanmiller said in Installing Wiki.js on CentOS 7:
@mikah67 said in Installing Wiki.js on CentOS 7:
At first i have try with de default port (tcp/3000) . And i have configured a website url with a functionnal dns in the configuration step.
DNS can't point to ports. So either you use the standard port (80) and DNS can point to it, or you use a non-standard port (3000, 8080, 4567, etc.) and it can't. It's one or the other. Trying different ports that are not 80 will not help anything.
WTF? DNS points to an IP always. It has nothing to do with any port, 80 or otherwise.
You set up your DNS entry and unless you choose to use port 80 (http) or port 443 (https) you are required to use the port always.