LoginSignup
2
3

More than 5 years have passed since last update.

CloudAtCostにArchLinuxをインストール

Last updated at Posted at 2016-01-04

準備

  • 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
2
3
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
2
3