티스토리 뷰
Raspberry Pi/ubuntu LTS server
(macOS)[Raspberrypi][ubuntu 20.04] timezone 설정
jinozpersona 2022. 1. 17. 00:41wifi 고정 ip 설정
timezone 확인
$ date
Sun Jan 16 15:23:39 UTC 2022
timezone 적용 : 마지막줄 #TZ setting
$ sudo nano .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
#TZ setting
TZ='Asia/Seoul'; export TZ
$ source .profile
$ date
Mon Jan 17 00:26:05 KST 2022
반응형
'Raspberry Pi > ubuntu LTS server' 카테고리의 다른 글
(macOS)[Raspberrypi][ubuntu 20.04] wifi 고정 ip 설정, ssh port 변경, 방화벽 설정 (0) | 2022.01.17 |
---|---|
(macOS)[Raspberrypi] ubuntu server 20.04 LTS 부팅, wifi 설정, ssh 접속 (0) | 2022.01.15 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Regression
- 라즈베리파이
- pyserial
- github
- Raspberry Pi
- Python
- template
- vscode
- DS18B20
- Django
- MacOS
- Model
- 코로나
- r
- Pandas
- git
- 코로나19
- arduino
- analysis
- SSH
- sublime text
- Templates
- raspberrypi
- server
- 자가격리
- COVID-19
- CSV
- DAQ
- 확진
- ERP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함