Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu terminal:
- // install liferay-portal-glassfish-6.2-ce-ga4 first then overwrite with liferay-portal-glassfish-6.2-ce-ga5
- cd liferay/glassfish/bin && sudo chmod a+x ./asadmin
- sudo ./asadmin start-domain
- sudo ./asasdmin
- 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
- //JDBC connection pool name
- create-jdbc-resource
- //JDBC resource name
- //JDBC connection pool name
- browser:
- localhost:8080 > disable sample data / change database to PostgreSQL
- //portal-setup-wizard.properties
- admin.email.from.address=test@liferay.com
- admin.email.from.name=Test Test
- jdbc.default.driverClassName=org.postgresql.Driver
- jdbc.default.password=password
- jdbc.default.url=jdbc:postgresql://localhost:5432/<Database name>
- jdbc.default.username=postgres
- liferay.home=/home/<USER>/liferay
- setup.wizard.enabled=false
- //portal-ext.properties
- jdbc.default.driverClassName=org.postgresql.Driver
- jdbc.default.password=password
- jdbc.default.username=postgres
- jdbc.default.url=jdbc:postgresql://localhost:5432/<DATABASENAME>
- auth.simultaneous.logins=false
- layout.show.portlet.access.denied=true
- live.users.enabled=true
- organizations.membership.strict=true
- organizations.search.with.index=false
- passwords.change.on.first.use=true
- session.timeout=5
- session.timeout.auto.extend=true
- theme.shortcut.icon=favicon.ico
- user.timezone=Asia/Manila
- users.search.with.index=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement