diff --git a/doc/apache.md b/doc/apache.md index 8bc0624..0711851 100644 --- a/doc/apache.md +++ b/doc/apache.md @@ -9,3 +9,26 @@ sudo apt update ``` sudo apt-get install apache2 --no-install-recommends ``` + +* verify Apache version +``` +sudo apache2 -version +``` + +* check if Apache is running without any issues +``` +sudo systemctl status apache2 +``` + +* UFW users can open HTTP (80) and HTTPS (443) ports like this +``` +sudo ufw allow 80/tcp +sudo ufw allow 443/tcp +sudo ufw status +``` + +* verify Apache is working in a browser +``` +hostname -I +http:// +``` diff --git a/doc/cmake.md b/doc/cmake.md new file mode 100644 index 0000000..7e8ea04 --- /dev/null +++ b/doc/cmake.md @@ -0,0 +1,20 @@ +* update cache +``` +sudo apt update +``` + +* install +``` +sudo apt install cmake --no-install-recommends +``` + +* confirm installed version +``` +cmake --version +``` + +* to make use of cmake we might want to install the package ```build-essential``` +``` +sudo apt install build-essential --no-install-recommends +gcc --version +``` diff --git a/doc/psql.md b/doc/psql.md new file mode 100644 index 0000000..65a7b03 --- /dev/null +++ b/doc/psql.md @@ -0,0 +1,11 @@ +# Setup Psql Client + +* get the latest version of installed packages and refresh the repo cache +``` +sudo apt update +``` + +* install postgres directly from the official repository +``` +sudo apt-get install postgresql-client --no-install-recommends +``` diff --git a/readme.md b/readme.md index 93ae63f..80dd53d 100644 --- a/readme.md +++ b/readme.md @@ -2,6 +2,7 @@ * [Apache](doc/apache.md) * [Create bootable USB Drive For OS Installation](doc/bootable-usb-drive.md) +* [Cmake](doc/cmake.md) * [Cups](doc/cups.md) * [Debian Installation](doc/debian-install.md) * [Debian Configuration](doc/debian-config.md) @@ -25,16 +26,14 @@ * [Node](doc/node.md) * [OneBusAway](doc/onebusaway.md) * [Password Manager](doc/pwd-mgmt.md) +* [RDP Client](doc/rdp.md) * [Pip3](doc/pip3.md) * [PM2](doc/pm2.md) * [Postgres](doc/postgres.md) -* [RDP Client](doc/rdp.md) +* [Psql Client](doc/psql.md) * [Redis](doc/redis.md) * [Rsync](doc/rsync.md) * [SSH Server](doc/ssh-server.md) * [SSH Public Key Authentication](doc/ssh-pub-key-auth.md) * [VPN](doc/vpn.md) * [Yarn](doc/yarn.md) -* To-do List - * Reuse - * IDE