Liferay部署在linux服务器上

时间:2017-03-29 16:06:45

标签: liferay

我在linux服务器上安装了liferay 7。但是当我尝试启动服务器时,它没有正常启动而没有css。enter image description here

是否有任何在linux服务器上安装liferay的程序

浏览器控制台

enter image description here

某些文件正在使用url localhost

进行访问
http://localhost:8383/o/classic-theme/css/aui.css?browserId=firefox&themeId=classic_WAR_classictheme&minifierType=css&languageId=en_US&b=7002&t=32

http://localhost:8383/o/mentions-web/css/mentions.css

/o url is not generating with hostname instead generates with localhost

2 个答案:

答案 0 :(得分:1)

我找到了添加

的原因
web.server.host=domain
web.server.http.port=80 

portal-ext.properties

enter image description here

现在有效。感谢您的回复

答案 1 :(得分:-2)

设置用户名密码和数据库详细信息后,请转到页面设置并尝试更改主题或检查其css选项。

或 在tomcat / webapps / ROOT / WEB-INF / classes中的portal-ext.properties文件中添加此属性,或者您需要创建portal-ext.properties文件。

theme.css.fast.load=true