-
Notifications
You must be signed in to change notification settings - Fork 101
/
README
26 lines (17 loc) · 1.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
apt-s3
------
additional "s3" protocol for apt so you can host your giant apt repository in s3 on the cheap!
Author: Kyle Shank
We use this for pressflip.com to deploy and distribute all of our software. apt is a great packaging system and s3 is a great place to backup/store static files. apt-s3 is especially useful and fast if you are hosting your servers within EC2.
THIS NEEDS MORE DOCUMENTATION OBVIOUSLY
TODO
----
* Makefile
* Package up binaries
* Include uploader script to get repository into s3 bucket
* Explain this a little more
This has to be compiled with the source version of apt.
Once compiled, the resulting s3 binary must be placed in /usr/lib/apt/methods/ along with the other protocol binaries.
Finally, this is how you add it to the /etc/apt/sources.list file:
deb s3://AWS_ACCESS_ID:[AWS_SECRET_KEY_IN_BRACKETS]@s3.amazonaws.com/BUCKETNAME prod main
Simply upload all of your .deb packages and Packages.gz file into the s3 bucket you chose with the file key mapping that matches the file system layout.