LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2013, 11:22 PM   #1
g8waytrader
LQ Newbie
 
Registered: Sep 2005
Location: St Louis
Distribution: Ubuntu MINT
Posts: 10

Rep: Reputation: 0
I'd like to / need to , run a server at home on MINT w/mail?


First , I am a total Newb to Linux to be sure.
I have learned and can do some basic HTML ,CSS and some SQL , and will learn all I need to for this purpose , as well as the general benefit of educating myself.
If this is redundant , I apologize , but I didn't find a solution in searching or reading posts.

I am running a PC with only Mint installed ; currently running a voice server.
It has a static IP , high quality connection , plenty of storage and is dedicated to this purpose solely.

My need is to establish a basic a server with a webpage and email , at a domain I will acquire , to be granted a non profit license.
The stipulations for non profit are just that: no solicitations on the webpage and the email has to be at that domain.

Any direction you can give for programming available , or places to learn what I must , would be greatly appreciated.
I'm not lazy , just currently ignorant.

Thanks in advance,
Eric
"Ignorance is a lack of knowledge , stupidity is the failure to use it"
 
Old 12-12-2013, 02:32 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Apache for the webserver.
Postfix for SMTP.
Dovecot for POP/IMAP.

There are, of course, plenty of alternatives but those are the "default", most common, with good docs and howto's.
 
Old 12-12-2013, 03:40 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
The default Db is probably MySQL (check the Mint repos) and the most popular cgi programming lang is probably still php.
If you install everything from the repos, it should just work, although you'll have to do your own programming to customize it.

Check these links
https://httpd.apache.org/
https://dev.mysql.com/doc/refman/5.1/en/
http://www.php.net/manual/en/
http://www.postfix.org/documentation.html
http://rute.2038bug.com/index.html.gz
www.linuxtopia.org
 
Old 12-12-2013, 11:19 PM   #4
g8waytrader
LQ Newbie
 
Registered: Sep 2005
Location: St Louis
Distribution: Ubuntu MINT
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks to you both for replies. I'll probably be back with Noob questions , but I'll pursue with your enlightenment for now :-)
 
Old 12-13-2013, 02:18 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You need to get your domain. Setting up a web server is just installing apache and dropping a HTML web into the public directory. After you get the domain, you just change a few lines, or maybe just one line in the mail program. You need only smtp protocol to send mail. POP is if you want to distribute incoming mail to different people on the network. Since you will receive mail directly, and the mail need be only on the server, you shouldn't need a POP server.

You must do a little research by viewing the configurations for postfix and apache. A smtp spam filter is really nice to have if you post the email in HTML or text. It is my advice that you post it as an image file or java applet, so Internet bots can't easily harvest it. They ignore robots.txt, but you should learn about that file anyway. Generally you don't want google indexing your email address.

Robots.txt tells google what to index and what not to. You can use wget to harvest a sample robots.txt, or apache probably has a template for a starter.
 
Old 12-13-2013, 11:23 PM   #6
g8waytrader
LQ Newbie
 
Registered: Sep 2005
Location: St Louis
Distribution: Ubuntu MINT
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks AM , that may get me where I need to be , time shall tell.
 
Old 12-14-2013, 09:42 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
number one question !!!!!!
#1 )

1) check your ISP's terms of use !!!!!!!!!!!
step two
2)
buy a corporate account for a home office /business
but there are some like comcast that do not like home TV cable and a business cable to have the SAME address

setting up a web site is like the game "GO"
10 min. to learn BUT a LIFETIME to master


it is VERY VERY easy to set up a VERY INSECURE!!! web site
but a bit harder to set up a locked down and well secured site
-- that will take a lot of time and WORK on your part

Last edited by John VV; 12-14-2013 at 09:45 PM.
 
Old 12-14-2013, 10:06 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
You might want to check out the terms of service for your ISP.

Most USA ISPs have policies against public-facing servers on any account less than a business-level account. Some are more aggressive in their enforcement than others.

My previous ISP (before I moved) had a policy against "hosting services" (which, if challenged, I was prepared to interpret as providing hosting to others even as I shut down Apache). I self-hosted my website for five years on them. I was small potatoes and never attracted attention.

My current ISP has a policy against any public-facing servers for a home account and they enforce it aggressively, to the extent of blocking port 80. Also, many US ISPs block port 25 as a matter of routine, in what I think is a legitimate effort to protect against the propagation of spam.

It you want to self-host, it is wise to check out the landscape.
 
  


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
Want to run a perl during the outgoing mail and incoming mail in postfix server shivnamha Linux - Server 1 02-10-2013 01:53 AM
Error Retrieving Mail from Linux Mail Server: Unable to Scan $HOME/Maildir tmghendi General 0 06-15-2009 07:35 AM
Home mail server with dynamic IP treepalm58 Linux - Networking 7 12-31-2006 03:58 PM
Mail Server for Home User b_marag Linux - Software 4 05-12-2005 05:33 PM
home network mail server GolgothaX Linux - Software 3 09-25-2003 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 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
Open Source Consulting | Domain Registration