Help us understand the problem. What is going on with this article?

CloudAtCostにArchLinuxをインストール

More than 3 years have passed since last update.

準備

  • VMWareにArchLinuxをインストール
  • DiskはSCSIを選びました。
    • diskサイズは1GB
    • ext4でフォーマット
  • ddでdump、cloudatcostに転送しddでrestore
圧縮イメージからリストア
gzip -dc < arch1gb.dump.gz | dd of=/dev/sda
  • 再起動しネットワーク設定を行い完了。

/dev/sda1の拡張

fdisk /dev/sda
d 1 n p 1 Enter Enter Enter w
reboot

resize2fs /dev/sda1

ファイアウォール(ufw)

pacman -Sy ufw
/etc/default/ufw
- IPV6=yes
+ IPV6=no

設定

ufw default deny
ufw allow 22
ufw enable
systemctl enable ufw

状態

# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip

To                         Action      From
--                         ------      ----
22                         ALLOW IN    Anywhere

SimpleHTTPServerがない

python -m http.server 8888
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away