Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Install CentOS on VirtualBox
Search
Akira Morikawa
August 27, 2018
Technology
0
230
Install CentOS on VirtualBox
Windows10 上で CentOS 検証環境を作成する手順をまとめました。
Akira Morikawa
August 27, 2018
Tweet
Share
More Decks by Akira Morikawa
See All by Akira Morikawa
コロナ禍だからこそ考えるオフラインコミュニティの意義 / significance of community
ariaki
0
1.8k
アウトプットの始め方/start output 20230121
ariaki
0
260
web-secure-phpcon2020
ariaki
3
3.3k
オブジェクトライフサイクルとメモリ管理を学ぼう / OOC 2020
ariaki
8
3.5k
エンジニアはアウトプットによって成長できるのか? / Grow with your output
ariaki
24
6.3k
アウトプットを始めよう / How to begin output jawsug-bgnr
ariaki
2
3.7k
参加者の安全を守れていますか? / Protecting community safety
ariaki
1
6.7k
タピオカに学ぶ二段階認証 / tapioca-mfa
ariaki
5
1.2k
古に学ぶ個人開発のススメ / My recommendation of personal development
ariaki
1
1.4k
Other Decks in Technology
See All in Technology
Introduction to OpenSearch Project - Search Engineering Tech Talk 2025 Winter
tkykenmt
2
120
2/18 Making Security Scale: メルカリが考えるセキュリティ戦略 - Coincheck x LayerX x Mercari
jsonf
0
230
AWSアカウントのセキュリティ自動化、どこまで進める? 最適な設計と実践ポイント
yuobayashi
7
850
システム・ML活用を広げるdbtのデータモデリング / Expanding System & ML Use with dbt Modeling
i125
1
340
JavaにおけるNull非許容性
skrb
2
2.7k
生成AI “再”入門 2025年春@WIRED TUESDAY EDITOR'S LOUNGE
kajikent
0
140
1行のコードから社会課題の解決へ: EMの探究、事業・技術・組織を紡ぐ実践知 / EM Conf 2025
9ma3r
12
4.2k
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
730
スキルだけでは満たせない、 “組織全体に”なじむオンボーディング/Onboarding that fits “throughout the organization” and cannot be satisfied by skills alone
bitkey
0
190
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
4
6.4k
NFV基盤のOpenStack更新 ~9世代バージョンアップへの挑戦~
vtj
0
360
事業を差別化する技術を生み出す技術
pyama86
2
290
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
40
2.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Unsuck your backbone
ammeep
669
57k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Transcript
Install CentOS 7 on VirtualBox for Windows 10 ariaki4dev
Virtual Box
https://www.virtualbox.org/wiki/Downloads
Install Virtual Box
Install Virtual Box
Install Virtual Box
Install Virtual Box
Install Virtual Box
Install Virtual Box ※「PC に変更を加える事を許可しますか?」と表示された場合は「はい」をクリックする
Install Virtual Box
Install CentOS 7
https://www.centos.org/download/
Install CentOS 7
Install CentOS 7
Install CentOS 7 ②この値をメモする(※後から使う) ①「プロパティ」をクリック
Install CentOS 7 ②チェックを外す ③「適用」をクリック ①「DHCPサーバー」をクリック
Install CentOS 7
Install CentOS 7 • 名前:なんでもいい • タイプ:Linux • バージョン:Red Hat
(64-bit)
Install CentOS 7 1024 MB(※標準値)
Install CentOS 7
Install CentOS 7
Install CentOS 7 名前は何でもいい 8.00 GB(※標準値)
Install CentOS 7 右クリック → 設定 を開く
Install CentOS 7 • 「ネットワークアダプターを有効化」にチェック(※標準値) • 「割り当て」に「NAT」を指定(※標準値)
Install CentOS 7 • 「ネットワークアダプターを有効化」にチェック • 「割り当て」に「ホストオンリーアダプター」を指定
Install CentOS 7 「仮想光学ディスクファイルを選択」をクリック →ダウンロードした以下のファイルを選択 CentOS-7-x86_64-Minimal-1804.iso
Install CentOS 7
Install CentOS 7 選択状態で Enter
Install CentOS 7 「キャプチャー」をクリックすると、キーボードとマウスイベントを占有するようになる ※解除するには「右Ctrlキー」を押す必要がある
Install CentOS 7
Install CentOS 7
Install CentOS 7 選択して完了
Install CentOS 7
Install CentOS 7 それぞれパスワード設定する
Install CentOS 7 root パスワードを設定して完了
Install CentOS 7 ユーザを作成して完了
Install CentOS 7
Configure CentOS 7
Configure CentOS 7 以下を入力 • login: root • password: (パスワード)
Configure CentOS 7 以下のコマンドを実行 nmtui
Configure CentOS 7 選択して Enter
Configure CentOS 7 選択して Enter
Configure CentOS 7 ① 図のように変更 ② 選択して Enter
Configure CentOS 7 選択して Enter
Configure CentOS 7 ① 図のように変更 ② 選択して Enter
Configure CentOS 7 メモ済のアドレスを参考にして、 末尾の数字のみ”11”に変更する 例)192.168.56.1 → 192.168.56.11 チェックする ※設定完了後「Hide」を選択し、
元の画面で「OK」を選択する。
Configure CentOS 7 選択して Enter
Configure CentOS 7 両方アクティブ(左側に * 表示)を確認
Configure CentOS 7 選択して Enter
Configure CentOS 7 「Guest Additions CD イメージの挿入」 メニューを選択する ※画面上は何も変化しない
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」で一度再起動してください。
Configure CentOS 7 以下のコマンドを実行 systemctl start sshd systemctl enable sshd
reboot ※再起動後、再び root ログインしてください
http://nanno.dip.jp/softlib/man/rlogin/#INSTALL
Configure CentOS 7 RLogin を起動して設定する
Configure CentOS 7 名前は適当で OK 先ほど設定した IP アドレスを入力する 自分のユーザ名/パスワードを入力する
Configure CentOS 7
Configure CentOS 7 初回接続時のみ以下が表示される
Configure CentOS 7 初回接続時のみ以下が表示される
Configure CentOS 7 ログイン完了! ログインユーザ名が表示される • 自分の名前でログイン • root でログイン
root ユーザへの切替は「su -」 プロンプト終了は「exit」
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
Configure CentOS 7 サーバの終了方法 # 再起動する場合 reboot # 終了する場合 poweroff
Configure CentOS 7 OS のヘッドレス起動 上記のように「ヘッドレス起動」を選択する事で、ウインドウが表示されず OS が起動する ※起動後は RLogin
等の SSH クライアントを使って通常通り接続できる
ariaki4dev Build Something Amazing written by