SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
INSTALL CENTOS MINIMAL ON HYPER-V
I’ll quickly take you through the steps required to get the CentOS 6.3 minimal
Linux distribution up and running on a Hyper-V host, along with networking and
the Linux integration components all enabled.

The minimal release of CentOS only appeared with release 6.2 –You get literally the
core OS, and nothing else (not even network access, but we’ll fix that!) – You just
install what you require afterwards. I think this is a great idea, as it will keep your
attack surface area to a minimum, you’re not wasting resources on the Hyper-V node
with components you’re not going to use, and it’s much quicker to download
(~=330MB) than the full DVD ISOs (~=5.4GB)!

First, download the CentOS 6.3 minimal ISO. While we’re at it, grab a copy of the
Linux integration components.
While they are downloading, head over to your Hyper-V host, and create a new virtual
machine.
Hyper-V Manager

Name it as you please, then make sure you connect it to a network with external
connectivity. On disk size, if you want to keep it tight, you could get away with 2GB.

When we get to the installation option screen of the new VM wizard, we will want to
tell it to boot from our CentOS minimal ISO. Hopefully your download has finished
now, so copy it along with the Linux integration components ISO, onto your Hyper-V
host. Select the CentOS minimal ISO as the boot image file, then continue with the
wizard. When the wizard has completed, start the new VM, from the actions on the
right, then click connect.




                                CentOS minimal installer

At the startup screen, select the first option to start the CentOS installer. I would skip
the media check that the installer offers as it can cause the ISO to eject.
In the installer you will need to select the regional settings appropriate to you. The
VHD for the VM will be empty/not formatted, so needs initializing:




                              CentOS drive initialization

Keep going through the wizard, entering your timezone and root password. For disk
partitioning, just go with the defaults (unless you have special requirements) and
write the changes to the disk.
CentOS disk partitioning
Our CentOS system should now begin the installation, don’t make a coffee – it won’t
                                 take very long!




                                  CentOS installation

Once the installation has finished, the VM will reboot. It might end at the installer
screen, as our ISO is still mounted. Don’t go through the installation again! Turn off
the VM via the action menu, then from the media menu, eject the CentOS minimal
ISO, and replace it by moutning the Microsoft Linux Integration Components that we
downloaded earlier, and start up the VM again.

All being well, we should end up at the login prompt, login with username root, and
whatever password you chose earlier. We will now install the Linux Integration
Components. These enhance your VM by adding features such as time sync with the
Hyper-V host, heartbeat reporting to Hyper-V host, multi processor support, shutdown
support form Hyper-V manager, and also NIC, IDE and SCSI drivers. Issuing the
following commands as root should install the Linux Integration Components:
mount –r /dev/sr0 /media
cd /media/RHEL63
./install.sh

Once installed we’ll need to restart again, type reboot at the command prompt.
While the VM is rebooting, we can eject the ISO via the media menu. Hopefully the
Hyper-V management console should now be reporting on the heartbeat status for
your VM.

If we log in again as root, with the password we used earlier, we can now proceedd to
configure the network on the VM, as the system isnt’t going to be much use without
it!

Run ‘vi /etc/sysconfig/network-scripts/ifcfg-eth0’ at the command prompt, then in
vi, press i to go into insert mode, then enter the following:

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.16
NETMASK=255.255.255.0
GATEWAY=192.168.1.123

Obviously you have to replace the settings with the correct details for your network!
To save the file, press Esc, Shift + : , wp, <Enter>
We now need to do the same as above for /etc/resolv.conf – add the IP’s of your DNS
servers to this file:

nameserver 8.8.8.8
nameserver 8.8.4.4
The final file we need to edit is /etc/sysconfig/network in order to enable
networking, and set the system hostname. Add the following ot this file:

NETWORKING=yes
HOSTNAME=myServer.mydomain.net
Now start the network by entering the command ‘service network restart’. You should
see eth0 start up, and should be able to ping other hosts on your network, and
beyond!

At this stage I like to update all the packages on the system with the following
command ‘yum –y update’

Once the update has completed, we’ve got a minimal CentOS system configured, with
network connectivity and the Linux integration components fully working – now it’s
time for you to install whatever you need onto it, and put it to some use!

Weitere ähnliche Inhalte

Was ist angesagt?

Learning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramLearning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramI Putu Hariyadi
 
1 installing ubuntu1404-lts_on_virtualbox
1 installing ubuntu1404-lts_on_virtualbox1 installing ubuntu1404-lts_on_virtualbox
1 installing ubuntu1404-lts_on_virtualboxKichiemon Adachi
 
Gluster Storage Platform Installation Guide
Gluster Storage Platform Installation GuideGluster Storage Platform Installation Guide
Gluster Storage Platform Installation GuideGlusterFS
 
Guidlines sitecore9 installation
Guidlines sitecore9 installationGuidlines sitecore9 installation
Guidlines sitecore9 installationPRADEEP GUPTA
 
Installation of ESX Server
Installation of ESX ServerInstallation of ESX Server
Installation of ESX ServerLuca Viscomi
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To LinuxZeeshan Rizvi
 
Virtualization
VirtualizationVirtualization
VirtualizationYansi Keim
 
Mac osx snow leopard 10
Mac osx snow leopard 10Mac osx snow leopard 10
Mac osx snow leopard 10sketchout
 
Open-E DSS V6 MPIO with ESXi 4.x
Open-E DSS V6 MPIO with ESXi 4.xOpen-E DSS V6 MPIO with ESXi 4.x
Open-E DSS V6 MPIO with ESXi 4.xopen-e
 
Run mac os x on pc
Run mac os x on pcRun mac os x on pc
Run mac os x on pcsketchout
 
Windows 98 vs Windows 200
Windows 98 vs Windows 200Windows 98 vs Windows 200
Windows 98 vs Windows 200Muhammad Waqas
 
How To Create The Ubuntu 20 VM Template For VMware Automation
How To Create The Ubuntu 20 VM Template For VMware AutomationHow To Create The Ubuntu 20 VM Template For VMware Automation
How To Create The Ubuntu 20 VM Template For VMware AutomationReal Estate
 
Introduction to hackintosh
Introduction to hackintosh Introduction to hackintosh
Introduction to hackintosh Richard Wu
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório UbuntuCarlos Eduardo
 

Was ist angesagt? (20)

Learning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramLearning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation Program
 
1 installing ubuntu1404-lts_on_virtualbox
1 installing ubuntu1404-lts_on_virtualbox1 installing ubuntu1404-lts_on_virtualbox
1 installing ubuntu1404-lts_on_virtualbox
 
Elastix installation
Elastix installationElastix installation
Elastix installation
 
Gluster Storage Platform Installation Guide
Gluster Storage Platform Installation GuideGluster Storage Platform Installation Guide
Gluster Storage Platform Installation Guide
 
Step by-step installation of a secure linux web dns- and mail server
Step by-step installation of a secure linux web  dns- and mail serverStep by-step installation of a secure linux web  dns- and mail server
Step by-step installation of a secure linux web dns- and mail server
 
Guidlines sitecore9 installation
Guidlines sitecore9 installationGuidlines sitecore9 installation
Guidlines sitecore9 installation
 
Installation of ESX Server
Installation of ESX ServerInstallation of ESX Server
Installation of ESX Server
 
Gns3
Gns3Gns3
Gns3
 
Practical Introduction To Linux
Practical Introduction To LinuxPractical Introduction To Linux
Practical Introduction To Linux
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Ftp configuration
Ftp configurationFtp configuration
Ftp configuration
 
Mac osx snow leopard 10
Mac osx snow leopard 10Mac osx snow leopard 10
Mac osx snow leopard 10
 
Open-E DSS V6 MPIO with ESXi 4.x
Open-E DSS V6 MPIO with ESXi 4.xOpen-E DSS V6 MPIO with ESXi 4.x
Open-E DSS V6 MPIO with ESXi 4.x
 
Run mac os x on pc
Run mac os x on pcRun mac os x on pc
Run mac os x on pc
 
Windows 98 vs Windows 200
Windows 98 vs Windows 200Windows 98 vs Windows 200
Windows 98 vs Windows 200
 
How To Create The Ubuntu 20 VM Template For VMware Automation
How To Create The Ubuntu 20 VM Template For VMware AutomationHow To Create The Ubuntu 20 VM Template For VMware Automation
How To Create The Ubuntu 20 VM Template For VMware Automation
 
Introduction to hackintosh
Introduction to hackintosh Introduction to hackintosh
Introduction to hackintosh
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório Ubuntu
 
Aix install via nim
Aix install via nimAix install via nim
Aix install via nim
 
Hackintosh
HackintoshHackintosh
Hackintosh
 

Andere mochten auch

Windows Servers migration & upgrade
Windows Servers migration & upgradeWindows Servers migration & upgrade
Windows Servers migration & upgradeTũi Wichets
 
Windows server 2012 Hyper-V over VMware vSphere 5
Windows server 2012 Hyper-V over VMware vSphere 5Windows server 2012 Hyper-V over VMware vSphere 5
Windows server 2012 Hyper-V over VMware vSphere 5Tũi Wichets
 
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 Deployments
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 DeploymentsWhite Paper Why Use 16Gb Fibre Channel with Windows Server 2012 Deployments
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 DeploymentsTũi Wichets
 
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2Tũi Wichets
 

Andere mochten auch (6)

Windows Servers migration & upgrade
Windows Servers migration & upgradeWindows Servers migration & upgrade
Windows Servers migration & upgrade
 
Ictericia neonatal
Ictericia neonatalIctericia neonatal
Ictericia neonatal
 
Windows server 2012 Hyper-V over VMware vSphere 5
Windows server 2012 Hyper-V over VMware vSphere 5Windows server 2012 Hyper-V over VMware vSphere 5
Windows server 2012 Hyper-V over VMware vSphere 5
 
C suite brief
C suite briefC suite brief
C suite brief
 
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 Deployments
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 DeploymentsWhite Paper Why Use 16Gb Fibre Channel with Windows Server 2012 Deployments
White Paper Why Use 16Gb Fibre Channel with Windows Server 2012 Deployments
 
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2
Windows Server 2008 Active Directory ADFS Claims-base Idm for Windows Part 2
 

Ähnlich wie install CentOS 6.3 minimal on Hyper-V

Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command lineEric Javier Espino Man
 
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告fm2008
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7a_ratra
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorialDru Lavigne
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windowsrajuy2r
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingBeni Krisbiantoro
 
Install Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptxInstall Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptxCiceer Ghimirey
 
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceQuick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceCloudian
 
Getting started with robonova in ubuntu
Getting started with robonova in ubuntuGetting started with robonova in ubuntu
Getting started with robonova in ubuntuSandeep Saini
 
OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)The Linux Foundation
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - BabeliLianna Babeli
 

Ähnlich wie install CentOS 6.3 minimal on Hyper-V (20)

Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Virtualization.pdf
Virtualization.pdfVirtualization.pdf
Virtualization.pdf
 
Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command line
 
Linux
LinuxLinux
Linux
 
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告
Aix5[1].3+hacmp+oracle9 i+weblogic8.1安装实施报告
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
 
Asterisknow Tutorial
Asterisknow TutorialAsterisknow Tutorial
Asterisknow Tutorial
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
Linux
Linux Linux
Linux
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Install Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptxInstall Linux OS in Virtual Box.pptx
Install Linux OS in Virtual Box.pptx
 
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage ServiceQuick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
Quick-Start Guide: Deploying Your Cloudian HyperStore Hybrid Storage Service
 
Install
InstallInstall
Install
 
Getting started with robonova in ubuntu
Getting started with robonova in ubuntuGetting started with robonova in ubuntu
Getting started with robonova in ubuntu
 
OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - Babeli
 
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
 
snortinstallguide
snortinstallguidesnortinstallguide
snortinstallguide
 

Mehr von Tũi Wichets

อัตรา Rain Rate ในแถบ East-Asia
อัตรา Rain Rate ในแถบ East-Asia อัตรา Rain Rate ในแถบ East-Asia
อัตรา Rain Rate ในแถบ East-Asia Tũi Wichets
 
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...Tũi Wichets
 
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge Routerการคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge RouterTũi Wichets
 
MTCNA Training outline, Certified Network Associate (MTCNA)
MTCNA Training outline, Certified Network Associate (MTCNA)MTCNA Training outline, Certified Network Associate (MTCNA)
MTCNA Training outline, Certified Network Associate (MTCNA)Tũi Wichets
 
MTCWE Training outline, Course prerequisites – MTCNA certificate
MTCWE Training outline, Course prerequisites – MTCNA certificateMTCWE Training outline, Course prerequisites – MTCNA certificate
MTCWE Training outline, Course prerequisites – MTCNA certificateTũi Wichets
 
MTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateMTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateTũi Wichets
 
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificates
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificatesMTCINE training outline, Course prerequisites – MTCNA and MTCRE certificates
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificatesTũi Wichets
 
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOSบล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOSTũi Wichets
 
Introduction to Data Centre 3.0
Introduction to Data Centre 3.0Introduction to Data Centre 3.0
Introduction to Data Centre 3.0Tũi Wichets
 
Windows Server 2012 R2 products & editions comparison
Windows Server 2012 R2 products & editions comparisonWindows Server 2012 R2 products & editions comparison
Windows Server 2012 R2 products & editions comparisonTũi Wichets
 
Settings MikroTik Router and Access Point to schedule AP radio on off via script
Settings MikroTik Router and Access Point to schedule AP radio on off via scriptSettings MikroTik Router and Access Point to schedule AP radio on off via script
Settings MikroTik Router and Access Point to schedule AP radio on off via scriptTũi Wichets
 
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...Tũi Wichets
 
How to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipHow to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipTũi Wichets
 
FAQ - Rogue AP - What is Rogue Access Point?
FAQ - Rogue AP - What is Rogue Access Point?FAQ - Rogue AP - What is Rogue Access Point?
FAQ - Rogue AP - What is Rogue Access Point?Tũi Wichets
 
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...Tũi Wichets
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Tũi Wichets
 
Gigabit Wi-Fi 802.11AC In Depth
Gigabit Wi-Fi 802.11AC In DepthGigabit Wi-Fi 802.11AC In Depth
Gigabit Wi-Fi 802.11AC In DepthTũi Wichets
 
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)Tũi Wichets
 
SwOS (MikroTik Switch OS) Administration Guide
SwOS (MikroTik Switch OS) Administration GuideSwOS (MikroTik Switch OS) Administration Guide
SwOS (MikroTik Switch OS) Administration GuideTũi Wichets
 

Mehr von Tũi Wichets (20)

RouterOS Commands
RouterOS CommandsRouterOS Commands
RouterOS Commands
 
อัตรา Rain Rate ในแถบ East-Asia
อัตรา Rain Rate ในแถบ East-Asia อัตรา Rain Rate ในแถบ East-Asia
อัตรา Rain Rate ในแถบ East-Asia
 
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...
ขั้นตอนการปรับตำแหน่งจาน Mikrotik mANT 30dBi 5Ghz MIMO ให้ feed สัญญาณ Slant ...
 
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge Routerการคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
 
MTCNA Training outline, Certified Network Associate (MTCNA)
MTCNA Training outline, Certified Network Associate (MTCNA)MTCNA Training outline, Certified Network Associate (MTCNA)
MTCNA Training outline, Certified Network Associate (MTCNA)
 
MTCWE Training outline, Course prerequisites – MTCNA certificate
MTCWE Training outline, Course prerequisites – MTCNA certificateMTCWE Training outline, Course prerequisites – MTCNA certificate
MTCWE Training outline, Course prerequisites – MTCNA certificate
 
MTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificateMTCRE Training outline, Course prerequisites – MTCNA certificate
MTCRE Training outline, Course prerequisites – MTCNA certificate
 
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificates
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificatesMTCINE training outline, Course prerequisites – MTCNA and MTCRE certificates
MTCINE training outline, Course prerequisites – MTCNA and MTCRE certificates
 
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOSบล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
 
Introduction to Data Centre 3.0
Introduction to Data Centre 3.0Introduction to Data Centre 3.0
Introduction to Data Centre 3.0
 
Windows Server 2012 R2 products & editions comparison
Windows Server 2012 R2 products & editions comparisonWindows Server 2012 R2 products & editions comparison
Windows Server 2012 R2 products & editions comparison
 
Settings MikroTik Router and Access Point to schedule AP radio on off via script
Settings MikroTik Router and Access Point to schedule AP radio on off via scriptSettings MikroTik Router and Access Point to schedule AP radio on off via script
Settings MikroTik Router and Access Point to schedule AP radio on off via script
 
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...
แนะนำแนวทางการออกแบบ การปรับแต่ง การรับส่งสัญญาณ airFiber 24 - airFiber Desig...
 
How to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipHow to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ip
 
FAQ - Rogue AP - What is Rogue Access Point?
FAQ - Rogue AP - What is Rogue Access Point?FAQ - Rogue AP - What is Rogue Access Point?
FAQ - Rogue AP - What is Rogue Access Point?
 
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...
เอกสาร แนวทาง การอินติเกรท Mac OS X เข้ากับ ระบบ Active Directory อย่างไร Bes...
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture
 
Gigabit Wi-Fi 802.11AC In Depth
Gigabit Wi-Fi 802.11AC In DepthGigabit Wi-Fi 802.11AC In Depth
Gigabit Wi-Fi 802.11AC In Depth
 
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)
ค่า Tx Power Mode ใน Ubiquiti และ Mikrotik (RF Tx Power Mode Settings)
 
SwOS (MikroTik Switch OS) Administration Guide
SwOS (MikroTik Switch OS) Administration GuideSwOS (MikroTik Switch OS) Administration Guide
SwOS (MikroTik Switch OS) Administration Guide
 

install CentOS 6.3 minimal on Hyper-V

  • 1. INSTALL CENTOS MINIMAL ON HYPER-V I’ll quickly take you through the steps required to get the CentOS 6.3 minimal Linux distribution up and running on a Hyper-V host, along with networking and the Linux integration components all enabled. The minimal release of CentOS only appeared with release 6.2 –You get literally the core OS, and nothing else (not even network access, but we’ll fix that!) – You just install what you require afterwards. I think this is a great idea, as it will keep your attack surface area to a minimum, you’re not wasting resources on the Hyper-V node with components you’re not going to use, and it’s much quicker to download (~=330MB) than the full DVD ISOs (~=5.4GB)! First, download the CentOS 6.3 minimal ISO. While we’re at it, grab a copy of the Linux integration components. While they are downloading, head over to your Hyper-V host, and create a new virtual machine.
  • 2. Hyper-V Manager Name it as you please, then make sure you connect it to a network with external connectivity. On disk size, if you want to keep it tight, you could get away with 2GB. When we get to the installation option screen of the new VM wizard, we will want to tell it to boot from our CentOS minimal ISO. Hopefully your download has finished now, so copy it along with the Linux integration components ISO, onto your Hyper-V host. Select the CentOS minimal ISO as the boot image file, then continue with the wizard. When the wizard has completed, start the new VM, from the actions on the right, then click connect. CentOS minimal installer At the startup screen, select the first option to start the CentOS installer. I would skip the media check that the installer offers as it can cause the ISO to eject.
  • 3. In the installer you will need to select the regional settings appropriate to you. The VHD for the VM will be empty/not formatted, so needs initializing: CentOS drive initialization Keep going through the wizard, entering your timezone and root password. For disk partitioning, just go with the defaults (unless you have special requirements) and write the changes to the disk.
  • 5. Our CentOS system should now begin the installation, don’t make a coffee – it won’t take very long! CentOS installation Once the installation has finished, the VM will reboot. It might end at the installer screen, as our ISO is still mounted. Don’t go through the installation again! Turn off the VM via the action menu, then from the media menu, eject the CentOS minimal ISO, and replace it by moutning the Microsoft Linux Integration Components that we downloaded earlier, and start up the VM again. All being well, we should end up at the login prompt, login with username root, and whatever password you chose earlier. We will now install the Linux Integration Components. These enhance your VM by adding features such as time sync with the Hyper-V host, heartbeat reporting to Hyper-V host, multi processor support, shutdown support form Hyper-V manager, and also NIC, IDE and SCSI drivers. Issuing the following commands as root should install the Linux Integration Components:
  • 6. mount –r /dev/sr0 /media cd /media/RHEL63 ./install.sh Once installed we’ll need to restart again, type reboot at the command prompt. While the VM is rebooting, we can eject the ISO via the media menu. Hopefully the Hyper-V management console should now be reporting on the heartbeat status for your VM. If we log in again as root, with the password we used earlier, we can now proceedd to configure the network on the VM, as the system isnt’t going to be much use without it! Run ‘vi /etc/sysconfig/network-scripts/ifcfg-eth0’ at the command prompt, then in vi, press i to go into insert mode, then enter the following: DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.1.16 NETMASK=255.255.255.0 GATEWAY=192.168.1.123 Obviously you have to replace the settings with the correct details for your network! To save the file, press Esc, Shift + : , wp, <Enter> We now need to do the same as above for /etc/resolv.conf – add the IP’s of your DNS servers to this file: nameserver 8.8.8.8 nameserver 8.8.4.4 The final file we need to edit is /etc/sysconfig/network in order to enable networking, and set the system hostname. Add the following ot this file: NETWORKING=yes HOSTNAME=myServer.mydomain.net
  • 7. Now start the network by entering the command ‘service network restart’. You should see eth0 start up, and should be able to ping other hosts on your network, and beyond! At this stage I like to update all the packages on the system with the following command ‘yum –y update’ Once the update has completed, we’ve got a minimal CentOS system configured, with network connectivity and the Linux integration components fully working – now it’s time for you to install whatever you need onto it, and put it to some use!