Oracle Linux 7 repository to update channels in Spacewalk - linux

I've been deploying VMs with kickstart files and OSes like CentOS7 and Oracle Linux 7 in Spacewalk, I even update the VM with a yum update in the post installation kickstart script, which is amazingly cool. After installation though, it doesn't really keep up to date with the latest version of the operating system, I'd have to download and upload the .ISO to Spacewalk every time an update comes around or do a yum update on the VM itself. Then I found out you can link and schedule an OS repository. I already have a setup of this kind for CentOS7 in Spacewalk.
This works for me:
CentOS7 repository for spacewalk channel example
The link to the CentOS7 repo
However, I haven't found any public repos for OL7. Does this kind of repo simply not exist for Oracle Linux 7?
Also, is there perhaps a better solution to this problem? I'm planning on using Puppet with this setup for the software aspect.
Thanks in advance.

From: Oracle® Linux Administrator's Guide for Release 7
https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-downloading-yum-repo.html
2.3 Downloading the Oracle Linux Yum Server Repository Files
Note
The following procedure assumes that yum on your system is configured to expect to find repository files in the default /etc/yum.repos.d directory.
To download the Oracle Linux Yum Server repository configuration file:
As root, change directory to /etc/yum.repos.d.
cd /etc/yum.repos.d
Use the wget utility to download the repository configuration file that is appropriate for your system.
wget http://yum.oracle.com/public-yum-release.repo
For Oracle Linux 7, enter:
wget http://yum.oracle.com/public-yum-ol7.repo
The /etc/yum.repos.d directory is updated with the repository configuration file, in this example, public-yum-ol7.repo.
You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 as required.

Oracle provides publicly accessible yum repos at yum.oracle.com. They even have their own build of Spacewalk available to customers.
Further, I added ULN support to Spacewalk a while ago, so you can configure it to sync content from ULN if you're a customer. See the Oracle Spacewalk Client Life Cycle Guide for more info: https://docs.oracle.com/cd/E52668_01/E71078/html/swk24-crreposwc.html

Alright REW and Djelibeybi both gave me good answers, instead of using the repo file though I opten to fully use Spacewalk and use the links in the repo file to update the channel. In hindsight I can't believe I didn't come up with this sooner because I knew of the yum public file.
The link to repo file was wrong,
I instead should have just used the links in the repo file to create multiple Spacewalk Channel repositories.
Thank you all, I'm very happy with this solution.

Related

shell script for oracle installation in linux

I want to install oracle 12.2 in centos 7 and there is 10 machine in my environment.
is there any shell script for oracle installation in centos 7?
path is /home with default permission.
Thanks you!
You can install the first one manually using the standard installer. Once that is done, the install also supports a "clone existing" function either on the same machine or a different one. This ensure that the various inventory metadata details are captured, which is needed as well as the binaries in the ORACLE_BASE folder.
Examples on cloning and the steps needed are at:
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ssdbi/cloning-an-oracle-home.html#GUID-494E59C3-C381-4A35-8ABE-F6E5DBF29032

Downloading debian Neo4j version from Windows

I'm trying to download the Debian Neo4j version from a Window 7 machine. I'm not managing to find the URL in order to download the package/file . I have installed the GOW software for some linux commands.
Any assistance would be appreciated.
Update
I found this link - https://neo4j.com/download/other-releases/ . Know I need to figure out what is the best file to download in order to install it on an Ubuntu Machine
You've got two options :
If you've got access to the package repository (from your Ubuntu machine), follow the information in https://neo4j.com/docs/operations-manual/current/installation/linux/debian/ to install it as a package. That's the best option which also provides start/stop scripts, a user that runs Neo4j (neo4j) and also allows for easier upgrades.
If you can not reach the internet from your Ubuntu machine (as could be deduced from the way you're trying to do it, the zip (or tar.gz for Linux) download is the way to go. You can find that at http://info.neo4j.com/download-thanks.html?edition=community&release=3.2.3&flavour=unix
Hope this helps.
Regards,
Tom

Is it possible to install JBoss Fuse 6.3 on Linux (Ubuntu 16.04.1 LTS)?

I have gone through the JBoss FUSE guide in official guide but I could not see any details regarding capabilities of install FUSE in Linux server. Have any one try this before? I have not seen any document regarding this, Appropriate if some experienced person provide feedback about this.
Is it possible to install the FUSE in Linux server for example Ubuntu 16.04.1 LTS ? If it's possible is there any reference document guideline ?
Yes it's possible to run the FUSE on linux without any issue. Only thing is it is required to install JDK and its better to have maven installed in your PC as well.(Note that path variable needed to be updated after install JDK and maven). If you haven't install please go through following guide lines.
01) Install JDK in linux
02) Install maven in linux
After you installed those two then you need to download the relevant zip file from JBoss Fuse official site. Then extract the zip file in to desired location. (This location can be any place you want to install in folder structure)
Open the command line and go to bin folder on extracted folder.
then Type following command and press enter
./fuse
As show on below image
Then you will see similar interface to below(Usual fuse loading interface ).
Since there is not much dificulties on this I don't think there will be any documentation regarding this. I believe this steps will help you to setup JBoss Fuse in linux environment.

Does Gitlab comes with a windows client?

Does gitlab has its own windows client or does it support any other compatible windows client ? if so, could you please help with the same.
Thnks in advance for any help.
I use msys2.org and it works like a charm with GitHub, GitLab and BitBucket.
When you run the msys2 console for the first time, issue:
pacman -Syu git
This will update the system and install a fresh copy of git.
pacman is a powerful package manager and you may discover more potentially interesting packages with:
pacman -Ss <search string>
Note that git is a standard for source control (like SVN). In so far as a service claims it is git based, it must work with a git client. However, companies hosting the git server usually offer other services too: release repositories, continuous integration/delivery, wiki pages etc. These are not part of the git standard and therefore might require additional client software.

Update RHEL 5.1 to 5.4

I have a server currently running RHEL 5.1, and I would like to upgrade it to RHEL 5.4. The server is not connected to the Internet, so I don't think I can use "yum update".
How would I be able to upgrade my server, and is it just a small-scale upgrade, like Windows patches, leaving everything on the server intact, or would it delete everything that was on the server?
Thank you.
Regards,
Rayne
I haven't actually tried this myself, but you should be able to use an installation disc for RHEL 5.4 to upgrade even if you are off-line (although you'll need to get on-line somewhere to download the disk image). Once you have the RHEL 5.4 disc, you should be able to follow the instructions here:
How do I use yum to update or install packages for Red Hat Enterprise Linux 5 from a customized repository?
to update your system. Basically, you create a custom repository on you hard drive with the rpm files from the disk and point yum at it or use the disc directly.
Good luck.
Of course if you can put the server temporarily on-line and just use the on-line repositories, after updating all the packages in your 5.1 distribution, you'll have all the same files as if you installed 5.4. At least that's what I remember happening. I had a 5.0 installation that I kept updated and when I compared them they seemed to be the same as the 5.3 version (current at the time) although during boot, my system said it was still 5.0
Rayne,
I used to work on DOE classified systems that could never touch the public internet. There is a very easy way to do this as mentioned. Just use the ISO as a repo, and for my example to work, it needs to be a DVD image. (The way around that using disk {1,2,3} is to copy the files from each disk onto the local disk or a storage device)
You will need to install createrepo which for me involved two dependencies.
createrepo
deltarpm
python-deltarpm
mkdir -p /mnt/iso/rhel54
mount -o loop /path/to/rhel5.4.iso /mnt/iso/rhel54
cd /mnt/iso
createrepo .
It will look like this:
[root#hostname iso]# createrepo .
44/20586 - rhel54/HighAvailability/Packages/PyQt4-4.6.2-8.el6.x86_64.rpm
Create /etc/yum.repos.d/rayne.repo and add
[Rayne-repo]
baseurl=file:///mnt/iso/
enabled=1
gpgcheck=0
Then run yum update
The update from RHEL 5.1 to RHEL 5.4 is not a small one, not like Windows patches. You can read the release notes, but you will end up with a newer kernel in the end and a ton of updates to the packages. I have not upgraded from 5.X to 5.Y+3 before, it's always been incremental (5.1 to 5.2). At any rate, this should work for you.

Resources