Образ vmware linux oracle

Образ vmware linux oracle

четверг, 28 июля 2011 г.

Конвертирование образа виртуальной машины Oracle VM в VMware

  1. Сделать резервную копию ОВМ (в формате Xen или Oracle VM).
  2. Запустить ОВМ.
  3. Проверить используется ли ядро ОС с поддержкой Xen.
    Для этого выполните команду:
 $ uname -r 2.6.18-238.9.1.0.1.el5PAE 

Если в результате выполнения команды нет слова xen, то ядро без поддержки Xen. Пример варианта с ядром Xen:

 $ uname -r 2.6.18-238.9.1.0.1.el5xen 

В данном файле надо изменить загружаемое ядро по-умолчанию изменив значение поля default (нумерация начинается с 0). Например:

 # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=1  timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Oracle Linux Server (2.6.18-238.9.1.0.1.el5debug) root (hd0,0) kernel /vmlinuz-2.6.18-238.9.1.0.1.el5debug ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-238.9.1.0.1.el5debug.img title Oracle Linux Server (2.6.18-238.9.1.0.1.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-238.9.1.0.1.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-238.9.1.0.1.el5PAE.img title Oracle Linux Server (2.6.18-238.9.1.0.1.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-238.9.1.0.1.el5 module /vmlinuz-2.6.18-238.9.1.0.1.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18-238.9.1.0.1.el5xen.img title Oracle Linux Server (2.6.18-238.9.1.0.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-238.9.1.0.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-238.9.1.0.1.el5.img 
 $ qemu-img convert system.img -O vmdk system.vmdk 

Источник

This article describes How to Install Oracle Linux Server 8.0 on Vmware Workstation

Oracle Linux (OL, formerly known as Oracle Enterprise Linux) is a Linux distribution packaged and freely distributed by Oracle, available partially under the GNU General Public License since late 2006. It is compiled from Red Hat Enterprise Linux (RHEL) source code, replacing Red Hat branding with Oracle’s. It is also used by Oracle Cloud and Oracle Engineered Systems such as Oracle Exadata and others.

Potential users can freely download Oracle Linux through Oracle’s E-delivery service (Oracle Software Delivery Cloud) or from a variety of mirror sites, and can deploy and distribute it without cost. The company’s Oracle Linux Support program aims to provide commercial technical support, covering Oracle Linux and existing RHEL or CentOS installations but without any certification from the former (i.e. without re-installation or re-boot). As of 2016 Oracle Linux had over 15,000 customers subscribed to the support program.

Oracle Linux, like CentOS and Scientific Linux, is a binary clone of the Red Hat Enterprise Linux (RHEL) distribution. In this relationship Red Hat is known as the upstream vendor. What does this mean? These groups download the RHEL source code, remove trademarks, compile it, create a distribution and allow you to downloads and use it for free. This is perfectly legal because the software that makes up this Linux distribution is covered by an assortment of open source software licences, including GPL. Indeed, without the these open source software licenses RHEL would not exist as it is the reason Red Hat can legally create their distribution, since they are not the originators of all of this code.

VMware Workstation is a virtual machine software that is used for x86 and x86-64 computers to run multiple operating systems over a single physical host computer. Each virtual machine can run a single instance of any operating system (Microsoft, Linux, etc.) simultaneously. VMware Workstation strongly supports hardware compatibility and works as a bridge between the host and virtual machine for all kinds of hardware resources including hard disks, USB devices and CD-ROMs. All device drivers are installed via the host machine.

VMware was established in 1998 and has produced many products for virtualization. VMware Workstation was launched by VMware in 2001.
VMware Workstation allows for the installation of multiple instances of different operating systems, including client and server operating systems. It helps the network or system administrators to check, test and verify the client server environment. Administrator can also switch between different virtual machines at same time.
VMware Workstation has its limitations, including hardware support, operating system issues, and network protocols hurdles.

VMware Workstation is the wildly popular software which facilitates creating and operating virtual machines or VM’s right on your x86 based laptop or desktop computer.

Oracle Linux is pretty much the same as any other installation. Download the ISO, burn the ISO onto a USB drive, boot from the USB drive, and click the Install icon.

Now you can find some examples in this video.

Please subscribe to support our channel.
To be aware of our new videos please subscribe our channel.

Источник

Creating a VMware Workstation For Oracle Database Installation

Andy Kerber, Senior Consultant In this article we are going to cover how to create a VMware workstation to be used to install the Oracle database software. We are going to use VMware workstation 12, and Oracle Enterprise Linux 6.7. Please note that VMware workstation is absolutely not suitable for true business applications. While it can be very useful for learning Oracle methods and techniques, it is absolutely not suitable as an enterprise (or even small business) platform for Oracle. This article assumes that you have VMware workstation properly installed on your PC. The minimum hardware I recommend for VMware workstation is 16G RAM, 2 TB HD, and a quad core processor. My laptop has 32G RAM and my desktop has 64G RAM. Remember that you will need to run both, in order to use this virtual machine and still be able to do your regular work, so sufficient resources are critical. The first step is to create an account on the Oracle web site. Proceed to oracle.com, and choose Sign In/Register to create an account. No payment is required.

Step 1: Download the Oracle Enterprise Linux software

After creating an account, proceed to eDelivery.oracle.com to download the Oracle Enterprise Linux software: Oracle-LinuxFrom there, sign in and proceed to the next screen: Oracle-Linux-2Choose your product, and select the platform. Oracle-Linux-platformOEL 7.1 will come up as the default, choose a different version and select version 6.Oracle-Linux-6-7
For installation, the best choice is the just the OEL 6.7 DVD, V77197-01.iso S1_File-Download S1_File-Download-2Once the download is complete, you can begin the creation of your virtual machine. It does not download as a zip file, so it is not necessary to extract any files.

Step 2: Create the Virtual Machine

Start the wizard by choosing, File->New Virtual Machine in the VMware menu. Choose a custom VM. S2_New-Virtual-MachineHardware compatibility isn’t particularly critical, but choosing the most recent version is best. S2_Virtual-Machine-HardwareNext, when it comes to guest operation system installation, choose the Installer disc from disk image file. Point this to the OEL installation ISO you just downloaded. S2_Virtual-Machine-WizardChoose a virtual machine name. This is just the name that you will see on the VMware workstation menu, so the name you choose is not critical. S2_Virtual-Machine-Wizard2Since this is on your personal computer, you do not want to dedicate a lot of resources to it. Therefore, one processor is appropriate. S2_VM-Processor-ConfigFor an Oracle installation, 8G RAM is really the minimum in order to get enough performance to do any kind of work at all. S2_VM-MemoryIf you have a home router, it is often best to use bridged networking so you can make sure that your test Oracle server has the same IP address all the time. If you are not concerned about this, you can use NAT. S2_VM-Network-TypeChoose the default controller. S2_VM-Controller-TypesSelect the disk type of SCSI. S2_VM-Disk-TypeNormally you will create a new virtual disk. S2_VM-Select-Disk40G is the absolute minimum size for the installation. Remember you will need space for the Oracle binaries, swap space, temp space, and the Linux operating system. Therefore for best performance, allocate all disk space upon creation. Otherwise substantial time will be spent whenever the disk needs to expand. S2_VM-Specify-DiskMake sure that there is sufficient space on your hdd for the virtual disk (VMDK). S2_VM-Specify-Disk2Review the configuration data, and proceed to create the virtual machine. S2_VM-CreateThere will be a substantial waiting period as the hard disk is pre-allocated. S2_VM-Create2Once the disk space is allocated, the VM will boot from the OEL ISO image specified earlier. S2_VM-Create3

Step 3: Install the Oracle Enterprise Linux Software

Please note that with Enterprise level systems, normally this software will be installed using a puppet (or similar tool) to ensure that each installation is the same. This manual method should be used only for this sort of personal installation. S3_Oracle-Linux-6On the next screen, it is safe to skip the media test. Note that the mouse will not work on this screen, so you will need to use the tab and space bar or tab and enter key. S3_Disc-FoundOn the next screen, the mouse will work again, so use it to choose ‘next’. S3_Oracle-Linux-6-2On the next two screens, choose ‘English’, then ‘US English’. S3_Oracle-English S3_KeyboardOn the next screen, choose basic storage devices. S3_Basic-StorageIf you get the message below, ignore it and discard the data. Any data on the VMDK is just blank disk space that once had valid data on it. S3_Storage-DeviceOn the screen below, choose an appropriate name. Then choose configure network. S3-HostnameClick on the Ethernet device, and choose edit. S3_Network-ConnectionsIf necessary, set the IPV4 settings, and check the ‘Connect automatically’ and ‘Available to all users’ boxes. Then click apply. S3-Editing-SystemOn the next screen, choose your time zone. I am in the central time zone, so I chose America/Chicago. S3_Time-ZoneChoose a root password that you will remember and write it down. S3_Root-PasswordOn the following screen, choose ‘use all space’, and make sure that the ‘review and modify partitioning layout’ box is checked. The partitioning must be modified for an Oracle installation. S3-Use-All-SpaceOn the screen below, ensure that you have at least 8G swap. Note that if you have more than 8G RAM, swap should equal RAM up to 16G. At 16G RAM and more, only 16G swap is required. S3-Select-DeviceClick next and write changes to disk. S3-Select-Device-2Accept the defaults on the following page. S3_Install-Boot-LoaderOn the next screen choose database server, click on the customize now radio button, and then click next. S3-DB-ServerWith servers highlighted, choose the packages shown on the right. Click on the ‘optional packages’ button. S3-Server-PlatformUnder optional packages, choose the packages below. This will make your eventual Oracle installation much easier. S3-Packages_SysAdminNext, under Desktops, choose the items shown on the right: Desktop, Desktop debugging and performance, Desktop Platform, fonts, general purpose desktop, graphical administration tools, and X-Windows system. S3_Desktop-Platform S3-Desktop_Windows-SystemsNext, the system will be configured and your chosen packages will be installed. S3_Install-PackagesWhen installation is complete, you will be prompted to reboot the system. S3_Reboot-SystemNext, it will take you through a few more steps in order to complete installation. S3_Install-WelcomeAfter clicking forward, accept the license if you choose (of course you cannot proceed until you accept it). S3-Install_License-InfoNext comes the software updates setup screens. If you have purchased Oracle Enterprise Linux you can enter that information at this time. If you have not, you will be set up with the public OEL Yum repository by default. S3-Software-UpdatesOracle really wants you to sign up for the OEL network. The last time I checked, it cost about $100/year, so its not necessarily cost prohibitive. However, the price has probably changed since I last checked, so you will need to check with Oracle to confirm the cost if you are interested in paying for a license. S3-firstboot S3_Finish-UpdatesSkip the following screen. The Oracle database packages chosen earlier will create the Oracle user, and this article will show the activation of the Oracle user. S3_Create-UserFor data and time, choose the network synch option (if this VM will be able to access the internet). Otherwise, you can try synching with your computer (local time source), or just skipping this option. S3_Date-TimeEnable kdump if you choose, and reboot the machine. S3-Kdump S3-Kdump2 S3-Kdump3

Step 4: Complete the VM Configuration for Oracle

  1. Log in as root
  2. Enter the command: passwd oracle
  3. Enter the Oracle password
  4. Reenter the Oracle password when prompted
  5. At this point ,the account is enabled and the Oracle user can log in using the password you provided:
[root@oel64node Desktop]# passwd oracle Changing password for user Oracle. New password: BAD PASSWORD: it is based on a (reversed) dictionary word Retype new password: passwd: all authentication tokens updated successfully. [root@oel64node Desktop]#

Next, still logged in as the root user, install the available updates. To do this, enter the command “yum –y update”. This command will take quite a bit of time to complete as all the available updates are installed.

passwd: all authentication tokens updated successfully.
[root@oel64node Desktop]# yum -y update
Loaded plugins: refresh-packagekit, security, ulninfo

Источник

Читайте также:  Измерить скорость копирования linux
Оцените статью
Adblock
detector