Oracle 11g one Oracle Linux 6.5 installation

Source: Internet
Author: User
Tags create directory parent directory

1. Prepare the installation files
VirtualBox-5.2.8
Oracle Linux 6.5 iso image file
Xmanager5


2. Create a virtual machine

VirtualBox-5.2.8 installation skipped

2.1 Set the global IP in the Host network Manager, menu management, and set the same network segment as the host IP. Here you choose the connection mode of host-only.


2.2 Creating a new virtual machine

Menu New

2.3 Allocating memory

A single instance, two G is all you can do.


2.3 Allocating disks


2.4 Select the disk type, default


2.5 Allocating disk size


Three-install Oracle Linux 6.5

3.1 Setting up a virtual machine network


3.2 Select storage, set file system

Select the ISO image file for Oracle linux6.5 and click OK


3.3 Start the virtual machine, select the first item


3.4 Select Skip Skip Media check

Select OK

3.5 Select Next

3.6 Select language, English is the default

Select keyboard, default U.S. English can

3.7 Select storage device, default

The following message indicates that you want to empty the disk and prepare for the formatted disk

3.8 Setting the host name


3.9 Select Network card editing


3.11 Selection of urban settings, Asia-Shanghai


3.12 Setting the root user password


3.13 Select the installation type


3.14 Disk partition settings

3.15 setting swap partition Swap

Twice times the size of memory

3.16 Create/u01 for Oracle installation, size 30g


3.17 creating the root partition, using the remaining storage space


3.18 Formatting the disk


3.19 Select Desktop


3.20 Installing the Linux system


3.21 Click Reboot to enter the Welcome screen

The first two steps default, the third step is to select not to register for software updates


3.22 Creating a user Skip

3.23 Set date and time default, last step kdump default

3.24 Enter the system installation end.

In the host, test whether to ping the virtual machine.

Set the system boot order for the virtual machine: The hard disk is the first bit


Four-mount Xmanager Enterprise 5

Installation skipped

1. Open Xshell

2. Connect to Linux using SSH

3 Building a Yum Warehouse

3.1 Check whether the system's ISO file is in the optical drive, not add it, or the first step in the image file will be error


3.2 Mount image file

[Email protected] ~]# mount/dev/cdrom/mnt/

Mount:block Device/dev/sr0 is write-protected, mounting read-only

--Switch directories

[Email protected] ~]# cd/etc/yum.repos.d/

[[email protected] yum.repos.d]# ls

Public-yum-ol6.repo

---When creating a Serve.repo file, modify the name of the. repo file in the file directory, because Linux defaults to not

--Create the Serve.repo to find. Remove Public-yum-ol6.repo so that Yum does not use the default repository

[Email protected] yum.repos.d]# MV Public-yum-ol6.repo Public-yum-ol6.repo.bak

--Create Server.repo, and edit

[Email protected] yum.repos.d]# vim Server.repo

[Server]

Name=oracle Linux

baseurl=file:///mnt/

Gpgcheck=0

Enabled=1

[email protected] yum.repos.d]# Yum Clean all

Loaded Plugins:refresh-packagekit, security

Cleaning Repos:server

Cleaning up everything

[email protected] yum.repos.d]# Yum list

5 Installing the Virtual terminal xterm

[email protected] yum.repos.d]# Yum install xterm

[email protected] yum.repos.d]# Yum install Xclock


Five basic Linux operations

1 File and directory operations

    • CD: Switch directory;

    • LS: Lists the list of files;

    • Touch: Create a file;

    • CP: Copy files;

    • MV: renaming, moving files;

    • RM: Delete files;

    • mkdir: Create directory;

    • RmDir: Delete directory;

    • Stat: View file statistics;

    • File: View files type;

    • Cat/more/less/head/tail: View the contents of the file;

2 absolute Path & relative path

    • Absolute file path: Defines the exact location of the directory in the virtual file structure, starting with the root of the virtual directory;

    • Relative file path: Specifies the destination file path relative to the current location, without starting from the root directory;

    • Point (.): Indicates the current directory;

    • Two-point (.. ): Represents the parent directory;

3 disk operation

    • Mount: Mount Media;

    • Umount: Unloading media;

    • DF: View disk space;

    • Du: View directory footprint;

4 VIM operation

    • Normal mode---insert mode: I or O key;

    • Insert mode--Normal mode: ESC key;

    • Q: Exit directly;

    • q!: Forced exit, not save;

    • WQ: Save and exit;

    • X: Delete the character at the current cursor position;

    • DD: Deletes the line at the current cursor position;

    • DW: Delete the word at the current cursor position;

    • d$: Deletes all the contents of the current cursor position to the end of the line;

    • A: Append the data to the current cursor position;

    • A: Append data to the line following the current cursor position;

5 rpm and Yum

    • Rpm:redhat package Manager;

    • Yum:yellow dog Updater, Modified;







Oracle 11g one Oracle Linux 6.5 installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.