TekLinux: Your Personal Server 0001 | Tek Syndicate

    Guidelines

Search before asking a question in the forum. The answer might be waiting for you. Feel free to blog about anything. For instructions on how to use the content creation tools, see the video on the left. If you are an author/ contributor to Tek Syndicate, hi.
Log into the Staff Area



This is a companion discussion topic for the original entry at https://teksyndicate.com/videos/teklinux-your-personal-server-0001
14 Likes

This series looks like it will be awesome. Can't wait for more videos. Man I havent had "homework" for a long time - I need to get studying :D

The TekWiki might be perfect for writeups and documentation for this series.

@wendell LTT has a certain ring to it . . . not sure why :D

1 Like

Great! - yet alone the idea of using linode or aws as the gateway to the local server gets me stoked for more!

I think that allows for pretty awsome stuff!

Keep up the great work!

ps: the LTT made me smirk.. and yes @alamar is totally right, it got a ring =D

pps: my selve hosted stuff as of today
* e-mail for me, my voluntary firebrigade, a friends small business
* website for friends small business (static HTML), website for the firebrigade (wordpress | 2FA enforced for every rank above editor)
* owncloud instance
* locking everything down as much as I can - all management toys (phpmyadmin, munin, ispconfig, ...) only avaliable through an SSH tunnel. Non of that reachable directly
* all webservices running https - and http redirecting to https!
* mailserver only running imap and pop3 over STARTTLS; no plain login or unencrypted access
* SMTP offering encryption if other server also does
* threat mitigation with fail2ban, selinux, and priviledge seperation as good as I can

2 Likes

Hey thanks for doing these kinds of videos. I've been using linux for awhile now so am familiar with the L and P part of the LAMP stack but the Apache or Nginx stuff is always a bit confusing for me. Hopefully I'll learn enough to deploy my own server thanks to you guys!

@Th3Z0ne where do you host?

Anyone who's going to try out some of this if your a student, go grab the github education pack, among other stuff you get $100 credit for digitalocean.

Also if you need dynamic DNS for your own domain (DNS that auto updates based on a changing IP liel your home) name cheap offer that, I've been using it, it works well.

I host at a "major" datacenter in my country - e.g. my countries red cross uses them; I did choose that over linode or aws or any other hoster, because the server is subjected to local law and usually my traffic does also not leave my country and thus may only be snooped up by my countrys spooks ;)

Its a root server, no fancy hardware just a dell microserver (2cores/4threats; 8GB ram; 2x260GB in raid 1)

I'm sure most people around here wouldn't mind hearing you ramble on about a topic for an hour or so.

https://forum.teksyndicate.com/t/video-suggestion-the-wendell-ramble-hour/59647

3 Likes

I deffinitely would not mind, but I can only hardly imagine how much effort a hour long video means; But I would not mind to have more "live" like videos, to save the amount of editing ^^

Well It'd be kinda like The Tek, it would just be The Wendell, with guest ramblers at times I'm sure

2 Likes

Thanks for making this series @wendell. Since I joined here about a year ago, I've started to get pretty dangerous with Linux, but always room to improve. Looking forward to building this thing out. I already got a project in mind.

1 Like

Call it Ramble 60:

1 Like

I've got to say, I'm really excited about this series. I currently just have a Plex, a bittorrent box, and an ftp server wrapped up in one. I'd like to see stuff related to web hosting, making a website that is held on my own hardware. Also, the personal VPN would be a great video.

1 Like

it'd be cool if you did basics, like an aio linux server package that could do everything, show an easy to configure and manage os( one that you believe has potential) and explain how it could be used. file serving, vming , etc

for now unraids gone crazy thanks to ltt. but i only see docker support as the only interesting thing. if you could show us a 'free' alternative with the same level of support and config that would be awesome.

also i mean free as in cost and control.

perhaps show how you can transform a normal linux distro into a server if there aren't any solutions. showing that you can run any variety of compartmentalized programs and suites you desire.

@wendell awesome throughts and a beginning to a new series
i do however have some thoughts, as i have been running cloud setups for almost 10 years even virtual before it became cool lol good old kvm and xen. and now running plesk virtual containers just for the ease on production servers. run cloudmin/webmin on my R and D. Debian is by far were my heart lies. it has taken me years of messing around to be able learn how to do. as there has never been a good website or forum that had the questions i had. so i saying all that webmin is a great dashboard for servers and has a large amount plugins that just drop in after software has been installed. really worth a look. I run it on all my servers for exception of plesk servers. if there is anything i can add to help the community please dont hesitate in contacting me direct
ps this is my first post as i only found you guys recently I do like what your channel has to offer.
aussie tech girl
Lexi

1 Like

I'm taking 15 credit hours and working full time hours and you give me more homework?!??!? No, this is gonna be fun already playing around with some of the tools you suggested

Love the Title !

Ok so what i have at home is a FreeNas Box on a HP mini gen 8 with a 2.3Ghz Celeron 12G of ram 6TB of raw storage and 256GB of ssd cache.
Its main job is fast network storage,so it dose media storage,backup targets for the pcs in the house,save location for ip cameras(only jpgs),p2p seed box,and vmbox host via the virtualbox jail.
In the vbox jail i am running a smoke ping instance to see how my internet is running and it monitors some locations,and some cron jobs i need doing.
At the edge of the network i have a mikrotik that provides firewall and subletting for the home lan.
In the past i have tried different self hosted cloud solutions but the file sync options they provided were unstable and i would end up with files that were not indexed properly so i gave up on the self hosted cloud and got a commercial cloud storage.

Wendel on the dns side of things with a self hosted solution, i did run into the issue of if you are on the same subnet as your server and you are using port fw on the router for external access you cannot access the server via the dns name resolved as the external ip of your router.
You can set up the hosts file on the local machine with the local ip but it is not ideal because you have to change that if you leave your house.
The way i got around this is with the mikrotik that has static dns entry's and with a small TTL it works fine.

Great series and i hope to get a job soon and start contributing on patreon.

Servers and services red meat! I love it already. For the record I personally will enjoy listening to @wendell ramble on any tech topic but especially Linux Tek. Thank you ladies and gents in advance for this most excellent content.

Thoroughly looking forward to seeing how this pans out.

Although going through the more beginner-friendly approach, such as using YUNoHost for setting things up for you I'm hoping that you go through the CLI equivalents to illustrate how it's done there, too.
When I was learning how to administrate Windows Server in uni, Server 2003 was available and there were additions that allowed you to do some of the aspects through the GUI. However, we were taught using Server 2000, which required that extra bit of configuring throughout. I felt like this actually gave a better understanding of how things were configured in the server OS. Like, for example, you could run dcpromo with Server 2003, without running any prerequisites and it would tell you that it can automatically make a basic configuration for DHCP and DNS. While that will get you up and running, going in and making the DNS/DHCP configurations yourself gives you that extra bit of insight and control over what you're doing.
Correct me if I'm wrong but it's more likely that in the industry people will come across the CLI versions of the software that they will have to maintain, rather than installing the GUI implementation or, if they have something else on there, like cPanel, then they can translate what they've learned. Not sure how that fits in - anyone else got any takes on this?

Anyway, I digress.

I'd love to get this underway myself and will likely get started on this pretty soon. Getting up and running with a server that hosts my website (and going over the website itself) would be great to get under my belt and adding in the necessary security aspects as well, rather than depending on a server host to do it all for me.
I think for the email side of things I'd like to experiment at some point in implementing an alternative to MS Exchange that would sit connected in a Windows domain - get some VMs set up for the Windows server, connect it up to a Linux box, etc. Long-term personal task to set myself that I think would be interesting to do.
For hosting my own email accounts long-term, I'm not really sure - depending on a large-name organisation like MS, Google, etc, etc means that there's a pretty high reliability already in place. That's really going to depend on how well you configure the server though and how much you rely on an email address with your own domain. Pros and cons but still, would be great to see how to do it properly.

To add on to the choice of server host, take note of where they're based and whether you're likely to need to get in contact with their support team. With Digital Ocean, for example, they operate on US time so their support team aren't available in UK mornings. Whether you're likely to need to get in contact with them is another thing entirely, however, as they control the servers themselves, not the operating systems or software that's installed on them. So, if the node's down, you can't access it via SSH or their shell on their website and you need to get in contact with them before US hours then you might want to consider a different host (that's a lot of ifs and would really only matter in worst-case scenarios and if you need the immediate response). However, under normal circumstances, Digital Ocean's a pretty good choice because they're low-cost, have a shell on their website in case you lock yourself out in some way via SSH and they have decent tutorials for getting you up and running with software. I haven't used Linode before so I can't say either way - do they have shell access in case you lock yourself out of SSH?

tl;dr - I waffled. You missed nothing.

Ive been tinkering with digitalocean as well like few others here. I have 3 months free for the basic box which is $5 a month after that.

I've setup a droplet with ubuntu 14.04. Cause my desktop is ubuntu. So far I got a VPN working but I didn't really need one at the time.

So I decided to try owncloud. You can spin up a owncloud droplet which I did and it worked fine. I had SSH only out of the box, BUT I was not sure how to force HTTPS. All browser traffic was HTTP only so I have deleted that for now. Id love to see a ourcloud with HTTPS only.

I look forward to the series how ever it goes and will learn what I can. Im not it the tech industry just a nerd that likes computers and science.