-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
www-data not exists in centos, what is the replacement? #73
Comments
The default storage path for Apache on CentOS is |
(source)
(source) My guess with nginx you will find the user in /etc/nginx/nginx.conf |
After google,I found in the centos, apache is the replacement. However, there is neither no apache use on my centos server . In the end, I just use the root user. |
It seems that www-data is used as a group in the document. The document seems said a user called geonode should be create, and add it to www-data group. I am installing the geonode by docker. I think since all web server is in the docker containers, why we need create a user in the host server? |
If you do use docker than it's a different story. Be aware of rootless docker mode. |
@t-book The document said A geonode user should be created and add to docker and www-data group in the docker install part. I want to know is it a necessory step? For adding user to docker group, I see it in many docker configure tutorials. But why www-data is also need? |
Hi @vipcxj no I do not see a need that you host user is added to www-data. However I would strongly suggest getting familiar with permissions of users and groups further to visit the docker docs section regarding running Docker in production:
I've never used centos but these steps should cover all you need:
None of them asks you to deal with www-data |
We're always looking for helping hands for improving the docs. If you like to sharpen the setup for centos and docker a PR is very welcome! |
@t-book I successfully install the geonode using docker. But I install it using the root user, so most permission Issue will not be problem. I don't sure whether it should be documented. |
@vipcxj Just 3 things:
|
There are many times the
www-data
is mentioned in the document, but it does not exist in the centos. So many commands in the document are not able to invoked in centos.The text was updated successfully, but these errors were encountered: