RHEL5.5 install space00001.6

Source: Internet
Author: User
Finally, the spacewalk is installed, and the system is successfully deployed and registered. Next we will record the entire deployment process. We welcome your criticism and correction. The following is taken from the official Spacewalk Website: "Spacewalk is an open-source (GPLv2) Linux system management solution. It is an upstream community project derived from the RedHat Network Satellite (NetworkSatellite) project, spacewalk manages updates to the software content of the RedHat derivative release, such as Fedora,

Finally, the spacewalk is installed, and the system is successfully deployed and registered. Next we will record the entire deployment process. We welcome your criticism and correction.

The following is taken from the official Spacewalk Website:
"Spacewalk is an open-source (GPLv2) Linux system management solution. It is an upstream community project derived from the Red Hat Network Satellite project, spacewalk manages updates to the software content of Red Hat derivative releases, such as Fedora, CentOS, and Scientific Linux. You can use different environments to prepare software content and deploy system updates. It provides a refreshing Web control interface that allows you to view system and software update statuses and start update operations ."
Important features of Spacewalk:
1. system hardware and software information list
2. Install and update software on your system
3. collect and publish your custom software package to the Management Group
4. Prepare your system (via kickstart)
5. Manage and deploy the configuration file to your system
6. Monitor your system
7. Prepare and start/stop/configure a virtual Client
8. Efficient content delivery across multiple geographic locations

Installation preparation:

Rhel 5 system, I am rhel5.5

The server requires Internet access. SELINUX is permissive or enforcing.

# Configure the yum Repository

1. Configure the yum warehouse of the system CD

2. spacewalk server yum Repository

  1. Cat>/Etc/yum. repos. d/spacewalk. repo<<'Eof'
  2. [Spacewalk]
  3. Name=Spacewalk 
  4. # RHEL 5/CentOS 5
  5. Baseurl=Http: // Spaceapps.redhat.com/yum/nightly/rhel/5/?basearch/
  6. # RHEL 6
  7. #Baseurl=Http: // Spaceapps.redhat.com/yum/nightly/rhel/6/?basearch/
  8. # Fedora 14
  9. #Baseurl=Http: // Space316.redhat.com/yum/nightly/fedora/14/?basearch/
  10. # Fedora 15
  11. #Baseurl=Http: // Space316.redhat.com/yum/nightly/fedora/15/?basearch/
  12. Gpgkey=Http: // Space316.redhat.com/yum/rpm-gpg-key-spacewalk-2010
  13. Enabled=1 
  14. Gpgcheck=0 
  15. EOF

3. spacewalk client yum Repository
Cat>/etc/yum. repos. d/spacewalk-client.repo 'eof'
[Spacewalk-client]
Name = Spacewalk
# RHEL 5/CentOS 5
Baseurl = http://spaceapps.redhat.com/yum/nightly-client/rhel/5/?basearch/
# RHEL 6/CentOS 6
# Baseurl = http://spaceapps.redhat.com/yum/nightly-client/rhel/6/#basearch/
# Fedora 14
# Baseurl = http://spaceapps.redhat.com/yum/nightly-client/fedora/14/?basearch/
# Fedora 15
# Baseurl = http://spaceapps.redhat.com/yum/nightly-client/fedora/15/~basearch/
Gpgkey = http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2010
Enabled = 1
Gpgcheck = 0
EOF
 
4. Configure the EPEL yum Repository
# Rpm-Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
 
5. download the following three packages on the Oracle official website. You must register an account and an account to subscribe to www.linuxidc.com.
Address:
* X86_64 = http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
X86 = http://www.oracle.com/technetwork/topics/linuxsoft-082809.html
 
Oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
Oracle-instantclient11.2-sqlplus-11.2.0.2.0.x86_64.rpm
Oracle-xe-univ-10.2.0.1-1.0.i386.rpm,
 
6. Create users and groups used by oracle
#/Usr/sbin/groupadd-r dba
#/Usr/sbin/useradd-r-M-g dba-d/usr/lib/oracle/xe-s/bin/bash oracle
 
 
7. Check whether the following package is installed. oracle-xe requires
# Yum-y install bc libc. so.6 libaio. so.1
 
8. Install oracle-xe
# Yum-y localinstall -- nogpgcheck oracle-xe-univ-10.2.0.1-1.0.i386.rpm
 
9. Install oracle-xez
# Yum-y localinstall -- nogpgcheck oracle-instantclient11.2 -*
 
10.
# Yum-y install oracle-lib-compat
 
11.
Yum-y install oracle-xe-selinux oracle-instantclient-sqlplus-selinux
 
12. initialize the oracle configuration and change the application port from 8080 to 9055. Other Default values:
[Root @ spacewalk ~] #/Etc/init. d/oracle-xe configure
 
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database shocould
Be starting upon system boot, the ports it will use, and the passwords that
Will be used for database accounts. Press Enter> to accept the defaults.
Ctrl-C will abort.
 
Specify the HTTP port that will be used for Oracle Application Express [8080]: 9055
 
Specify a port that will be used for the database listener [1521]:
 
Specify a password to be used for database accounts. Note that the same
Password will be used for SYS and SYSTEM. Oracle recommends the use
Different passwords for each database account. This can be done after
Initial configuration:
Confirm the password:
 
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:
 
Starting Oracle Net Listener... Done
Processing Database... Done
Starting Oracle Database 10g Express Edition Instance... Done
Installation Completed Successfully.
To access the Database Home Page go to "http: // 127.0.0.1: 9055/apex"
 
To reinitialize oracle-xe, run the following command:
# Rpm-e racle-xe-univ
# Yum-y localinstall -- nogpgcheck oracle-xe-univ-10.2.0.1-1.0.i386.rpm
 
13. vi/etc/tnsnames. ora
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = xe)
)
)

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.