Someone post a linux tutorial

Posted by Alert Games on March 26, 2012, 8:38 p.m.

Learning how to use linux a little, particularly for web purposes.

I have read some commands and stuff before, but that is easy to look up. And yes, the best thing would be to experiment using it for myself, but it would be nice to have a few guidelines.

What I would like to know, is how are programs "installed", or run on the server.

What kind of options would need to be set, and how are they set?

How are permissions set for someone to access certain things like directories?

Are things typically managed in console?

Best way to kill and restart processes before hard-stopping?

If I were to buy access to a server or a dedicated server, what would the setup be called? (Such as creating a username and password access)

Anything else that is common that one should know for linux?

Thanks in advance [usertag]

Comments

Astryl 12 years, 8 months ago

^ THAT. Also, learn how to use bash. I cannot stress this enough. Oh, and mess around liberally with the su command ;3

Installing programs usually involves running apt-get install <programname> while connected to the net, or running yum on some Fedora systems. Yes, this is done via the command line.

If you wanted to set up a dedicated server, you'd need to install a distro that preferably comes with HTTPD and MYSQL (PHP also helps if it's in the distro). All username/password modification would be done through the Root account (Be careful with it).

Permissions can be set using the chmod console command, or by right clicking on the folders in some distros and clicking on the Permissions tab >;3

'ave fun. Don't get scared off. Just like learning Blender, it's well worth it.

Astryl 12 years, 8 months ago

Heheh. Forkbomb. Also, for those of use who know how to use the /dev/ folder correctly… Let me put it this way. I can create and mount a virtual filesystem contained in a file as a loopback device. Useful, I tell you.

This might be more useful. It has a beginners tutorial link in it:

http://www.junauza.com/2009/08/10-essential-unixlinux-command-cheat.html

*Starts link wars with Cyrus*

Astryl 12 years, 8 months ago

At which point I would have countered you with cp /* /dev/sda0.

Astryl 12 years, 8 months ago

Heheh. I actually got somebody to fill ntldr with crap using dir > /ntldr.

Also, the Shutdown -m \\* -f command… Heheh.

Astryl 12 years, 8 months ago

WHAT? SCRIPT KIDDIES? Don't lump me in with those!

>:O

I don't script. I assemble. [/grumblesIncessantlyForTwentyMinutes]

flashback 12 years, 8 months ago

You are both just so magnificent.

Alert Games 12 years, 8 months ago

This reminds me of The I.T. Crowd

Astryl 12 years, 8 months ago

Remind me to fund The 64digits show when I'm rich.

Anyway, I read something the other day in a list of top-10 PC threats.

And the number on threat?

Yourself. Which is completely true.

Alert Games 12 years, 8 months ago

This was interesting. Though jeremy helped me out over msn about what i would need to know. I only need to know the basics about it and some commands maybe.

The link you posted was nice Cyrus, though it didnt really answer my questions. Thanks though.

@Mega: Thanks you summed everything up pretty nicely :)

WHERE IS THE LINK ON THE POST NUMBERS TO QUOTE-LINK STUFF UGH 64D AND MISSNG NICE THINGS

Alert Games 12 years, 8 months ago

Probably, but i wasnt looking for specifics, just general information. The link you shared a little bit further information which was nice. I dont have any distro installed right now, I was just talking about web purposes, since I decided I would like to go down that path.