1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mini-PCにFedoraを入れてリモート開発環境を構築する

Posted at

MiniServerにFedoraを入れて、リモート開発環境を構築する

きっかけ

移動中や外からでも開発できる環境を整備しようと思っていたところ、
ビックカメラで激安のパソコンが販売されていたので、ポチって見ました。
image.png

RaspberryPiでもよかったのですが、ラズパイよりも安く
CPUがArmではなく、Intelという部分が購入の決め手になりました。

スペック

ラズパイに比べて非力ですが、ミニサーバとしては十分かな

Mini-PC RaspberyPi
CPU Intel D2700(2core/4thread) ARM(4core/4thread)
RAM 2GB 4GB
Disk 320GB (microSD)

Fedora (Server)をインストール

Language:English
Keyboard:Japanese
Disk: Local Standard Disk全体を選択
Network: Ethernet(ens1)が有効になっていることを確認
Timezone:Asia/Tokyo
Installation Source : default
Software Selection : Minimal Install - Standard

パッケージ更新

[user@fedora ~]$sudo dnf -y update
・・・・
Complete!
[user@fedora ~]$

Code-Server インストール

[user@fedora ~]$curl -fOL https://github.com/cdr/code-server/releases/download/v3.11.1/code-server-3.11.1-amd64.rpm
[user@fedora ~]$sudo rpm -i ./code-server-3.11.1-amd64.rpm
[user@fedora ~]$sudo sytemctl enable --now code-server@user
[user@fedora ~]$sudo firewall-cmd --premanent --add-port=8080/tcp
success
[user@fedora ~]$sudo firewall-cmd --reload
success
[user@fedora ~]$

接続確認

http://[Mini-PCのIP]:8080
パスワードは.config/code-server/config.yamlに記載されています。

1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?