feat: add psql and cmake and apache
This commit is contained in:
parent
31ababa276
commit
9469528b75
|
@ -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://<server ip>
|
||||
```
|
||||
|
|
|
@ -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
|
||||
```
|
|
@ -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
|
||||
```
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue