![]() |
|
Mempercepat 'apt-get' dgn Axel - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Operating System (https://hacker-newbie.org/forum-13.html) +---- Forum: GNU/Linux (https://hacker-newbie.org/forum-15.html) +---- Thread: Mempercepat 'apt-get' dgn Axel (/thread-4276.html) Pages:
1
2
|
Mempercepat 'apt-get' dgn Axel - jurank_dankkal - 08-07-2010 =Step 1= instal axel Code: sudo apt-get install axel=Step 2= copy script ne : Code: #!/bin/sh
#apt-fast by Matt Parnell http://www.mattparnell.com , this thing is FOSS
#please feel free to suggest improvements to admin@mattparnell.com
# Use this just like apt-get for faster package downloading. Make sure to have axel installed
#If the first user entered variable string contains apt-get, and the second string entered is either install or dist-upgrade
if echo "$1" | grep -q "[upgrade]" || echo "$2" | grep -q "[install]" || echo "$2" | grep -q "[dist-upgrade]"; then
echo "Working...";
#Go into the directory apt-get normally puts downloaded packages
cd /var/cache/apt/archives/;
#Have apt-get print the information, including the URI's to the packages
apt-get -y --print-uris $1 $2 $3 $4 > debs.list;
#Strip out the URI's, and download the packages with Axel for speediness
egrep -o -e "(ht|f)tp://[^\']+" debs.list | xargs -l1 axel -a;
#Perform the user's reqested action via apt-get
apt-get -y $1 $2 $3 $4;
echo "Done! Make sure and check to see that the packages all were installed properly. If a package is erred, run sudo apt-get autoclean and try installing it again without the use of this script.";
elif echo "$1" | grep -q "[*]"; then
apt-get $1;
else
echo "Sorry, but you appear to be entering invalid options. You must use apt-get and one of apt-get's options in order to use this script.";
fisave dgn apt-fast d'usr/bin/ jd kan file tsb executables Code: chmod +x apt-fastklu smw step beres... jlnkan : sudo apt-fast install nama_file RE: Mempercepat 'apt-get' dgn Axel - cikal - 08-07-2010 waduh lom paham RE: Mempercepat 'apt-get' dgn Axel - jurank_dankkal - 08-07-2010 (08-07-2010, 12:52 AM)cikal Wrote: waduh lom paham blm paham dmn bro? RE: Mempercepat 'apt-get' dgn Axel - Evil Gnome - 08-07-2010 nice share om jurank... you rock RE: Mempercepat 'apt-get' dgn Axel - erwinscot - 08-07-2010 setahu saya "apt-fast" adalah sebuah script mantera menggunakan Axel, baris perintah aplikasi untuk mempercepat - mengakselerasi proses download melalui protokol HTTP atau FTP, dengan menggunakan berbagai sumber untuk satu file, dan bisa digunakan lebih cepat daripada "apt-get" pada distribusi Linux berbasis Debian untuk mendapatkan hasil mengagumkan pada percepatan downloadnya. Mantera ini dibuat oleh Matt Parnell dan mendapatkan perhatian khusus sehingga ada versi baru yang sudah di tweak oleh travisn000. saya pernah membaca hal ini seperti di pc linux keep share bro... RE: Mempercepat 'apt-get' dgn Axel - jurank_dankkal - 08-07-2010 (08-07-2010, 07:20 AM)erwinscot Wrote: setahu saya "apt-fast" adalah sebuah script mantera menggunakan Axel, baris perintah aplikasi untuk mempercepat - mengakselerasi proses download melalui protokol HTTP atau FTP, dengan menggunakan berbagai sumber untuk satu file, dan bisa digunakan lebih cepat daripada "apt-get" pada distribusi Linux berbasis Debian untuk mendapatkan hasil mengagumkan pada percepatan downloadnya. Mantera ini dibuat oleh Matt Parnell dan mendapatkan perhatian khusus sehingga ada versi baru yang sudah di tweak oleh travisn000. saya pernah membaca hal ini seperti di pc linux pas bgt kk.. qw tw dpt info-ny d'malay...
RE: Mempercepat 'apt-get' dgn Axel - ice_newbie - 08-07-2010 Nice Info gan ,,,,,,,,,
RE: Mempercepat 'apt-get' dgn Axel - Sidom - 08-07-2010 oke kk dicoba dlu nice share RE: Mempercepat 'apt-get' dgn Axel - N4is3N - 08-10-2010 axel jg ada yg versi GUI nya RE: Mempercepat 'apt-get' dgn Axel - jurank_dankkal - 08-10-2010 (08-10-2010, 12:35 PM)N4is3N Wrote: axel jg ada yg versi GUI nya boleh mnta link-ny kk.. |