inscil commented on issue #5016:
URL: https://github.com/apache/cloudstack/issues/5016#issuecomment-842268874


   @rhtyd Thank you for the link. With it I was able to figure out a way to 
build the src on Debian 10.
   
   If interesting for anyone, I did the following on a newly installed system:
   ~~~
   apt install openjdk-11-jdk maven mariadb-server mariadb-client bzip2 
nfs-common uuid-runtime python2 python2-dev python-setuptools ipmitool 
genisoimage nfs-kernel-server quota git devscripts dh-systemd nodejs npm
   
   curl -sL https://deb.nodesource.com/setup_12.x | bash -
   apt install nodejs
   
   wget http://dev.mysql.com/get/mysql-apt-config_0.8.17-1_all.deb
   dpkg -i mysql-apt-config_0.8.17-1_all.deb
   apt update
   apt install mysql-connector-python-py3
   
   Put mysql config from docs into /etc/mysql/mariadb.conf.d/50-server.cnf
   ~~~
   
   To build the src I did:
   ~~~
   git clone https://github.com/shapeblue/cloudstack-nonoss
   git clone --branch 4.15 https://github.com/apache/cloudstack.git
   
   In cloudstack-nonoss dir ==> bash -x install-non-oss.sh
   
   In cloudstack dir:
   change python3-mysql.connector to mysql-connector-python-py3 in file 
"debian/control"
   mvn -P deps (I believe, this step is unnecessary but did not test it)
   bash -x packaging/build-deb.sh
   ~~~
   
   The get the management running on a different machine, in addition to the 
steps described in the documentation I had to install "genisoimage" and link 
its binary to "mkisofs".
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to