LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Services/daemons (http://www.linuxquestions.org/questions/slackware-14/services-daemons-4175433938/)

fatalerror0x00 10-24-2012 08:30 PM

Services/daemons
 
What services or daemons would I need to have on to host my website on my personal computer instead on fatcow where my domain is currently hosted. using php, mysql, apache along with I run a minecraft server on this computer and since both have low traffic I will also be using this computer for personal use too but not much I will need to be able to ssh into the computer I will need to be able to ftp into it and also from this machine. also I will nneed to make sure I can type in the domain name of my website and not an ip address (just making sure of things going right :)). I would be able to in the future mount directories over the web on and from this computer locally and not locally. This is a desktop btw also I need to have access to making this server handle mail hopefully better then my hosting service does. I hope I haven't made this too complex to figure out. Thanks just trying to prepare what I'll need for making my computer only run what it needs for security reasons :) Thanks in advance

Nikosis 10-24-2012 10:07 PM

Code:

rc.httpd - Apache web server
rc.bind - Domain name system
rc.mysqld - Mysql
rc.sshd - SSH


fatalerror0x00 10-24-2012 10:17 PM

Thats all I would need for everything I have mentioned? I wouldn't need any other service ever running?

Nikosis 10-24-2012 10:26 PM

For security you can run samhain, snort, fail2ban, rootkit hunter, and of course firewall.

fatalerror0x00 10-25-2012 12:29 AM

of the slackware setup daemons are what i need to know what ones do i need active to have all the features I'm requesting
Thanks

TracyTiger 10-25-2012 01:47 AM

chmod +x
 
Quote:

Originally Posted by fatalerror0x00 (Post 4814332)
of the slackware setup daemons are what i need to know what ones do i need active to have all the features I'm requesting
Thanks

Hi fatalerror0x00

I'm not sure if you're asking a new question or just repeating your original post.

Nikosis listed the files found in the /etc/rc.d directory that need to have execute permission turned on so they will run at boot up ( chmod +x <file> ). Slackware is configured so that if execute permission is set on the files in /etc/rc.d directory then the services/daemons/servers found in those files are started at boot up. To stop a daemon from running at boot up just remove the execute permissions ( chmod -x <file> )

If you look at the contents of each of these rc.xxx files you'll see daemon that will execute. You may open a man page on each one for additional information. (e.g. man httpd)

The default setup of most "servers" do a pretty good job of getting a basic server running. You'll still need to learn about, configure and set up each of these "servers" (daemons) to meet your needs. For example, knowing that your web pages go in in /var/www/htdocs by default. (Note that when the Apache web server comes up (httpd) it provides you with documentation on its web page (http://localhost))

Rather than asking further wide ranging questions why not try getting each of these daemons working one-by-one.

Read the documentation for each daemon. If you have trouble with a particular daemon as it's implemented in Slackware and you've read the documentation on it provided by the Slackware (man pages, /usr/doc/xxx, /usr/doc/Linux-HOWTOs)

... and you've read the documentation on it provided by Slackware supporters (docs.slackware.com, alien.slackbook.org, wiki.linuxquestions.org/wiki/Slackware-Links)

... and you've searched online for the answers (Google, LQ, daemon web site)

... and you've experimented and you've run out of ideas

... then post your question on your specific problem and the friendly knowledgeable members of LQ will be happy to help out.

It's also okay to ask a simple basic question to get started. For example, if you didn't know that the daemon for the web server was httpd. But just ask one question at a time.

I understand your enthusiasm for all things Slack but the learning process (and assisting process) is much more efficient by handling one simple problem/question at a time.

Just a suggestion.

fatalerror0x00 10-25-2012 10:26 AM

Alright I never thought about the fact the daemons would have a man page so I'll look into that and didn't know there were so many document pages for thee things O.O Well I guess I have some reading to do! :)


All times are GMT -5. The time now is 02:38 PM.