installing WEB SERVER on linux (CENTOS)
Hi,
I'm trying to install a thttp web server which is part of a TI software package for embedded video systems. after running the configuration file I did a make install which seemed to be running and printed put lines, but eventually got error because of chgrp command which failed. (see attached). cp makeweb /usr/local/sbin/makeweb chgrp www /usr/local/sbin/makeweb chgrp: invalid group `www' make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/user/dvsdk_2_10_01_18/examples/dm365/thttpd-2.25b/extras' make: *** [installsubdirs] Error 2 Can anyone give me a hint, what to do next/how to define this group? Thank you, Danny |
|
I'm a little surprised that Centos doesn't already have the 'www' group in the /etc/group file.
Assuming you are installing an Apache web server, you should see something like below. Run this command from a terminal. Code:
grep www /etc/group Look at the /etc/passwd file to see if there's a 'wwwrun' user there, and use the group number from that to create the group. Code:
grep wwwrun /etc/passwd |
Why don't try with easy feature from centos.
Quote:
How if you try a easier feature from CentOS using with "yum" ? Try this, "yum install httpd". It will not spent your time only for installing the webserver. Except, if you want to learn for try installing from the source code. |
Quote:
|
Quote:
The grep failed to find any results on both the direcotries you suggested. Also this command is being rejected within the command line. it doesn't work as there is no gropuadd command in the os. Afterwards I saw in the response by CPARAPAT saying that CENTOS doesn't support this. Thanks again, Danny |
Quote:
ofcourse I prefer to install it with yum (which as I understand works like windows install/setup), but this also failes to perform. Since I had a thought that maybe files are missing within the TI software package I got (DVSDK 365), I downloaded the thttpd package again from a website to find out that all matches (i.e. all files exists). (but still no sccess). Thanks, Danny |
Quote:
|
Hi dannyu
When you tried yum install httpd - what was the error you got? Apache(httpd) is a part of the official RHEL and CentOS repos so it should work provided that your yum repositories are correctly configured. Do other installs with yum work? |
Quote:
Code:
chgrp: invalid group `www' I roll with the fact, not what I think is fact. |
All times are GMT -5. The time now is 10:51 PM. |