Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. ubuntu terminal:
  2. // install liferay-portal-glassfish-6.2-ce-ga4 first then overwrite with liferay-portal-glassfish-6.2-ce-ga5
  3. cd liferay/glassfish/bin && sudo chmod a+x ./asadmin
  4. sudo ./asadmin start-domain
  5. sudo ./asasdmin
  6. create-jdbc-connection-pool --datasourceclassname org.postgresql.ds.PGSimpleDataSource --restype javax.sql.DataSource --property User=<DATABASEUSER>:DatabaseName=<DATABASENAME>:LogLevel=0:Password=password:ServerName=<localhost || IP>:Ssl=false:ProtocolVersion=0:TcpKeepAlive=false:SocketTimeout=0:PortNumber=5432:LoginTimeout=0:UnknownLength=2147483647:PrepareThreshold=5
  7. //JDBC connection pool name
  8. create-jdbc-resource
  9. //JDBC resource name
  10. //JDBC connection pool name
  11.  
  12. browser:
  13. localhost:8080 > disable sample data / change database to PostgreSQL
  14.  
  15. //portal-setup-wizard.properties
  16. admin.email.from.address=test@liferay.com
  17. admin.email.from.name=Test Test
  18. jdbc.default.driverClassName=org.postgresql.Driver
  19. jdbc.default.password=password
  20. jdbc.default.url=jdbc:postgresql://localhost:5432/<Database name>
  21. jdbc.default.username=postgres
  22. liferay.home=/home/<USER>/liferay
  23. setup.wizard.enabled=false
  24.  
  25. //portal-ext.properties
  26. jdbc.default.driverClassName=org.postgresql.Driver
  27. jdbc.default.password=password
  28. jdbc.default.username=postgres
  29. jdbc.default.url=jdbc:postgresql://localhost:5432/<DATABASENAME>
  30. auth.simultaneous.logins=false
  31. layout.show.portlet.access.denied=true
  32. live.users.enabled=true
  33. organizations.membership.strict=true
  34. organizations.search.with.index=false
  35. passwords.change.on.first.use=true
  36. session.timeout=5
  37. session.timeout.auto.extend=true
  38. theme.shortcut.icon=favicon.ico
  39. user.timezone=Asia/Manila
  40. users.search.with.index=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement