Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I have put myself right in it this time and think I've bitten of more than I can chew.
Ive just started to rent a Root dedicated server.
It's unmanaged and comes with Red Hat Linux, apache and a load of other stuff. Then I remebered, "I have no idea how to use linux, or even a root server for that matter". I'm a bit stuck as to what to do.
I was going to upload all my files and try to set up the database, then make sure I can access MySQL from PHP, and generally make sure the site still works after the move, but how or what should I be doing about Managing and configuring linux.
I've heard there's a Linux firewall that I should install it. Are there any other things I need to think about regarding Linux. Sorry, noobie here.
This is quite a mouthful--I'll bet some of the grayer beards here have never rented a server, setup one, etc.
Dumb question: The person that rented it to you--does he/she provide support, instructions, etc.?
What Linux books do you have? Where are you on the globe, so we can point you to a bookstore.
I'm in SE London. Was thinking of books as it goes but so much stuff on the web nowadays...including this forum.
I dont think they provide support for anything that isnt related to the hardware or connections. Basically I'm on me own, which I don't mind, I just don't want to miss anything. Linux and Apache are already installed so that's not a problem. I'd like to know if there is anything obviouse I need to set/do/configure before I launch the site. I havent tried to uplaod anything yet as they are still setting it up, so most probably be back with more specific questions tommorrow
Not sure why you switched to that type of host if you were not experienced and ready for it, but anyways...
The main thing to worry about when hosting is security. I'd try to read up on chrooting Apache, locking down unneeded services, automated updates and logging, and a firewall of some sort (just search for an rc.firewall iptables script).
Ive looked at the homepage for rc.firewall iptables. Is it already installed in linux version 2.6.x ? And are there any guides to configure it or will it be already running and configured? I have a server running red hat linux and Appache which were both preinstalled.
I'm such a noob to linux. Vgui, to answer your query why I switched, mainly was out of desperation to get myself a dedicated server so I had no restrictions over how many emails I sent and how much power, regarding band width and disk space, I had at my finger tips. I never realised how much I would have to manage on my own and how much I'd have to learn. I've just bought by first Linux Mag, 'LINUX magazine' and been getting paranoid about weather I should be using AppArmor or SELinux. Thats for another thread but criky, how much stuff do I need to know just to run a website from a LAMP server?
but criky, how much stuff do I need to know just to run a website from a LAMP server?
To run the whole server, a lot. Got any mates that know a bit more than you that might look after it for a small fee? It's a big job and wow, talk about jumping in the deep end
It's a big job and wow, talk about jumping in the deep end
Please don't say that again.
========================================================
I only know one guy who knows about Linux and he is a genius, but I only know him formally through work and he is so busy all the time.
Ok, well I guess I will take it one step at a time. Install a firewall ... then .... erm .... Mummeeeeeeeeeeeeeeee!
SO what are the main things to do to a fresh new Linux / Apache server? Once I’ve got the IPTables thing sorted out, what else should I do? Just some suggestions or pointers like in Vgui's post above.
By the way, the IPTables thing. Is that something I need to install or just configure? I can’t work it out even by looking at their site. It says that it’s built into 2.4x and 2.6.x but do I need to add anything?
it makes a small difference, and in whole probably makes things easier.
I'm with everyone else, it's a huge undertaking, and i wish you the best of luck, this forum will probably save your arse more than once
so to begin, to check your firewall rules try
Code:
su -
eneter your password
Code:
iptables -L
If it cant find the iptables module or something then it needs installing. Also FC comes with SELinux which may or may not prove a problem.
My best advice (off the top of my head) is to find a nice big chunky LAMP guide (i dont have links, but i bet someone will), and work through it, establishing what steps are already done, and what needs doing.
As an afterthought, what support do they offer should you bugger the system? reinstall fresh? reinstall to daily/weekly backup? if not i would try and get something sorted, either your own backup solution or pay them to do it, you'll want it. I would also suggest setting up your own machien at home to learn on, save messing up your hosted machine that presumably is quite critical.
I always find that specific targetted questions here go alot further than general "how do i do everything" type questions, so for your benefit and ours i'd ask specific questions, with what you have done/can't do
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.