User to install software

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat User to install software
# 1  
Old 03-14-2014
User to install software

Hi there.

I'm setting up my first "proper" server using RHEL - in the past I've only had various test servers etc running, so want to make sure I'm doing things properly.

When installing s/w, let's say Apache, I don't want it to run as root, correct? Should I then create a new user "apache" (or whatever) and then add users to the appropriate group which I'll also create?

A test install of apache had all files within /var/www/ owned by root, which I don't think is correct?

many thanks in advance.
# 2  
Old 03-14-2014
Apache will run as root initially, then spawn further processes under the Apache user (as defined in /etc/httpd/conf/httpd.conf).

The RPM will create the Apache user for you.

It's fine that the files under /var/www are owned by root, so long as they're readable by the apache process.
# 3  
Old 03-14-2014
Thanks. Will it create te www-user group too, or is that something to do manually?

I'd try but I'm away from the server now.
# 4  
Old 03-14-2014
Yep, it will create that too.

The only things it won't do is chkconfig httpd on, service httpd start, open ports on the firewall or write the HTML for you ;-)
# 5  
Old 03-14-2014
Smilie many thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies

2. Red Hat

How to Customize/install software package after?

Hi Team While installation of RHEL, By mistake I have selected "Customize Later". RHEL has installed with basic software. NOw I need to install the other package which is available in DVD, How Can I get the same package selection window to install the software ? (0 Replies)
Discussion started by: atul9806
0 Replies

3. Red Hat

Install a Software on Fedora!

Hi, I've been busy since this afternoon with an editor called e3 installation process! I have the source code and I think that I have to make a .C file first then try make command ... ./configure doesn't work, there is no useful README and I am completely lost... The file for Fedora x86_64 is... (1 Reply)
Discussion started by: almirzaee
1 Replies

4. UNIX for Dummies Questions & Answers

How to use yast2 to install software in SUSE?

Hi I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found" I don't... (0 Replies)
Discussion started by: AlexCheung
0 Replies

5. UNIX for Dummies Questions & Answers

Help to install Sybil software

Hello everyone, I'm currently trying to install a software for my job... Sadly, noone can help me with UNIX :( I'm working on cygwin, with a proxy to access web (I dunno if these informations are needed) Here is the link to my software : Sybil: Downloads What I have been able to do :... (5 Replies)
Discussion started by: sluvah
5 Replies

6. UNIX for Dummies Questions & Answers

trying to install the audio software in my pc

Hi, my friend refer me here he was saying that they have the best solution and really good wisdom of the UNIX system , i am learning and trying to install the audio software in my pc , but it 's not working may be i am forgetting something. (2 Replies)
Discussion started by: maggilane
2 Replies

7. HP-UX

How to install xbrowser software on HPUX?

Hi fnds, Can anybody tell me how to install x brower software on HP-UX and after successfull installation how I can launch the x browser. Thanks, Vinodky (0 Replies)
Discussion started by: vinodky
0 Replies

8. UNIX for Dummies Questions & Answers

permission to install software

Hello everyone, I want to install a software on an external hard disk. I used Fedora core 6 whose default shell is bash. As user I have changed to sh shell because in order to install I have to use the sh shell. I had changed permission on all the files using sh-3.1$ chmod +x... (6 Replies)
Discussion started by: sitij109
6 Replies

9. UNIX for Dummies Questions & Answers

where can i get software for install unix

Need help guys, i need to know where can i get a unix on solaris 10 software to install unix into my computer since i dont have internet. I want to start playing on them at home. Any help appreciated .... sonny (1 Reply)
Discussion started by: rxsonny
1 Replies

10. Solaris

software install on solaris 10

what is the command to install a software from a remote server or cd? pkg_add -rv bash < freebsd i need the same command on solaris i try to use pkgadd but no success (0 Replies)
Discussion started by: litch
0 Replies
Login or Register to Ask a Question