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.
https://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.png00Christianhttps://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.pngChristian2016-08-12 19:19:112017-04-30 14:45:05Git: Setting up a low-requirements, personal Git repository
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)
Have fun!
https://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.png00Dave Cohenhttps://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.pngDave Cohen2015-07-05 06:32:342017-05-01 00:27:09Finding out what’s happening on a Linux Machine
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!
https://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.png00Dave Cohenhttps://tutorialinux.com/wp-content/uploads/2017/01/TutoriaLinux-Penguin-2-Color-300x272.pngDave Cohen2015-06-26 16:20:562017-05-01 00:27:09The Absolute Basics: Set up a Linux Virtual Machine and get started