bruce78
September 10, 2021, 5:54am
1
I’m running into compilation problems that are similar to the ones outlined here…
For PHP… At some point I have the errors
mkdir: cannot create directory 'main/.libs': File exists
mkdir: cannot create directory 'Zend/.libs': File exists
mkdir: mkdir: cannot create directory 'sapi/fpm/fpm/events/.libs': File exists
cannot create directory 'sapi/fpm/fpm/events/.libs': File exists
mkdir: cannot create directory 'sapi/phpdbg/.libs': File exists
And then I start having a lot of errors (these are just an excerpt):
cc: fatal error: Killed signal terminated program cc1
compilation…
This is on Ubuntu 20.04 on ARM64, Oracle’s free cloud…
I’ve run variations of the following…
git clone https://github.com/hestiacp/hestiacp
cd hestiacp/src/
./hst_autocompile.sh --all --noinstall --keepbuild main
cd /install
bash hst-install-ubuntu.sh --apache yes --phpfpm yes --multiphp no --vsftpd yes --proftpd no --named yes --mysql yes --postgresql no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota no --api yes --with-debs /tmp/hestiacp-src/deb/
And
git checkout 1.4.12 # the latest release
cd ./src/
./hst_autocompile.sh --all --noinstall --keepbuild '~localsrc'
cd ../install
bash hst-install-debian.sh --apache yes --phpfpm yes --multiphp yes --vsftpd no --proftpd no --named yes --mysql yes --postgresql no --exim yes --dovecot yes --clamav no --spamassassin no --iptables yes --fail2ban yes --quota no --api yes --port 8033 --with-debs /tmp/hestiacp-src/deb/
Does anyone have any thoughts? Are the instructions outlined below stil neeed?
Hi,
just playing around, but it seems that i successfully compiled ARM64 hestia 1.4.0 (alpha) on RPI 4B (4GB RAM).
BTW, installation still doesn’t works. I think that it could works if control files fetched from hestia repo during compiling are tagged as arm64 instead of amd64 :
What i did
Setup a fresh debian 10 environment on RPI (tested but still “unofficial” images from Tested images
Check updates
download and edit hst_autocompile by changing arch as suggested by @realjumy hestiacp…
Or is there something else not working?
Thanks,
Bruce
eris
September 10, 2021, 7:07am
2
Usually it is memory issues. Make sure you have the 4 Core + 24GB option and then try.
bruce78
September 10, 2021, 9:39am
3
Ok, cool, I’ll try and will let you know… I assumed 6GB would do the job!
eris
September 10, 2021, 9:41am
4
On x64 it should be more then enough but last time I used it to try I wasn’t able to do it with 2 cores + 12 gb or ram.
Last try I did it with 4 cores + 24gb ram and it worked fine.
It would be nice if we can build the packages in a way we don’t depend on an ARM server…
bruce78
September 10, 2021, 8:25pm
5
Ok, yeah, 4vCPU and 24GB of RAM and a clean build… thank you…
Good day!
I was able to install it on an Oracle ARM Instance with 2ocpu and 12gb with the following commands …
In the beginning I had several conflicts until I put “-f” to point 10.
( Buen dia!
Yo pude lograr instalarlo en Instancia Oracle ARM con 2ocpu y 12gbRAM con los siguientes comandos …
En un comienzo tuve varios conflictos hasta que puse “-f” al punto 10.
)
INTALANDO HESTIACP en Ubuntu 20.04 ARM [VM.Standard.A1.Flex]
1 sudo apt-get update
2 sudo apt-get upgrade
3 sudo reboot
4 mkdir /tmp/hestiacp-src
5 cd /tmp/hestiacp-src
6 git clone https://github.com/hestiacp/hestiacp.git
7 cd hestiacp/src/
8 sudo ./hst_autocompile.sh --all --noinstall --keepbuild ‘~localsrc’
9 cd …/install/
10 sudo bash hst-install-ubuntu.sh -f --with-debs /tmp/hestiacp-src/deb/
11 sudo reboot
12 sudo iptables -L INPUT
13 #MODIFICAR ARCHIVO “/etc/iptables/rules.v4” AGREGAR LOS PUERTOS UTILIZADOS
14 sudo iptables-restore < /etc/iptables/rules.v4
15 sudo iptables -L INPUT
Successes!
Cool, thank you, I’ll try this out in due course…
system
Closed
November 5, 2021, 2:29am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.