In this tutorial you will learn how to how to quickly set up a simple, low-requirements, no-database, no-webserver Git repository. All you need is (unprivileged) SSH access and the git program itself.
When working on Linux and Unix systems, you’ll often find yourself using long shell commands that you repeat several times per day (or per session). Things like
- checking on the current resource usage of a system,
- checking if a process has completed yet, or
- using a complex group of commands, piped together with special options to give you just the output you want.
Generally, you’ll either use CTRL+R to search for these past commands in the shell’s history. Some of you may even copy useful commands to a special file that you can easily reference. You might even just enter them manually each time you need them, since you’re too lazy to be bothered.
There’s a simple solution that covers all of these cases well: Aliases.
Here’s a quick video on finding out what’s going on when you log into (or sit down at) a Linux machine. We cover the following commands:
w (/who): find out who is currently logged into the machine, and where they're connecting from top: find out which processes are running, how much load they're putting on the CPU, and how much memory they're using. (sudo) netstat -tulpn: Check for listening network ports and which processes/programs are using them.
Some Alternatives to the Tools I show in this Video:
I really like a program called htop, which shows you a bit more information and presents it in a nicer format. I recommend using it, once you’re comfortable with top.
htop (sudo apt-get install htop -- quit with 'ctrl-c' or 'q' once it's running)
Everyone has to start their Linux System Administration journey somewhere. If you’re ready to dive into Linux, here are the absolute basics.
Install Linux in a Virtual Machine
First things first: you need to get a learning environment set up for yourself: a place where you can make mistakes, explore things, and hack the matrix without destroying your day-to-day environment. The answer? A virtual machine! Here’s a video detailing how to set up a Linux virtual machine:
Get Started on the Linux Command-Line
Next, the fun part — jumping into the command-line! Open up a terminal in Ubuntu (by pressing the windows key to bring up the application launcher, and then typing in ‘terminal’ to bring up the application), and let’s get started with your first few commands:
At this point, you’ve got your learning environment set up. You’re probably excited to dive in and begin learning, but take a few minutes to play around with Linux until you’re comfortable using the Graphical User Interface (GUI), and typing in the basic commands we’ve discussed so far.
From here, you can continue the Linux Sysadmin Basics YouTube playlist!
Interesting linksHere are some interesting links for you! Enjoy your stay :)
- June 2021
- July 2019
- December 2017
- November 2017
- September 2017
- May 2017
- April 2017
- March 2017
- February 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- November 2015
- September 2015
- August 2015
- July 2015
- June 2015