- Prepare a new VPS (virtual private server) and ensure the Ubuntu 18.04 or Ubuntu 20.04 has been installed.
- Login to the mirror server.
- Ensure the
git
command has been available. - Clone this repository with
git
command then runcd mirror-kickstarter/
. - Run
./mirror-kickstarter.sh
shell script to setup the environment. - Create a
mirror.config.php
file on the current working directory. And it's the same directory as the./mirror-installer.sh
file. - Run
./mirror-installer.sh
shell script to setup the Packagist mirror repository.
- Run the
./mirror-debugger.sh
shell script.
- Run the
./mirror-updater.sh
shell script.