7,166
edits
No edit summary |
|||
Line 119: | Line 119: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
おまけ : 最低限の初期設定をコマンドラインで実行するには | おまけ : (ネットワークが無い環境で)最低限の初期設定をコマンドラインで実行するには | ||
<syntaxhighlight lang="bash" enclose="div"> | <syntaxhighlight lang="bash" enclose="div"> | ||
passwd | passwd | ||
Line 126: | Line 126: | ||
sudo systemctl restart rsyslog | sudo systemctl restart rsyslog | ||
sudo systemctl restart cron | sudo systemctl restart cron | ||
sudo sed -i --follow-symlinks "s/^country=.*/country=JP/g" /etc/wpa_supplicant/wpa_supplicant.conf | sudo sed -i --follow-symlinks "s/^country=.*/country=JP/g" /etc/wpa_supplicant/wpa_supplicant.conf | ||
sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server | sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server |