Skip to content

Instantly share code, notes, and snippets.

View aissam-en's full-sized avatar

Aissam EN-NAHEL aissam-en

View GitHub Profile
@aissam-en
aissam-en / install_postgresql_ubuntu_server.md
Created August 7, 2024 12:05
install postgresql ubuntu server
  • install postgreSQL
sudo apt install postgresql
  • set password :
     sudo -u postgres psql template1
     ALTER USER postgres with encrypted password 'my_passwordy';
     \q
@aissam-en
aissam-en / Springboot_app_test_env.md
Last active August 7, 2024 12:13
Creating a Systemd Service for Spring Boot Application to run it in test environments

Create service file :

sudo nano /etc/systemd/system/my_app.service

The content of my_app.service file:

[Unit]
Description=Springboot app for BLABLA (test-env)
After=syslog.target network.target