Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. cd /usr/src/zm && \
  2. ./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin \
  3. ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser \
  4. ZM_DB_PASS=zmpass ZM_SSL_LIB=openssl --enable-debug=no \
  5. --with-webgroup=www-data --with-webuser=www-data --enable-mmap CPPFLAGS="-D__STDC_CONSTANT_MACROS ${CPPFLAGS}"
  6.  
  7. autoconf
  8.  
  9. aclocal
  10.  
  11. automake
  12.  
  13. make
  14.  
  15. mysql -u root -p < db/zm_create.sql
  16. #Password that is requested is Mysql root password that was entered during install, not your ubuntu password.
  17.  
  18. mysql -u root -p
  19.  
  20. grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
  21.  
  22. quit
  23.  
  24. mysqladmin -p reload
  25.  
  26. make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement