pigsty
pigsty copied to clipboard
Ubuntu 22.04 LTS Support
As the document describes: It only support CentOS 7.x and equivalent OS.
Supporting other Linux distribution is not our highest priority for now.
To support ubuntu, One has to replace all rpm with deb and refactor ansible role repo and node_pkgs
contribution for this is always welcome~.
好,我能做些什么工作:1 所有 rpm 替换为 deb 应该是问题不大,需要您提供下 rpm列表。至于之后需要做什么,我可以边学习边做。
个人认为改发行版意义不大,甚至可以锁定发行版和版本。既然人工登陆修改配置是不推荐的,那什么发行版环境又有什么关系? In my opinion, changing the distro is of little significance, and we can even lock the distro and version. Since manual login to modify the configuration is not encouraged, what bother changing to a different distro?
Is Ubuntu supported yet? If not, I'd like to help. I'm looking to run Pigsty on Oracle Cloud Ampere Servers (arm64) They don't support CentOS. This is a great project. Cheers, Dave
Is Ubuntu supported yet? If not, I'd like to help. I'm looking to run Pigsty on Oracle Cloud Ampere Servers (arm64) They don't support CentOS. This is a great project. Cheers, Dave
Pigsty now does not support arm & Debian/ubuntu either. It now works on EL7,8,9 and its compatible release.
Adding arm support to EL series cloud be easier since only repo & RPMs are involved. Debian/Ubuntu supported would be much more difficult since there's quite a huge difference between Debian & EL:
- Build deb repo, find mirrors, build missing deb
- Refactor node role to adjust Debian/Ubuntu node into the described status
- Make infra components grafana,prometheus,consul,etcd work on it.
- make pgsql,patroni,pgbouncer,haproxy,vip-manager work on debian/ubuntu.
Contributions are always welcome ~. Please let know if you are interested.
Thanks for the reply. I was wondering if alien might help. It's a Ubuntu tool to convert .rpms to .deb format. Sure, it would be great to maybe try arm64 first. The idea is to take advantage of Oracle Cloud free tier, it's quite generous. 6cpu cores / 24Gb ram. I'm one of the founders of Saasrocks and we're looking for a good postgres backend to run our Saas service. (K8s not required)
Isn't Oracle Linux available on Oracle Cloud?
I'll see if it's available on Ampere Servers..
update: Yes, Oracle Linux 6.10 / 7.9 / 8 / 9 run on Ampere Servers - will that be OK?
Use Oracle Linux 8 should be fine. It's a rebuild from RHEL source.
Ah, perfect. Thanks so much! I'll give it a try and let you know how it goes.
So all we really need to is setup arm64 support. If you could let me know what needs to be changed I can do it if you like. I've got my instances setup at Oracle Cloud.
quick question: Can I use https?
Cheers, Dave
y instances setup at Oracle Cloud.
maybe arm version can be supported as simple as replacing all x86_64 to aarch64. but it require further testing.
SSL for postgres/pgbouncer/patroni/etcd/consul are added in v1.6.0 but not for nginx yet. Since you may have your own idea of applying & managing a real SSL certs rather than using a self-signed CA cert.
Thanks for the info. I'll be using Letsencrypt to generate certs.
Ubuntu/Debian TODO LIST
- [x] install
- [x] bootstrap
- [x] configure
- [x] API
- [x] repo_upstream
- [x] repo_packages
- [x] node
- [x] node-id
- [x] tuned
- [x] chrony
- [x] dns
- [x] haproxy
- [x] docker
- [x] etc...
- [x] infra
- [x] local apt repo setup
- [x] nginx
- [x] dnsmasq
- [x] grafana
- [x] loki
- [x] prometheus stack
- [x] etcd
- [x] minio
- [x] mongo
- [x] redis
- [x] pgsql
- [x] pg16
- [x] pg15
- [x] pg misc: patroni, pgbouncer, pgbackrest, pgbadger, pg_exporter, vip-manager2
- [x] misc extensions
Ubuntu 20.04 & 22.04 is supported, will be released in v2.5.0