#author("2020-10-18T06:17:49+00:00","default:mizutu","mizutu")
* Ubuntu16.04.1LTS [#wf898c98]
#author("2020-10-18T07:08:20+00:00","default:mizutu","mizutu")
[[忘備録]] > サーバー構築2
* 自宅サーバー構築 Ubuntu16.04.1LTS [#wf898c98]
| Linuxによるサーバー構築メモ2|

#contents


** NTPサーバ [#l6803fad]
- NTP 設定 $ sudo vi /etc/ntp.conf
 # pool 0.ubuntu.pool.ntp.org iburst
 # pool 1.ubuntu.pool.ntp.org iburst
 # pool 2.ubuntu.pool.ntp.org iburst
 # pool 3.ubuntu.pool.ntp.org iburst
 server ntp1.jst.mfeed.ad.jp iburst 
 server ntp2.jst.mfeed.ad.jp iburst 
 server ntp3.jst.mfeed.ad.jp iburst 
 
 # pool ntp.ubuntu.com

- NTP 再起動
 $ sudo systemctl restart ntp

- NTP 動作確認
 $ sudo ntpq -p

** Samba [#qff8bd47]
 unix characterset 必要なし
 dos characterset 必要なし
samba 再起動コマンド
 $ sudo systemctl restart smbd nmbd

** Lamp サーバー [#ed56a559]
 mcrypt 拡張の追加は必要なし
sorp 拡張がない
 $ sudo apt-get install php-soap
curl 拡張がない
 $ sudo apt-get -y install php7.0-curl