1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Hands-on Lab: Package Management & Services
Lenz Grimmer, Senior Product Manager, Oracle Linux
2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Preparing for the lab
• Have the Oracle Linux virtual appliance up and running
• Ideally from the initial imported state
• Have a terminal/shell open to enter the commands
• Note: the output of some commands may differ, as the
content of the update repository may have changed
3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Package Management
• Software is delivered in the form of RPM packages
• Split up by functionality (client, server, libraries)
• Oracle Linux uses rpm and yum to manage software
packages
• RPM keeps track of dependencies and conflicts
• Yum provides a more user-friendly frontend to RPM
4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Hands-on lab: Package Management
• Learn the basics about working with RPM and yum on
the command line
• Obtaining information about packages
• Installing/Upgrading installed packages
• Applying security updates
5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Package Management: Related Documentation
• Oracle Linux 6 Administrator‘s Solutions Guide:
http://www.oracle.com/technetwork/server-storage/linux/
documentation/
• Deployment Guide:
http://linux.oracle.com/documentation/
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Hands-on lab: Services and Run Levels
• Oracle Linux uses System V init to start/stop services
• Init scripts in /etc/init.d/ start services at bootup
• The service tool starts/stops services at run time
• The chkconfig tool enables/disables startup of services
• Using Apache httpd as an example
7 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Resources
Join our communities
@ORCL_Linux Facebook.com/ Blogs.oracle.com Oracle Linux YouTube.com/
OracleLinux /linux Experts Group oraclelinuxchannel
Visit
Oracle.com/linux
Download for FREE
edelivery.oracle.com/linux
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.