0
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 1 year has passed since last update.

さくらVPSのUbuntu初期設定覚え書き

Last updated at Posted at 2022-11-15

コントロールパネルでの再インストール

  • OSインストール形式
    • 標準OS
  • インストールOS
    • Ubuntu 22.04 amd64
  • スタートアップスクリプト利用
    • 利用しない
  • パケットフィルター設定
    • SSH
    • Web
    • Mail
  • 初期ユーザーはubuntu

自分のユーザー作る

ubuntu@sakura:~$ sudo su -
[sudo] password for ubuntu:
root@sakura:~# adduser shimano
Adding user `shimano' ...
Adding new group `shimano' (1001) ...
Adding new user `shimano' (1001) with group `shimano' ...
Creating home directory `/home/shimano' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for shimano
Enter the new value, or press ENTER for the default
        Full Name []: shimano equipped
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] Y
root@sakura:~# gpasswd -a shimano sudo

アップデート

root@sakura:~# apt update && apt -y upgrade

カーネルupdateされたらrebootしとく

root@sakura:~# reboot now
0
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
0
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?