|(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and bastardization of classic Unix
|Oracle Linux Administration Notes
|RHEL6 registration on proxy protected network
Registration requires ULN subscription.
Make access to oracle.com passwordless in your proxy configuration.
enableProxy[comment]=Use a HTTP Proxy
httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.redhat.com:3128
enableProxy[comment]=Use a HTTP Proxy enableProxy=1 writeChangesToLog[comment]=Log to /var/log/up2date which packages has been added and removed writeChangesToLog=0 serverURL[comment]=Remote server URL serverURL=https://linux-update.oracle.com/XMLRPC proxyPassword[comment]=The password to use for an authenticated proxy proxyPassword=xxxxxx proxyUser[comment]=The username for an authenticated proxy proxyUser=your_name versionOverride[comment]=Override the automatically determined system version versionOverride= sslCACert[comment]=The CA cert used to verify the ssl server sslCACert=/usr/share/rhn/ULN-CA-CERT retrieveOnly[comment]=Retrieve packages only retrieveOnly=0 debug[comment]=Whether or not debugging is enabled debug=0 httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.example.com:3128 httpProxy=www-proxy.your-corp.com:8081
To use GUI version:
On Oracle Linux 6 systems:
Follow the instructions on the screen and provide the requested information. up2date will also collect machine information and upload it to our server. Oracles New Linux - Oracle Linux up2date registration contains 17 slides that help to understand registration process
Up2date can be used in command line mode or via a GUI interface, and it can also monitor your system and do downloads and installs packages on its own using it but for the latter purpose yum is a better tool. Please note that Oracle VM only supports the command line text mode. Examples of the most frequently used command line operations are listed later in this document.
Up2date provides an applet for the toolbar, called the Alert Notification Tool, which periodically checks for updated packages and indicates whether there are new RPMs available for download.
In order to use ULN and up2date, users must register their systems with ULN and subscribe to a ULN channel (it is also possible to subscribe to multiple channels at once, see below for details). There are several ULN channels available and one containing the latest version is automatically chosen upon registration depending on the architecture and OS revision of the system to be managed (see below for a detailed description of the ULN channels).
Once started, the up2date program connects to the central ULN server repository and downloads the latest software packaged in RPM format. It then installs such RPMs on the registered machine, maintaining a log. Up2date lets the user choose which packages to update, as it is not necessary that all the newly available packages are installed. Users can get a list of all the available packages and then choose which ones are downloaded. Up2date resolves RPM dependencies for you...
Here is relevant information from Unbreakable Linux Network FAQ (February 11, 2011)
How do I obtain a login for Unbreakable Linux Network (ULN)?
You may register for a ULN account via linux.oracle.com/register You will need the following:
How do I register a machine with Unbreakable Linux Network (ULN)?
- An Oracle.com Single Sign on account. If you don't have one already, the link above will guide you through the steps to create one
- A valid Oracle Linux support or Oracle VM support CSI (customer support identifier). You may purchase Oracle Linux or Oracle VM support via the Unbreakable Linux Store or via your sales representative.
If you are currently running Red Hat Enterprise Linux Server, follow these steps. If you are running Oracle Linux, use the following steps:
When I register, I see the following message, "This system profile has already been registered." What do I do? (Oracle Linux 4 and Oracle Linux 5 only)
- Ensure you have a valid CSI by purchasing a support license via the Unbreakable Linux Store.
- Ensure you have an account on ULN. You may register for a new account via linux.oracle.com/register
- Execute the following command as the root user and follow the directions on the screen
On Oracle Linux 4 or Oracle Linux 5 systems:
- # up2date --registerNote: To use the up2date program in text mode, use this command instead:# up2date --nox --register
On Oracle Linux 6 systems:
- # uln_register
Most likely this means that your server is already registered with ULN. If you'd like to re-register a machine, please log in to ULN via the web interface and delete the system via the Systems tab. If the system you are registering is not already registered, but is a clone of an another system, follow these steps:
When I attempt to register a system via up2date or uln_register using my Single Sign On (SSO) account, I see the following message, "You must enter a valid e-mail address." My SSO account is not an email address, what do I do?
- Run the uuidgen(1) command to re-generate the system UUID - specifying the -r option generates a random UUID, while the -t option generates a UUID based on the system's network card MAC (hardware) address. Record the output of the uuidgen command, e.g.# /usr/bin/uuidgen -r 1c460880-5a10-4d19-a115-5d5d409ace39 OR # /usr/bin/uuidgen -t e65006be-2b31-11dd-8799-00163e39e605
- Using a text editor, open the /etc/sysconfig/rhn/up2date-uuid file and replace the existing value of the rhnuuid parameter with the output of the uuidgen command# cat /etc/sysconfig/rhn/up2date-uuid uuid[comment]=Universally Unique ID for this server #rhnuuid=91d0junk-1538-11db-8f59-123bdba2bb0f rhnuuid=1c460880-5a10-4d19-a115-5d5d409ace39
- Save the changes to the /etc/sysconfig/rhn/up2date-uuid file, then register the system again using the up2date utility - registration should then succeed.
To update your SSO account to a valid email address ready for use with up2date or uln_register:
You may now use up2date or uln_register with your changed SSO username.
- follow these instructions
- Log in to ULN using a web browser
How do I know whether my machine is registered?
To confirm whether your machine is registered, you can use the following command:
On Oracle Linux 3, 4 or 5 systems:I only see one channel after I have registered my system, how can I subscribe to additional channels?
On Oracle Linux 6 systems:
- # up2date --show-channels
You should see output similar to the following:el4_i386_latest
- # yum repolist
You should see output similar to the following:repo id repo name status ol6_x86_64_latest Oracle Linux 6 Latest (x86_64) 8,029
When you register a server, it will be subscribed to a channel that has the latest Oracle Linux packages for the appropriate architecture. To subscribe to additional channels, log in to linux.oracle.com after you register your system. Click on the Systems tab to manage subscriptions for each subscribed server.When I attempt to update my system, I get unresolved package errors, what can I do about this?
This could be caused by any number of issues in the communication between your machine and the ULN servers. One of the main causes could be some stale headers in your machine's up2date cache. This can be accomplished with the following command:
The Alert Notification Tool says that updates are available, but when I click on it to launch up2date, nothing happens, what's wrong? (Oracle Linux 4 and Oracle Linux 5 only)
- For Oracle Linux 3, 4 or 5 systems:# rm /var/spool/up2date/*
- For Oracle Linux 6 systems:# yum clean all
If you have installed Oracle Linux from installation media downloaded from Oracle or installed an earlier version of the Oracle Linux up2date rpm, then the graphical user interface (GUI) version of up2date may not be available. Clicking on the Alert Notification Tool icon at the top of the screen will do nothing until the GUI up2date agent is installed. If you've already registered your server (if not, see the answer to question 2), simply run the following as root to install the latest version of the up2date GUI first:# up2date-nox -uI encounter an SSL error when I try to use up2date. This was working before, what's wrong? (Oracle Linux 4 and Oracle Linux 5 only)
If you encounter the error below, please read this announcementThere was an SSL error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')] A common cause of this error is the system time being incorrect. Verify that the time on this system is correct.How do I configure up2date/yum to use a proxy server?
Oracle Linux 6
If you're using a graphical desktop environment:
At the time of registering the system to ULN using uln_register , press the Advanced Network Configuration button after prviding the account information on Account Information screen. In the next window, use the appropriate fields for your HTTP proxy; if your proxy requires authentication, enter the username and password here. When finished, press the Close button to continue the registration process.If you're in text mode:
At the time of registering the system to ULN using uln_register, use --proxy option specify http proxy to use
# uln_register --proxy=proxy_hostname:port_number
if your proxy requires authentication use additional options --proxyUser and --proxyPassword to specify username and password
# uln_register --proxy=proxy_hostname:port_number --proxyUser=username --proxyPassword=password
Oracle Linux 4 and Oracle Linux 5
If you're using a graphical desktop environment:
If you're in text mode:
- From a terminal, as root, run up2date-config to launch the ULN Configuration tool
- Check the box next to Enable HTTP Proxy
- In the adjacent field, type the name of your proxy server, including port, for example proxy.example.com:80
How do I upgrade my Oracle VM environment from v2.1.5 to v2.2?
- As root, run up2date-config --nox
- Use the numbered menu to change up2date settings as follows:
- Set enableProxy to Yes
- Set httpProxy to the name of your proxy server with port, e.g. proxy.example.com:80
- If your proxy server requires authentication, set proxyUser and proxyPassword also
If you are using Oracle VM Manager to manage your environment, you should upgrade the components of your environment in the following order:
To upgrade each Oracle VM 2.1.5 Server to Oracle VM Server 2.2 follow these steps:
- Upgrade the Oracle VM Manager software from v2.1.5 to v2.2 from the Oracle VM 2.2.0 Installation Media
- Upgrade all of the Oracle VM servers except the Master (see the procedure below).
- Finally, upgrade the Oracle VM server that is the Master server (see the procedure below).
- Install ovm22upgrade package# up2date ovm22upgrade
- Run python script as suggested by the rpm install process# /usr/local/sbin/ovm22upgrade.py
- Upgrade package using following command and reboot the system# up2date -fu
How can I get help?
You can get help in the following ways:
- If you have purchased Basic or Premier support, you may use My Oracle Support (formerly MetaLink) for technical assistance
- If you have purchased Network support, you may discuss technical issues on the OTN Oracle Linux forum or file bug reports using Bugzilla
- For any other questions, please send an email to [email protected]
How do I update a specific package?
After registering and subscribing to required channels, run the following up2date command:
On Oracle Linux 3, 4 or 5 systems:
- # up2date -u <package_name>On Oracle Linux 6 systems:
- # yum update <package_name>
Oracle Linux up2date registration
Unbreakable Linux SupportEnterprise Linux offers an option to keep your operating system upto date with latest operating system patches using up2date. To be able to use this option you need to have Unbreakable Linux Support. For more information please visit http://linux.oracle.com
Note: Prior to using up2date, import the RPM-GPG-KEY for Enterprise Linux: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY
If updating a large number of rpms (e.g. > 1000), be sure to set the 'open files' limit to a higher value to avoid up2date failing with the following error (due to hitting the open files limit):python: ./rpmio_internal.h:525: c2f: Assertion `fd && fd->magic == 0x04463138' failed.
Google matched content
3.5 Registering an Oracle Linux 6 or Oracle Linux 7 System
3.4 Registering as a ULN User
Unbreakable Linux Network Login
Oracle Linux FAQ
Switching from Red Hat Network to Unbreakable Linux Network (ULN)
Unbreakable Linux Network Data Sheet
Unbreakable Linux Network- An Overview White Paper
Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds : Larry Wall : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting Languages : Perl history : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history
The Peter Principle : Parkinson Law : 1984 : The Mythical Man-Month : How to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...
|You can use PayPal to to buy a cup of coffee for authors of this site
Last modified: December 24, 2020