In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
It's the first time to use Centos 7 Oracle 11g. VNC has used it before but the configuration is not very successful. I came here today and had a good time.
Step 1 configure Centos 7
Download the DVD ISO image directly from the official website of 1.1.Centos 7, and then use the vmware virtual machine to load the image. Centos 7 is very convenient to install. You only need to enter the computer name and user password in the middle, and the rest is installed automatically. And the desktop is also very beautiful.
After the initial installation of 1.2.Centos 7, you need to configure the network. It is best to use the root user login configuration here. The root password is the password configured during installation. The environment I tested has a router to obtain the IP address for DHCP, and the virtual machine network card is in bridging mode. Therefore, the network configuration method is modified as follows: file / etc/sysconfig/network-scripts/ifcfg-eno16777736 (network card name of the virtual machine), where the ONBOOT= ys value
1.3. Centos 7 is a bit special to turn off the firewall of the system.
Systemctl stop firewalld.service# stop firewalsystemctl disable firewalld.service# prevent firewall from starting up
1.4. When you start the VNC server, you may be prompted to report an error as follows. Just install it.
[root@localhost software] # vncserver
Bash: vncserver: command not found...
[root@localhost software] # yum install vnc* (match with * because you can't remember the full name of the server software)
[root@localhost software] # vncserver
You will require a password to access your desktops.
Password: (the password set here is the password that needs to be entered for VNC client connection later)
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1 (1 here is the connection number to be filled in for VNC customer connection)
two。 Install VNC Verview on the client computer and enter the connection information
Here, 192.168.1.121 1 is the server's IP and connection number.
The password here is the password that was set when the vncserver service was first started on the server side.
3. Allocate 2 separate disks ahead of time for the installation of the oracle database and mount them in partition format
[root@localhost ~] # fdisk / dev/sdc
[root@localhost] # mkfs-t ext4 / dev/sdc
[root@localhost] # mount-t ext4 / dev/sdc / oradata
[root@localhost] # mount-t ext4 / dev/sdc / oracle
4. Create users and groups that install and manage Oracle software
[root@localhost ~] # groupadd oinstall
[root@localhost ~] # groupadd dba
[root@localhost] # useradd-m-g oinstall-G dba oracle
[root@localhost ~] # passwd oracle
[root@localhost] # chown-R oracle:oinstall / oracle
[root@localhost] # chmod-R 775 / oracle
5. Start to install the oracle database, the following information is very detailed, I will not icing on the cake
Http://www.cnblogs.com/gaojun/archive/2012/11/22/2783257.html
PS: I'm tired after three nights.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.