Personal Software Repository

If your Linux TPS boxes are sitting in the net without an access to Internet and you want to be able
to update some software packages from time to time you can create a local software mirror for Tibbo repository.

Next steps are for Linux users only

Run Linux commands shown below to create mirror directory and put the repository contents: root@tpp:~# mkdir /var/www/tps_mirror && cd /var/www/tps_mirror root@tpp:~# wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://tibbo.com/downloads/LTPS/repo/ The local mirror will be created in /var/www/tps_mirror path.

Install Apache Web-server and add to configuration file:
<Directory "/var/www/tps_mirror">
    Options All Indexes MultiViews FollowSymlinks
    AllowOverride All
    Require all granted
    DirectoryIndex disabled
    IndexOptions FancyIndexing FoldersFirst SuppressIcon
</Directory>

<VirtualHost _default_:80>
    ServerAdmin root@localhost
    ServerName 192.168.75.150
    ServerAlias localmirror.server
    DocumentRoot /var/www/tps_mirror
</VirtualHost>
Apache configuration file is usually /etc/apache2/httpd.conf or /etc/apache2/apache2.conf.
Restart Apache.

Your repository server is ready.
Add it as the installation/upgrade source into your Linux TPS (using CLI).
Login to your LTPS box, and create file "/etc/yum.repos.d/localmirror.repo" with contents:
[intranet-downloads-LTPS-repo]
name=Intranet Repo: LTPS mirror
baseurl=http://localmirror.server/
gpgcheck=0
Remove default /etc/yum.repos.d/oe-remote-repo-downloads-LTPS-repo.repo file or change its priority/enabled/cost flag (described in DNF documentation).
Run command root@tpp:~# dnf makecache --refresh
Repository list and package index will be updated.