Hello World from OSS Silicon Valley


HowToUse/CentOS/6.5

_ Install&Setup

_ Install CentOS

Step.1
Download ISO file from http://www.centos.org/download/ . For newbie, I recommend to download "DVD image". Though you can choose "LiveCD" or "netinstall" which has light data volume, they have minimum functionality to run server, you need to deal with all of operation in CUI. Select "Install or Upgrade an existing system".
install_fig1.png
Step.2
Choose Skip
install_fig2.png
Step.3
Click Next
install_fig3.png
Step.4
Select Language.
install_fig4.png
ItemDescriptionExample
LanguageLanguage for User Interface"English"(default)
Step.5
Select Keybord type
install_fig5.png
ItemDescriptionExample
KeyboardKeyboard Type"English"(default)
Step.6
Choose type of devices.
install_fig6.png
ItemDescriptionExample
Type of devicesType of devices"Basic Storage Device"(default)
Step.7
Click "Yes, discard any data".
install_fig7.png
Step.8
Setup host name and click "Configure Network" button.
install_fig8.png
ItemDescriptionExample
Host nameHost name. You can set as you like"CentOS6.5"
Step.9
Select "System eth0" and click "Edit" button.
install_fig9.png
Step.10
Check "Connect Automatically" and click "Apply" button.
install_fig10.png
Step.11
Check "Close" button.
install_fig11.png
Step.12
Check "Next" button.
install_fig12.png
Step.13
Setup timezone.
install_fig13.png
Step.14
Setup root password.
install_fig14.png
Step.15
Select Type of installation.
ItemDescriptionExample
Type of installation"Use All Space"
Step.16
Click "Write change to the disk".
install_fig16.png
Step.17
Choose Install Mode.
install_fig17.png
ItemDescriptionExample
Install Mode"Software Development Workstation"
Step.18
Wait for a while to finish installtion.
install_fig18.png
Step.19
Click "Reboot" button.
install_fig19.png
Step.20
Click Enter key.
install_fig20.png
Step.21
Click "Forward" button.
install_fig21.png
Step.22
Click "Forward" button.
install_fig22.png
Step.23
Enter user name, password and click "Forward" button.
Step.24
Click "Forward" button.
install_fig24.png
Step.25
Click "Finish" button.
install_fig25.png

_ Setup Network Adapter

Step.1
Login root user.
Step.2
Launch terminal from "Application"->"System Tools"->"Terminal".
Step.2
Open the following new file.
# cd /etc/sysconfig/network-scripts
# vi ifcfg-eth1
Step.3
Edit as follows and save the file.
Tools"->"Terminal".
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
HWADDR=99:99:99:99:99:99  # MAC Address which you can check Virtual Box Network setting
NAME="System eth1"
IPADDR=192.168.56.101     # as you like
NETMASK=255.255.255.0
NETWORK=192.168.56.0
Step.4
Execute the following command.
# ifup eth1
# reboot

Now, you can connect with SSH server specifying IP address as 192.168.56.101.

_ HowToUse

_ Setting sudo

Step.1
Execute the following command to edit sudoer file.
$ su -
# visudo
<User Name> ALL=(ALL)  ALL

Example

hadoop ALL=(ALL)   ALL

_ Author

S.Yatsuzuka

Last-modified: 2016-11-06 (Sun) 07:51:25 (2721d)