Fix build DirectAdmin: curl: (22) The requested URL returned error: 404

Fix build DirectAdmin dengan keterangan error 404 saat download software Apache, Nginx, LiteSpeed dan software lainnya pada proses build. Contoh tampilan errornya:

curl: (22) The requested URL returned error: 404
safe_download: downloading 'https://files.directadmin.com/services/custombuild/httpd-.tar.gz' to '/usr/local/directadmin/custombuild/tmp/tmp.1sBLouqIb7.safe_download' failed (2/3)

Hal tersebut dikarenakan file /usr/local/directadmin/custombuild/versions.txt terhapus. Berikut cara generate file versions.txt.

Set mirror tercepat

Akses terminal SSH dan eksekusi perintah berikut:

Atur opsi mirror tercepat DirectAdmin

./build set_fastest
./build update

Download script generate versions

Download dan eksekusi scriptnya

cd /usr/local/directadmin/custombuild/wget https://files.directadmin.com/services/custombuild/create_versions.sh
chmod +x create_versions.sh
./create_versions.sh

Ini link Index semua software https://files.directadmin.com/services/custombuild/

Selesai, sekarang bisa ulangi build softwarenya.

Semoga bermanfaat.

Add a comment

Exit mobile version