weizhouapache commented on issue #9462:
URL: https://github.com/apache/cloudstack/issues/9462#issuecomment-2298303198

   > I'm facing a similar issue - how was this resolved? exporting MAVEN_OPTS 
didn't help as well. I'm on Ubuntu 22.04
   
   @Pearl1594 
   I tried on a ubuntu 22.04 env , it worked
   
   see the commands below
   ```
   apt install mysql-server mysql-common 
   mysql -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH 
mysql_native_password BY ''; FLUSH PRIVILEGES;"
   mysql -uroot -e "SELECT VERSION();"
   
   mvn -P developer,systemvm -Dsimulator -Dnoredist clean install 
-DskipTests=true -T4
   mvn -Pdeveloper -pl developer -Ddeploydb
   mvn -Pdeveloper -pl developer -Ddeploydb-simulator
   mvn -Dsimulator -Dorg.eclipse.jetty.annotations.maxWait=120 -pl 
:cloud-client-ui jetty:run 2>&1 > /tmp/jetty-log || true &
   ```
   
   cmk command to verify it
   ```
   # cmk list managementservers
   {
     "count": 1,
     "managementserver": [
       {
         "id": "36b5e00f-46b0-4944-af0f-6cd24fff91a2",
         "javadistribution": "Ubuntu",
         "javaversion": "11.0.24+8-post-Ubuntu-1ubuntu322.04",
         "lastboottime": "2024-07-08T09:35:51+0000",
         "lastserverstart": "2024-08-20T08:32:35+0000",
         "name": "wei-buildbox-u22",
         "osdistribution": "Ubuntu 22.04 LTS",
         "serviceip": "127.0.0.1",
         "state": "Up",
         "version": "4.20.0.0-SNAPSHOT"
       }
     ]
   }
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to