I created an .rpm file in, /etc/yum.repos.d/
The content of kix.repo is:
Code: Select all
[kix]
name=kix repo
baseurl=file:///home/kix/rpm
enabled=1
gpgcheck=0
Code: Select all
cp media/centos_update/Packages/* /home/kix/rpm/centos/
An empty folder titled ‘repodata’ is created at, /home/kix/rpm/
I follow the guide’s (link) step of assigning root ownership to the kix/rpm folder
Code: Select all
chmod -R o-w+r /home/kix/rpm/repo
Code: Select all
yum install jaxen-1.1.3-11.el7.noarch.rpm
Code: Select all
[root@myserver centos]# yum install jaxen-1.1.3-11.el7.noarch.rpm
Loaded plugins: fastestmirror, langpacks
Examining jaxen-1.1.3-11.el7.noarch.rpm: jaxen-1.1.3-11.el7.noarch
jaxen-1.1.3-11.el7.noarch.rpm: does not update installed package.
Error: Nothing to do
Code: Select all
ln -s /var/www/html/repo /home/kix/rpm/
ls –la, also confirms it:
Code: Select all
total 276
drwxr-xr-x. 3 root root 20 Sep 9 19:59 .
drwxr-xr-x. 5 root root 50 Sep 8 12:30 ..
drwxr-xr-x. 4 kix kix 221184 Sep 8 12:03 centos
I type the following into firefox and chromium
http://myrpmweb/rpm
http://myrpmweb/repo
http://myrpmweb/centos
I get: Not Found message, saying requested url not found server.
Also while in non-root administrator account, only the first 2 lines/statements are visible:
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#192.168.1.174 myserver.server.home ipaserver
192.168.1.174 example.com
192.168.1.174 myrpmweb
~
May someone please tell me the next best step to resolve this issue?