LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 01-19-2017, 06:35 PM   #1
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Rep: Reputation: Disabled
Just upgraded an old Dell Optiplex


because the case is bulletproof and I may be a hoarder because I can't make myself throw away anything. Anyway, it has two hard drives, a WD Green that is 1TB and a WD Blue that is 320GB. The blue ran constant for a couple years but is still doing ok after sitting idle in a closet for about 4 months. The Green one is the hdd out of a Clickfree backup device that saw almost no use. I formatted and put windows 7 starter on both and they are both running well at the moment. Yeah I know, 7 starter sucks but it was free. I have 5 laptops, and 3 home brew PCs on a KVM with room for one more machine. Since I obviously don't need another computer, I am thinking server. My question is why would I want a home server? I do have a couple websites that are hosted by Go Daddy and it would be cool to host them myself. Would I have to change anything? Dump one of the hdds? Install Slack 14.2, Any ideas?
 
Old 01-19-2017, 07:39 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
http://docs.slackware.com/howtos:sof...dicated_server

Last edited by rokytnji; 01-19-2017 at 07:55 PM.
 
Old 02-11-2017, 08:20 PM   #3
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Ok want this to be a web host, was thinking for my own websites. I keep running into people doing this but they all use crap with apt-get. I don't have mint, or ubuntu or any of that other crap. I got slack 14.2. So any idea where to begin with this?
 
Old 02-12-2017, 06:31 PM   #4
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Apache Comes with Slackware

Quote:
Originally Posted by scythempress View Post
So any idea where to begin with this?
The Apache HTTP Server comes with Slackware. You could spend some time playing with that and seeing how it works.

Code:
chmod +x /etc/rc.d/rc.httpd
/etc/rc.d/rc.httpd start
cd /srv/httpd/htdocs -> /var/www/htdocs (index.html is there)
Point your browser to localhost or localhost/manual

The configuration file is at /etc/httpd/httpd.conf

At least that's where the files are on my 14.1 machine.

Of course there are different web servers available to run on your system and there's a whole host of network and security issues to deal with, but you could play with Apache to start.
 
Old 02-18-2017, 08:55 AM   #5
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Thanks Traci

Will try that, it is actually what I was looking to do.
 
Old 02-27-2017, 07:56 PM   #6
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 779
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Only you could know why you want something... Home servers are good for file sharing, printer sharing, etc... but running a reliable 100%up web server needs DNS server, backup dns server, backup generator for power outages, etc... and most of this is already taken care of by most data centers... so IMHO you are better off hosting your domains on the cloud somewhere than at home...
 
1 members found this post helpful.
Old 02-28-2017, 12:20 PM   #7
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by scythempress View Post
...it has two hard drives, a WD Green that is 1TB and a WD Blue that is 320GB...
I had very bad luck with the 1TB WD Green drives and so I say dump it and keep the WD Blue drive.

The greenness of the drive comes from power savings caused by constantly parking the drive when idle. Unfortunately this causes the green drives to live very short lives.

If you must keep the drive lookup the -J option of the hdparm command.

Run the smartctl -a or smartctl -x command against both of the drives to get some idea of the wear and tear.
 
Old 03-05-2017, 08:21 AM   #8
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by slac-in-the-box View Post
Only you could know why you want something... Home servers are good for file sharing, printer sharing, etc... but running a reliable 100%up web server needs DNS server, backup dns server, backup generator for power outages, etc... and most of this is already taken care of by most data centers... so IMHO you are better off hosting your domains on the cloud somewhere than at home...
File sharing is sounding more and more like a good idea. Wouldn't that be the same as the cloud? I don't cloud so forgive my ignorance.
 
Old 03-05-2017, 08:27 AM   #9
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aaazen View Post
I had very bad luck with the 1TB WD Green drives and so I say dump it and keep the WD Blue drive.

The greenness of the drive comes from power savings caused by constantly parking the drive when idle. Unfortunately this causes the green drives to live very short lives.

If you must keep the drive lookup the -J option of the hdparm command.

Run the smartctl -a or smartctl -x command against both of the drives to get some idea of the wear and tear.
The good news is this is just an extra tower that could blow up and that would be ok, further both hd's were free so if they crap no big deal. However I do have smaller SDD I could use in the event of an emergency.
 
Old 03-06-2017, 02:53 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by scythempress View Post
File sharing is sounding more and more like a good idea. Wouldn't that be the same as the cloud? I don't cloud so forgive my ignorance.
They are similar in that they both provide ways to get files to multiple computers, but they use different methods.

All "the cloud" really boils down to, is that it is someone else's computer on the internet. Dropbox, Google Drive, SkyDrive, etc all are cloud services and they are just clusters of computers at multiple locations (for redundancy and speed) and you can access them from almost anywhere. Most of these are proprietary and will either require monthly or yearly payments and/or have limits in place (number of files, size of files, transfer rates, etc).

File sharing, in this context, is mainly used to describe methods to, well, share files, but this time across your local computers. This typically means any computers within your house that are connected to the same router, either via wires or wireless. There are a number of services included within a full Slackware install, however the most common are probably samba or NFS (depending on how you look at it, FTP, SFTP, and a few others could be lumped into this group). The only limits with file sharing are typically your harddrive space and interface speeds (if you are on wireless, you'll be limited to the speed of that wireless). However, services aren't generally available outside of your network (with a few exceptions like the ftp and sftp I mentioned earlier -- however, you'd need to open up ports on your router and/or firewall to enable these to work).

With many filesharing services, they can be added to your machine so they are easy to interact with. Many cloud services require proprietary software to access or be limited to using webpages for browsing/updating, but it is typically easier to use the cloud if you're sharing things beyond your network.

If you're interested in more of this, let us know what you'd like to do and you can get some suggestions
 
Old 03-07-2017, 08:31 AM   #11
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Tks Bass. I was really wanting to host my sites, but there seems to be far more to that than I can attend too. I only have a couple sites, go daddy thinks I cannot live without them just as the others have since 2001 when I launched. It pisses me off and I would love to show them, however, I am on a satellite because I am in the heart of rural Texas, coming to you live from a 40 acre farm at Trading House lake.

My sister in law was doing my taxes and mentioned that all her files are in the cloud. She and computer guy husband swear by it. When I say computer guy, I mean retired US Aemy and only knows windows, in fact thinks that windows 10 is the best yet, blech.

So I have an extra tower with two drives. A WD green 1tb and a blue 320gb. It has 4gb RAM in two sticks, and this is max for the mb it is using. I have four towers on one monitor, keyboard and mouse, all cable direct from the router, so yeah a KVM that I can look when I need to at any of them. Web hosting was one idea, file server,(my own cloud) was another. Is there anything else and how limited are my options given my gps situation?
 
Old 03-07-2017, 12:56 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You are actually able to host a website, provide a cloud service, and provide local file sharing, all with one computer. Being on satellite isn't necessarily a bad thing for hosting a site and/or cloud service, except, depending on your connection speeds, it could be slow or intermittent. So, depending on what you need to host and how critical it is would be a deciding factor on whether you could host it locally. I have both... a website that is hosted by 1and1, and another one that I have on my server at home (using a free domain from the .tk guys).

Apache is the defacto standard for hosting webpages on Linux and Slackware includes it by default in a full install. There's loads of guides available if you're interested in getting one set up. You can provide your own cloud service using something like OpenCloud, although, I've never tried doing that.

Local file sharing can be accomplished using NFS or Samba, with Samba being a bit more Windows friendly, but a little harder to set up. As with apache, there's loads of guides available to help you set it up.

That machine would be more than capable of hosting those services. You don't even need a monitor for them as they can all work without X being loaded.
 
Old 03-08-2017, 08:44 AM   #13
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Critical, not very. I run a website for my wife's farm business which has become a petting zoo, her friend's goat farm which is a business, and the Iron Allegiance M/C. Other than keeping them updated and running it is not a whole lot to it. So yeah if I could do that, share files with the other 8 computers in the house and host a small cloud for my in-laws tax business that would be cool. So would I need the drives I have installed or could I get away with the smaller but far better SSD?
 
Old 03-08-2017, 09:20 AM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It depends on the size requirements for the website and the cloud hosting. You only need as much space as those require. And what cloud services do your in-laws business require?
 
Old 03-09-2017, 08:43 AM   #15
scythempress
Member
 
Registered: Dec 2012
Location: Tradinghouse Lake, Texas
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: Disabled
Completely unsure of what their requirements are and I am fairly certain they don't know either.
 
  


Reply



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
Would like some info about Dell Optiplex cases bigalexe General 2 05-09-2008 03:50 PM
Dell Optiplex 320 rnj13 Slackware - Installation 3 08-30-2007 07:38 AM
Dell Optiplex L60 Linux_Moose Linux - General 3 01-27-2007 01:55 AM
Dell optiplex GX270 mammi Linux - Newbie 6 01-03-2005 12:47 AM
Dell Optiplex GX260 dantpt Linux - Hardware 2 09-02-2004 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:48 AM.

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
Open Source Consulting | Domain Registration