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 5 years have passed since last update.

Ubuntu再セットアップ手順

Last updated at Posted at 2019-10-24

作成しながら記事作成(中)。
※バージョンは作成現在

マシンスペック

  • M/B: ASUS PRIME Z270-A
  • CPU: i7-7700K
  • Memory: BLS16G4D240FSB.16FBR * 4
  • GPU: GeForce GTX 1070
  • Storage: PLEXTOR PX-512M8PeY(nvma)

前準備

  • ホームディレクトリの英語化
    • LANG=C xdg-user-dirs-gtk-update
  • sudoers調整
    • sudo apt install -y vim
    • sudo update-alternatives --set editor /usr/bin/vim.basic
    • sudo visudoALL {設定したユーザ名}=NOPASSWD: /usr/bin/apt追加
  • なんだかんだで必要な色々
    • sudo apt install -y wine winetricks
    • winetricks allfonts
    • sudo sh -c "echo $NAS_IP:$NAS_PATH ~/mnt/storage nfs >> /etc/fstab"

開発環境

  • 仮想環境(KVM)
    • 参考:http://engetu21.hatenablog.com/entry/2018/12/10/010320
      • PCIデバイスが違うので下記部分を修正(今回の場合)
        • 10de:1c0310de:1b81
        • 10de:10f110de:10f0
    • sudo add-apt-repository -y -n ppa:jacob/virtualisation && sudo apt update
    • sudo apt install -y qemu-kvm qemu-utils qemu-efi ovmf libvirt-dev libvirt0 virt-manager
    • sudo systemctl start libvirtd
    • sudo systemctl enable libvirtd
    • sudo systemctl start virtlogd
    • sudo systemctl enable virtlogd
    • wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
    • sudo sh -c "echo 'options vfio-pci ids=10de:1b81,10de:10f0,1b21:1242,1033:0194' >> /etc/modprobe.d/vfio.conf"
  • プログラミング
    • sudo apt install -y git hub
    • wget -O - "https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.16.6016.tar.gz" | tar xzf - && ./jetbrains-toolbox-1.16.6016/jetbrains-toolbox && rm -fr jetbrains-toolbox-1.16.6016

その他インストール

  • シェル関係
    • sudo apt install -y zsh tmux
  • ネットワークドライブ
    • cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - && ~/.dropbox-dist/dropboxd &
  • ターミナル
    • sudo add-apt-repository ppa:mmstick76/alacritty && sudo apt install -y alacritty
  • 解凍
    • sudo apt install -y unar
  • 動画再生
    • sudo apt install -y vlc
  • 画像ビューア
    • wget https://www.dropbox.com/s/vhd2xni16qfcder/MassiGra045.zip && unar MassiGra045.zip && sudo mv MassiGra045 /usr/local/bin/Massigra
      • echo 'massigra() { wine /usr/local/bin/Massigra/MassiGra.exe $1 & }'>>~/.zshrc
  • ディレクトリ検索
    • sudo add-apt-repository -y ppa:christian-boxdoerfer/fsearch-daily && sudo apt update && sudo apt install fsearch-trunk
  • チャット
    • wget "https://downloads.slack-edge.com/linux_releases/slack-desktop-4.1.1-amd64.deb" && sudo apt install ./slack-desktop-*.deb && rm ./slack-desktop-*.deb
  • steam
    • sudo apt install -y steam
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?