LoginSignup
1
1

More than 5 years have passed since last update.

TinkerOS ヘッドレス利用 初期設定

Posted at

TinkerBoardを購入したので早速初期設定します。
ヘッドレス利用(モニタ・キーボード・マウス接続なし)で利用するためにやることを記載します。

初期ユーザのパスワードを変更する

$ passwd

まずはじめに初期ユーザパスワードを変更します。

ネットワークの設定をする

参考URL: https://www.debian.org/doc/manuals/debian-reference/ch05.ja.html#_the_legacy_network_connection_and_configuration

ヘッドレスで使う場合は旧来のネットワーク設定方法に従って設定します。
モダンなやり方でネットワークを設定してしまうとユーザログインするまではネットワークが使えないので
起動してもsshでログインできないので何もできなくなってしまいます。

$ sudoedit /etc/network/interfaces

パッケージの更新と再起動

$ sudo su -
# apt update && apt upgrade -y && apt dist-upgrade -y && sync && reboot

ホスト名変更

$ sudoedit /etc/hosts
$ sudo hostnamectl set-hostname <ホスト名>

新しいホスト名を/etc/hostsにも登録しておきます(sudoしたときに警告がでてしまうので)

GUIモードからマルチユーザモードへ

$ sudo systemctl set-default multi-user.target
$ sudo /sbin/reboot

パッケージの自動更新を有効にする

$ sudo apt install -V unattended-upgrades
$ sudo dpkg-reconfigure -plow unattended-upgrades

xrdpをインストールしてRDPで接続できるようにする

$ sudo apt install xorgxrdp xrdp
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1