Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Install CentOS on VirtualBox

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Install CentOS on VirtualBox

Windows10 上で CentOS 検証環境を作成する手順をまとめました。

Avatar for Akira Morikawa

Akira Morikawa

August 27, 2018

More Decks by Akira Morikawa

Other Decks in Technology

Transcript

  1. Configure CentOS 7 以下のコマンドを実行 yum -y install kernel-devel mkdir -p

    /mnt/cdrom mount -r /dev/cdrom /mnt/cdrom/ sh /mnt/cdrom/VBoxLinuxAdditions.run ※ 1 行目の yum コマンドに失敗する場合、「 reboot」で一度再起動してください。
  2. Configure CentOS 7 以下のコマンドを実行 systemctl start sshd systemctl enable sshd

    reboot ※再起動後、再び root ログインしてください
  3. Configure CentOS 7 以下のコマンドを実行 ( root ユーザ ) ln -sf

    /usr/share/zoneinfo/Asia/Tokyo /etc/localtime yum clean all && yum -y update yum -y groupinstall "Development tools" yum -y install wget net-tools echo -e "* soft nofile 65536\n* hard nofile 65536" >> /etc/security/limits.conf echo "LOCAL" > /etc/adjtime setenforce 0 sed -i -e "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config systemctl start chronyd.service systemctl enable chronyd.service