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 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

<VirtualHost _default_:80>
    ServerAdmin root@localhost
    ServerAlias localmirror.server
    DocumentRoot /var/www/tps_mirror
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:
name=Intranet Repo: LTPS mirror
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.