用tarball实现liferay自动安装部署18-启动liferay server

 

因为前面所有17步的叙述,现在我们就得到了一个完全符合我们需求的liferay tomcat server,现在我们就启动它。

 

首先,我们为目录设置读+写+执行权:

  
  
  
  
  1. #assign the execution privilege to the whole tomcat server 
  2. echo "Begin assigning the execution privilege" 
  3. echo "${LOG_TIME_FORMAT} Begin assigning the execution privilege " >> $TODAYLOG 
  4. cd $LIFERAY_TOMCAT_HOME  >> $TODAYLOG 
  5. chmod -R 777 *  >> $TODAYLOG 
  6. echo "End assigning the execution privilege" 
  7. echo "${LOG_TIME_FORMAT} End assigning the execution privilege" >> $TODAYLOG 

 

然后启动之:

  
  
  
  
  1. #start the liferay server 
  2. echo "Begin starting the liferay server" 
  3. echo "${LOG_TIME_FORMAT} Begin starting the liferay server" >> $TODAYLOG 
  4. cd $LIFERAY_TOMCAT_HOME/bin >> $TODAYLOG 
  5. chmod 777 *.sh  >> $TODAYLOG 
  6.  
  7. ./startup.sh >> $TODAYLOG 
  8. echo "End starting the liferay server"  
  9. echo "${LOG_TIME_FORMAT} End starting the liferay server" >> $TODAYLOG 

 

你可能感兴趣的:(Portal,liferay,Tarball)