CentOS6.5 32-bit installation of Oracle, ArcSde, Apache and other detailed configuration instructions, centos6.5arcsde
CentOS6.5 32-bit installation of Oracle, ArcSde, Apache and other detailed configuration instructions
I.Installation preparation
1.1 installation environment
Type |
Version |
Remarks |
Local OS |
64-bit windows 10 Professional Edition |
|
VMware Workstation |
VMware Workstation 12 Pro |
|
CentOS |
CentOS-6.5-i386-bin 32bit |
|
Oracle |
Oracle-11gR2-32bit |
|
ArcSde |
ArcSde |
|
Note: The CentOS, Oracle, and ArcSde versions must correspond to each other.
1.2 knowledge reserves
(1) familiar with Linux commands;
(2) familiar with Shell scripts;
(3) familiar with common SQL statements;
(4) familiar with other computer knowledge.
1.3 adherence to principles
(1) follow the installation sequence;
(2) Each software installation requires testing and verification;
(3) set an easy-to-remember user and password.
II.Install CentOS6.5-32bit
2.1 install CentOS
2.2 set CentOS screen resolution
2.3 set Network Configuration
2.3.1 Modify host name
2.3.2 modify the network configuration file
2.3.3 restart the network service
2.3.4 open a webpage to view Network Connections
Iii. Install Oracle
3.1 create an Oracle Installation user group and User Account
3.2 kernel modification support
Kernel Parameter configuration instructions:
Kernel. shmall = 10523004 # Total number of pages of shared memory available to the system
Kernel. shmmax = 6465333657 # maximum size of a single shared memory segment
Kernel. shmmni = 4096 # maximum default number of shared memory segments
3.3 Modify file descriptor
3.4 modify login authentication module
3.5 modify the local hosts file
3.6 modify Oracle user environment variables
3.7 disable SELINUX
3.8 disable Firewall
3.9 view memory partitions
If not, allocate memory.
3.10 download and install the dependent libraries (Network Environment)
3.11 download and install and configure FTP
3.12 install Oracle
3.12.1 unzip the installation package
3.12.2 install Oracle
3.12.3 run the script
3.13 test Oracle
3.14 Oracle self-launch settings
3.14.1 modify ORATAB under the ROOT user
3.14.2 modify dbstart and dbshut for ORACLE users
3.14.3 create a script file for automatic Oracle startup and Shutdown under ROOT
3.14.4 modify the Script File Permission
3.14.5 Enable script oracle File
3.14.6 view the auto-launch Effect of Oracle
3.14.7 connect the Oracle client to the database
Note:
(1) whether or not the Database Listener is enabled. If it is enabled, you can delete the listener and add it again;
(2) Whether the configuration information is correct (username, password, role, host name, port, SID ).
4.Install ArcSde
4.1 start database listening
4.2 open a database
4.3 run the SQL script
4.4 install Oracle
4.5 modify configuration file Parameters
4.5.1 service port list
4.6 check Dependencies
4.6.1 check whether the environment variable configuration takes effect
4.6.2 download Dependencies
4.6.3 Modify permissions
4.7 create a service
4.8 register SDE
4.9 start the SDE Service
4.10 view the SDE startup status
4.11 ArcCatalog10 remote connection to SDE
4.12SDE self-starting
4.12.1 modify the Oracle configuration file
4.12.2 write service scripts
4.12.3 Modify permissions
4.12.4 start and close the database
4.12.4.1 start the database at system startup
4.12.4.2 shut down the database upon restart
4.12.5 restart the system to verify that SDE and database are started
Solution: Delete the Listener Configuration and then add the listener.
5.Apache configuration
5.1 check the httpd package
5.2 start httpd
5.3 modify httpd Configuration
5.4 restart httpd
5.5 view Apache results
6. Tomcat installation
6.1 set the Java environment and Path
6.2 copy a file
Go to the/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45 path and copy the bin and lib under jre to the java-1.7.0-openjdk-1.7.0.45.
6.3 decompress
Copy the Tomcat package (apache-tomcat-5.5.27.tar.gz) to the installation directory (in this example,/GeniusWorld), decompress the package: select the Tomcat installation package, right-click the menu, and select "Extract Here" to decompress the installation pack. In this example, the directory is/GeniusWorld/apache-tomcat-5.5.27.
6.4 start and close Tomcat
Sh file is not authorized. solution:
6.5 test Tomcat
6.5.1 Test Problem Analysis
(1) Whether the httpd service is enabled
(2) Whether Tomcat is enabled
(3) Whether the Tomcat port is in conflict
6.5.2 test results
6.6 self-starting Apache and Tomcat
VII. File Sharing
Samba is an implementation method of SMB. It is mainly used to implement file and print services in Linux. Linux users can use the Samba server through configuration to share resources with Windows users. The Daemon smbd and nmbd are the core of Samba and run all the time; the nmbd program allows a computer to browse Linux servers.
7.1 install Samba
7.2 set Samba startup
7.3 create an smb User to access Linux shared files
7.4 configure the samba. conf file
7.5 set Samba to pass the Firewall
7.6 disable SELINUX
7.7 restart the system
7.8 view the shared file Effect
7.8.1 start Samba
7.8.2 Ping to view the connection status
7.8.3 file sharing Effect
Start the Run window with win + R on the local machine, enter \ 172.30.17.221 and click OK. A login window will pop up, with an IP address at the top and a username and password input box in the middle; enter the username "smb" and password in the logon box to connect.