Advanced Linux Commands Cheat Sheet
Get the cheat sheet
There is a lot to know about Linux. If you know the basic commands of Linux then this cheat sheet can help you take your skills to the next level.
In this cheat sheet, author Maxim Burgerhout, uses the development of a LAMP application as an example and provides commands to:
- Get started developing a web application on Red Hat Enterprise Linux 7
- Set up a SELinux boolean
- Run a program in the background in your shell
- Use Java instead of PHP
Try it out on Red Hat Enterprise Linux 7 here.
As an example scenario, we are going to pretend we are developing a LAMP (Linux, Apache, MariaDB and PHP) application on single machine running Red Hat Enterprise Linux 7. As a first step, we’re going to install Apache, PHP and MariaDB (the drop-in replacement for MySQL that’s shipped with Red Hat Enterprise Linux 7), and start the appropriate services:
# yum -y install httpd mariadb-server php-mysql php
$ systemctl status httpd
# systemctl start httpd mariadb
# systemctl enable httpd mariadb