仮想化

2015 年 7 月
ホスト型仮想化ソフトVirtualBoxでサーバー構築したときの記録です。

ゲストOS CentOS 7.1
仮想化ソフト VirtualBox 4.3.28 HDD20G RAM4G 4CPU
ホストOS Windows 8.1

VirtualBox フルスクリーン設定

デバイス
Guest AddsinionsのCDイメージを挿入
ソフトウェア実行

ゲストOS再起動

ビュー
ゲストOSの画面を自動リサイズ
フルスクリーンモードに切り替える

FTP クライアント

FileZilla

# yum -y install epel-release
# yum -y install filezilla

CentOS 7.1 サーバー設定

SELinuxの無効化
# setenforce 0

/etc/sysconfig/selinux
SELINUX=disabled

サーバーインストール
# yum -y install httpd

cgiの拡張子を有効化

/etc/httpd/conf/httpd.conf
AddHandler cgi-script .cgi

.cgi .log のパーミッションを再設定

サーバー起動
# systemctl start httpd
# systemctl enable httpd

October 16, 2015

VNC

インストール
# yum -y install tigervnc-server

/lib/systemd/system/vncserver@.service
を
/lib/systemd/system/vncserver@:1.service
にコピー

<USER>
ユーザ名に置換

パスワードを設定
# vncpasswd

自動起動設定
# systemctl enable vncserver@:1.service

ファイアーウォール設定

July 4, 2015
The following clause.
サーバー構築部門