[Articles] 12c- install Oracle Linux 6.7 system installation

1 software environment

  • VirtualBox 5.2
  • Oracle Linux 6.7
  • Xmanager Enterprise 5

2 Create a virtual machine

2.1 Global Network Settings

2.1.1 Host Network Settings

[Articles] 12c- install Oracle Linux 6.7 system installation

2.1.2 DHCP server settings

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2 virtual machine settings

2.2.1 New Virtual Machine

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2.2 set the virtual machine memory

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2.3 set the hard disk, the default

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2.4 Select the virtual hard disk file type, default

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2.5 set the virtual hard disk allocation type, default

[Articles] 12c- install Oracle Linux 6.7 system installation

2.2.6 Set file location and size of the hard disk, 50G

[Articles] 12c- install Oracle Linux 6.7 system installation

3 Install Oracle Linux 6.7

3.1 Click Settings and set the card type for the host only

[Articles] 12c- install Oracle Linux 6.7 system installation

3.2 Select storage, file system settings

[Articles] 12c- install Oracle Linux 6.7 system installation

3.3 Click to start the installation interface, enter

[Articles] 12c- install Oracle Linux 6.7 system installation

3.4 skip the media check, enter

[Articles] 12c- install Oracle Linux 6.7 system installation

3.5 Click Next

[Articles] 12c- install Oracle Linux 6.7 system installation

3.6 Choose your language settings, default

[Articles] 12c- install Oracle Linux 6.7 system installation

3.7 Keyboard, default

[Articles] 12c- install Oracle Linux 6.7 system installation

3.8 Select storage devices, default

[Articles] 12c- install Oracle Linux 6.7 system installation

3.9 storage device warnings

[Articles] 12c- install Oracle Linux 6.7 system installation

3.10 Setting the host name

[Articles] 12c- install Oracle Linux 6.7 system installation

3.10.1 Select card, click Edit

[Articles] 12c- install Oracle Linux 6.7 system installation

3.10.2 Configure the card

[Articles] 12c- install Oracle Linux 6.7 system installation

3.11 choose urban settings, Asia - Shanghai

[Articles] 12c- install Oracle Linux 6.7 system installation

3.12 Set the Root user password

[Articles] 12c- install Oracle Linux 6.7 system installation

3.13 Select Installation Type

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14 disk partition settings

3.14.1 Creating storage

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14.2 new partition, disposed swap was 2 times the memory

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14.3 new partition, create / u01, used to install Oracle software, 30G

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14.4 new partition, set the root / partition

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14.5 formatted partition, the setting is completed, the partition is formatted

[Articles] 12c- install Oracle Linux 6.7 system installation

3.14.6 Click Write changes to disk

[Articles] 12c- install Oracle Linux 6.7 system installation

Select Desktop 3.15

[Articles] 12c- install Oracle Linux 6.7 system installation

3.16 select KDE Desktop

[Articles] 12c- install Oracle Linux 6.7 system installation

3.17 installed Linux systems

[Articles] 12c- install Oracle Linux 6.7 system installation

3.18 installation is complete click Reboot

[Articles] 12c- install Oracle Linux 6.7 system installation

3.19 after the reboot into the Welcome screen

[Articles] 12c- install Oracle Linux 6.7 system installation

3.20 accept the agreement, default

[Articles] 12c- install Oracle Linux 6.7 system installation

3.21 choose not to register the software update

[Articles] 12c- install Oracle Linux 6.7 system installation
[Articles] 12c- install Oracle Linux 6.7 system installation

3.22 to complete the update settings

[Articles] 12c- install Oracle Linux 6.7 system installation

3.23 to create a user, by default, temporarily setting

[Articles] 12c- install Oracle Linux 6.7 system installation

3.24 Setting the Date and Time

[Articles] 12c- install Oracle Linux 6.7 system installation

3.25 Kdump settings, uncheck

[Articles] 12c- install Oracle Linux 6.7 system installation

3.26 to complete the installation, enter the login screen

[Articles] 12c- install Oracle Linux 6.7 system installation

3.27 into the system, the end of the whole installation process

[Articles] 12c- install Oracle Linux 6.7 system installation
Note: The first shut down the system, set the boot order options, the hard disk on top, otherwise you will be prompted to re-install the next time you open!
[Articles] 12c- install Oracle Linux 6.7 system installation

4 安装Xmanager Enterprise 5

4.1 After the installation is complete, the formation of directory

[Articles] 12c- install Oracle Linux 6.7 system installation

Linux 4.2 uses SSH connection

[Articles] 12c- install Oracle Linux 6.7 system installation

4.3 Log success

[Articles] 12c- install Oracle Linux 6.7 system installation

4.4 build local yum repository

4.4.1 Mount image file

[root@strong ~]# mount /dev/cdrom /mnt/
mount: block device /dev/sr0 is write-protected, mounting read-only

Note that, the system checks whether the ISO file in the optical disk drive, there is no, then added to it

4.4.2 Change directory

[root@strong ~]# cd /etc/yum.repos.d/

4.4.3 Check the directory of yum repository files, using public-yum-ol6.repo default repository

[root@strong yum.repos.d]# ls
public-yum-ol6.repo

4.4.4 delete the repository file, rename here, so do not use the yum repository

[root@strong yum.repos.d]# mv public-yum-ol6.repo public-yum-ol6.repo.bak

4.4.5 Editing yum repository

[root@strong yum.repos.d]# vim server.repo
[server]
name=Oracle Linux
baseurl=file:///mnt/
gpgcheck=0
enabled=1
[root@strong yum.repos.d]# yum clean all
[root@strong yum.repos.d]# yum list

5 Basic Linux operating

5.1 file and directory operations

  • cd: Change directory;
  • ls: lists the file list;
  • touch: create a file;
  • cp: copy files;
  • mv: rename, move file;
  • rm: delete the file;
  • mkdir: create directory;
  • rmdir: delete the directory;
  • stat: view the file statistics;
  • file: Check file types;
  • cat / more / less / head / tail: view the file contents;

5.2 absolute path & relative path

  • Absolute file path: Define the exact location of the directory in the virtual file structure to the root virtual directory for the opening;
  • Relative file path: Specifies the target file path relative to the current location, no need to start from the root directory;
  • (.) Point: the current directory;
  • Double-dot (..): indicates the parent directory;

5.3 disk operations

  • mount: the media is mounted;
  • umount: Uninstall the media;
  • df: Check disk space;
  • du: Check the directory space;

5.4 vim operation

  • Normal mode -> Insert Mode: i o or a bond;
  • Insert Mode -> Normal mode: ESC key;
  • q: exit;
  • q !: forced to quit without saving;
  • wq: Save and exit;
  • x: delete the character at the current cursor position;
  • dd: Delete the line current cursor position;
  • dw: Delete the word the current cursor position;
  • d $: Delete the current cursor position to the end of the line for all content;
  • a: the data is appended to the current cursor position;
  • A: A is attached to the data line after the current cursor location;

5.5 RPM and YUM

  • RPM:Redhat Package Manager;
  • YUM:Yellow dog Updater, Modified;

Guess you like

Origin blog.51cto.com/765773/2406262