Postingan

Menampilkan postingan dari Desember, 2021

Create a python application service on linux

sudo nano /etc/systemd/system/namaservice.service [Unit] Description=My Python App After=multi-user.target [Service] WorkingDirectory=<letak aplikasi python> ExecStart=/usr/bin/python3 <nama file yang dijalankan> Type=idle [Install] WantedBy=multi-user.target sudo chmod 644 /etc/systemd/system/namaservice.service sudo systemctl daemon-reload sudo systemctl enable namaservice.service sudo systemctl start namaservice.service

Proxy settings on ubuntu linux

Setting tanpa User/Password export https_proxy="https://192.168.1.1:8080" export http_proxy="http://192.168.1.1:8080"

Change timezone on linux cli

- timedatectl set-timezone Region/City - timedatectl set-timezone Asia/Jakarta