Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New mirror repo #71

Closed
1 task done
MyDapitt opened this issue Feb 6, 2024 · 20 comments
Closed
1 task done

New mirror repo #71

MyDapitt opened this issue Feb 6, 2024 · 20 comments

Comments

@MyDapitt
Copy link

MyDapitt commented Feb 6, 2024

Why is it worth to add this package?

Hi, I just created a termux repository mirror. Can you help me add it to the termux-tools package?

Mirror link:
termux-main
termux-root
x11

Information:
The mirror comes from Jakarta, Indonesia. It is hosted by Linode.
Thanks for your help ~

Home page URL

No response

Source code URL

https://tmx.xvx.my.id

Packaging policy acknowledgement

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied in case of violation.

Additional information

No response

@truboxl truboxl transferred this issue from termux/termux-packages Feb 6, 2024
@Grimler91
Copy link
Member

Hi, thanks!

Is it possible to enable rsync on the repo?
With rsync we can keep track of the mirror status (like when it was updated last time, if it is accessible)

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Can you give me the command? I will do it.

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Oh, this mirror supports IPv4 and IPv6.
The repository will be synchronize every 4 hours.
You can contact me at the following email:
major@onedev.eu.org

@2096779623
Copy link
Member

Is it possible to enable rsync on the repo? With rsync we can keep track of the mirror status (like when it was updated last time, if it is accessible)

Btw, Has mirror.termux.dev been fixed now?

@Grimler91
Copy link
Member

Is it possible to enable rsync on the repo? With rsync we can keep track of the mirror status (like when it was updated last time, if it is accessible)

Btw, Has mirror.termux.dev been fixed now?

No, not yet, will try to look at it this week

@Grimler91
Copy link
Member

Can you give me the command? I will do it.

If rsync is installed you can create a rsyncd config looking something like:

$ cat /etc/rsyncd.conf
[termux]
  path =  /srv/termux/aptly/public/
  read only = yes
  uid = 7205
  gid = 7205

where 7205 is the user and group id of a dedicated rsync user.

You could also password protect it by adding something like

auth users = username
secrets file = /var/rsyncd.secrets

where /var/rsyncd.secrets contains plaintext username:password (if you set up a username and password then please share it with me in private so that I can add it to our mirror checker config).

You then enable the rsync.service and we should be able to run (something like) rsync -r -L rsync://tmx.xvx.my.id/apt to check status of your mirror

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

I'm not familiar with rsync, can you install it? I will give you the VPS information, where can I contact you personally?

@2096779623
Copy link
Member

I'm not familiar with rsync, can you install it? I will give you the VPS information, where can I contact you personally?

If u are using debian/ubuntu,use the following command to install it:

apt install rsync

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

And then?

@2096779623
Copy link
Member

And then?

Follow the steps to config rsync.
#71 (comment)

@2096779623
Copy link
Member

What is its bandwidth?

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Wait, I will installing speedtest..

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

10 gbps

@2096779623
Copy link
Member

Linode's vps information usually has the maximum bandwidth.

@2096779623
Copy link
Member

The mirror comes from Jakarta, Indonesia. It is hosted by Linode.

Now its IP location is Singapore.

@2096779623
Copy link
Member

10 gbps

The ASN of this IP belongs to Akamai Connected Cloud, so the large bandwidth becomes normal :) .

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Yeah, i forget. Sorry..
But, i'm can't enabling rsync the repo, can you install it for me?
I don't understand rsync at all

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Linode has been acquired by Akamai Connected Cloud, but I still call it Linode.

@Grimler91
Copy link
Member

Added the mirror to the repo in 682d09f, thanks!

@MyDapitt
Copy link
Author

MyDapitt commented Feb 6, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants