User Tools

Site Tools


mywiki:linux:ubuntu_16.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mywiki:linux:ubuntu_16.04 [2016/12/18 14:53] – created shaoguohmywiki:linux:ubuntu_16.04 [2019/09/15 18:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
----++ create a customized daemon via systemd+ 
 +====== create a customized daemon via systemd ======  
 + 
 +   Create a ppa.service under folder /etc/systemd/system 
 +   sudo chmod +x /etc/systemd/system/ppa.service 
 +   sudo systemctl enable ppa 
 +   sudo systemctl status ppa 
 +   sudo systemctl daemon-reload 
 + 
 +File /etc/systemd/system/ppa.service
 <file> <file>
-cat ppa.service 
 [Unit] [Unit]
 Description=ppa deamon Description=ppa deamon
Line 13: Line 21:
 [Install] [Install]
 WantedBy=default.target WantedBy=default.target
 +</file>
 +
 +======  Singapore Timezone ====== 
 +sudo dpkg-reconfigure tzdata
 +
 +sudo apt-get install ntp
 +
 +timedatectl
 +<file>
 + Local time: Min 2016-12-18 17:00:11 SGT
 +  Universal time: Min 2016-12-18 09:00:11 UTC
 +        RTC time: Min 2016-12-18 09:00:11
 +       Time zone: Asia/Singapore (SGT, +0800)
 + Network time on: yes
 +NTP synchronized: yes
 + RTC in local TZ: no
 </file> </file>
mywiki/linux/ubuntu_16.04.1482043996.txt.gz · Last modified: (external edit)