Neo-Oli / termux-ubuntu

Ubuntu chroot on termux
849 stars 317 forks source link

Install PostgreSQL in ubuntu #88

Open chan-github opened 5 years ago

chan-github commented 5 years ago

With termux, I successfully installed and ran postgresql 11 on TV BOX (magic box m16s, CPU Amlogic S912, android 6, no root). However, in the same TV BOX, with termux-ubuntu and UserLAnd's ubuntu, I can't install postgresql, all stopped at "selecting default max_connections ...". With Linux Deploy, I successfully installed and ran postgresql 9 on my phone (ARMv71, android 5.1, rooted), following the prompts: https://github.com/meefik/linuxdeploy/issues/13 . Same issues from https://github.com/CypherpunkArmory/UserLAnd/issues/256?_pjax=%23js-repo-pjax-container .

green2k commented 4 years ago

I'm facing the same problem - was you able to resolve it?

JanuszChmiel commented 4 years ago

The problem is related to files ownership. And The fact, if proot can emulate files ownership. Next important procedure is to have android-shmem.so or other .so libry which will emulate shared memory. Because I do not think, tht Postgresql will allow us to run without shared memory.