Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Aug 29, 2011 3:50 pm 
Offline
Senior Newbie

Joined: Mon Aug 29, 2011 2:29 pm
Posts: 8
I've just spent a lot of the weekend reading these forums and I really like the idea of setting up a linode 512 to play with and to try and get myself up to speed with Linux.

My Linux skills are limited to some basic CLI usage and some desktop distros, so I'm not at all confident with Linux and I use windows at home. I do have a reasonably good understanding of networks, I'm about to sit my CCNA exam and I need another project to eat up my free time once I've got that out the way, I am reasonably at home with a CLI so the lack of GUI wont be an issue, but my linux knowledge is close to null.

My plan is to setup a LAMP server, hosting a small personal website, OpenVPN, SSHd, maybe play about a bit with Python and to do my best to lock down and secure the server.

My main concern is security, I have no experience with securing Linux and while it looks simple enough to setup the linode initially and disable any unused services I'm concerned I wont be able to spend enough time monitoring and securing the server as I'm currently working full time in an (unfortunately) non-IT role. How much time would I realistically need to invest in keeping my linode up to date and secure?

I know the FAQs say linode is an excellent learning environment, but realistically would I be better off putting together a basic linux box to get myself up to speed then look into getting a linode?

The linode library looks great so I'm hoping that will get me started, but I'm just a little worried about what happens once I get through the initial setup, has anybody else here got into Linux through linode or did most of you come to linode with a good understanding of Linux?

Thanks

David


Last edited by TIA568B on Fri Sep 09, 2011 11:33 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Aug 29, 2011 4:23 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
If it's just a play project - does it really matter how secure it is?

Do your best, see what happens. Worse case your site gets hacked and you can start over. From your description, it's not like you're going to host company secrets or a eCommerce site.

On the other hand, if you don't need a online public presence, it's way easier to just load up VirtualBox, and learn locally on a VM.


Top
   
 Post subject:
PostPosted: Mon Aug 29, 2011 4:27 pm 
Offline
Senior Newbie

Joined: Sun Oct 18, 2009 4:47 pm
Posts: 14
Location: Toronto, Canada
That is by no means ambitious, I have a similar setup (w/ OpenVPN AS [saves a lot of time, less likely to make simple configuration mistakes]), hosting a web portal (CDN for video streaming, multiple subdomains on various IPs).

You will find the Linux CLI to be very powerful (especially with the programs that come by default) and has a lot more uses than you'd think possible (robotics, remote control, communications). As for security, Linux by default closes all ports that programs do not request (unlike certain flavours of Windows), and the iptables firewall is integrated into the kernel (not difficult to learn to use).

Having a Linux box would definitely help you learn the operating system (and expose you to a lot of the common programs and design paradigms), but having a top of the industry-class Xen VPS (do not be deceived by OpenVZ and the like) that sits on a globally-peered line is better if you want to do networking.

Have a lot of fun!

_________________
Liberal Party of Canada FTW!


Top
   
 Post subject:
PostPosted: Mon Aug 29, 2011 9:58 pm 
Offline
Junior Member

Joined: Sun Feb 14, 2010 5:40 pm
Posts: 28
When I came to Linode I had been using shared hosting for about fifteen years and was pretty wet behind the with linux and certainly running a server. Now, a couple years later, I know a lot more, and am still learning. It's been a blast. Go for it.


Top
   
 Post subject:
PostPosted: Tue Aug 30, 2011 5:12 am 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
I'm not a Linux expert by any means, but my experience is that once you've initially secured your box, there's very little real demands in keeping it secure after that.

You will have to occassionally update it and maybe tinker around with a few things, but it's not vastly time consuming.

One nice feature of using a Linode - or other VPS system - is that it's very quick and easy to re-install a different OS. So if you find that you've accidentally borked your set-up, it's only a matter of a minute or two to reinstall it again.

Try a VPS and see how you get on - you can find cheaper VPS hosts than Linode, but the speed and stability of Linode are the reason I stick with them :)


Top
   
 Post subject:
PostPosted: Thu Sep 01, 2011 3:05 pm 
Offline
Senior Newbie

Joined: Mon Aug 29, 2011 2:29 pm
Posts: 8
Thanks for all your replies, I think I'll go for one then :)

My girlfriend's going away for a weekend in a weeks time so I'll have a weekend to myself so that seems like a good time to take the plunge and get into things!

Even if linode aren't the cheapest they seem to have a lot of praise and excellent documentation, a good service is more than about just cost so I'm happy to go with them :).

Regarding securing my linode, I'm not worried about them accessing my data or defacing a page, I just don't want to be responsible for yet another insecure box on the internet to be used as a launching ground for any sort of attack, that and I don't fancy footing the bandwidth bill for somebody's seedbox, FTP or (D)DoS attack.


Top
   
 Post subject:
PostPosted: Fri Sep 09, 2011 11:39 am 
Offline
Senior Newbie

Joined: Mon Aug 29, 2011 2:29 pm
Posts: 8
I've taken the plunge, I'm 2 and a bit hours into setting up my new linode, no real issues so far and everything's pretty easy, I'll just need to work out what I'm planning to use it for :)


Top
   
 Post subject:
PostPosted: Fri Sep 09, 2011 11:50 am 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
vonskippy wrote:
If it's just a play project - does it really matter how secure it is?


Well... unless it figuratively blows up sending figurative shrapnels all over the literal but virtualized network neighborhood.

:mrgreen:


Top
   
 Post subject:
PostPosted: Fri Sep 09, 2011 12:00 pm 
Offline
Senior Newbie

Joined: Mon Aug 29, 2011 2:29 pm
Posts: 8
Azathoth wrote:
vonskippy wrote:
If it's just a play project - does it really matter how secure it is?


Well... unless it figuratively blows up sending figurative shrapnels all over the literal but virtualized network neighborhood.

:mrgreen:
I'm hoping that doesn't happen!
Disabled root logins, SSH running on a high up port to try and stop any automated attack, Fail2Ban setup, Apache running under its own user and not much else running on it so far.

Speaking of "virtualized network neighborhood" when I do netstat I see 4 foreign addresses that I don't recognise , are these likely to be my virtual neighbours?


Top
   
 Post subject:
PostPosted: Fri Sep 09, 2011 5:36 pm 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
TIA568B wrote:
Speaking of "virtualized network neighborhood" when I do netstat I see 4 foreign addresses that I don't recognise , are these likely to be my virtual neighbours?


Nope. Those are remote machines connected to yours for whatever reason. You can see the port they're connected to, or use flags -npl --inet to check wht is listening on your machine.


Top
   
 Post subject:
PostPosted: Fri Sep 09, 2011 5:57 pm 
Offline
Senior Newbie

Joined: Mon Aug 29, 2011 2:29 pm
Posts: 8
Azathoth wrote:
TIA568B wrote:
Speaking of "virtualized network neighborhood" when I do netstat I see 4 foreign addresses that I don't recognise , are these likely to be my virtual neighbours?


Nope. Those are remote machines connected to yours for whatever reason. You can see the port they're connected to, or use flags -npl --inet to check wht is listening on your machine.
I was being a newb :oops:, I looked at them again and realised they all seem to be time servers, I was just a bit confused at first as one of them is a Tor exit node and two are also http servers.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group