Manuals/repoinstall: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:


one program per line, that's it. you can now point APT to your own server using apt -s or point other people to it.
one program per line, that's it. you can now point APT to your own server using apt -s or point other people to it.
it doesn't matter what kind of webserver you are running, <u>as long as http.get() can access the files it will work</u>





Revision as of 02:06, 25 September 2024

users can host their own file repository, this allows them to share their own programs with the world wide web! this manual shows you how

You will need to host a real webserver for APT to funtion, it uses HTTP.


downloading a base

download a version of the repository files here

for a clean repository (empty)use the "minuxrepository.minimal.rar" archive. for a full primary server download a stable version.


Installing the files

create a folder to host the repository in your webserver's webroot., extract the files.

now edit "manifest/APT.db",make sure the first line states "AIF" and add your available programs to this list followed by "-" and then a short description of the program.

one program per line, that's it. you can now point APT to your own server using apt -s or point other people to it.

it doesn't matter what kind of webserver you are running, as long as http.get() can access the files it will work


what URL to point apt -s at?

in the primary server's case, you have "https://minux.vtchost.com/apt/", if you browse to there you'll see "manifest" and "repository", you'll also see those folders in the archive you downloaded, where you extract this and manifest and repository split, THAT is the start of the repostory.

so the URL that leads to that, that's what you feed to apt -s.

hosting such a repository on your own pc/network will still work for any computer in your network even if you don't have access to the internet, you can still use this to host your own private testserver, it's very usefull for development.