LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-24-2012, 08:30 PM   #1
fatalerror0x00
Member
 
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185

Rep: Reputation: 0
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

Last edited by fatalerror0x00; 10-25-2012 at 01:17 AM. Reason: Forgot to add another detail about my ftp needs
 
Old 10-24-2012, 10:07 PM   #2
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 312

Rep: Reputation: 59
Code:
rc.httpd - Apache web server
rc.bind - Domain name system
rc.mysqld - Mysql
rc.sshd - SSH

Last edited by Nikosis; 10-24-2012 at 10:11 PM.
 
Old 10-24-2012, 10:17 PM   #3
fatalerror0x00
Member
 
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185

Original Poster
Rep: Reputation: 0
Thats all I would need for everything I have mentioned? I wouldn't need any other service ever running?
 
Old 10-24-2012, 10:26 PM   #4
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 312

Rep: Reputation: 59
For security you can run samhain, snort, fail2ban, rootkit hunter, and of course firewall.
 
Old 10-25-2012, 12:29 AM   #5
fatalerror0x00
Member
 
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185

Original Poster
Rep: Reputation: 0
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
 
Old 10-25-2012, 01:47 AM   #6
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 304

Rep: Reputation: 76
chmod +x

Quote:
Originally Posted by fatalerror0x00 View Post
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.

Last edited by TracyTiger; 10-25-2012 at 02:58 AM. Reason: Added word "if"
 
3 members found this post helpful.
Old 10-25-2012, 10:26 AM   #7
fatalerror0x00
Member
 
Registered: Oct 2012
Location: Holden, ME, USA
Distribution: SlackWare64 14.00
Posts: 185

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
starting & stopping services/daemons rand0mh3ro Linux - General 4 02-16-2005 09:27 AM
loading services/daemons at startup sirpimpsalot Linux - Newbie 3 03-05-2004 07:45 PM
Start Services/Daemons exkor5000 Linux - Newbie 1 11-16-2003 06:00 PM
How do i eliminate services or daemons running at the beginning? dark poet Linux - Software 1 09-16-2003 03:51 PM
restarting of services/daemons coopergr Linux - Newbie 3 04-04-2002 09:23 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration