linux install wget 7.3 liferay pro-test process

liferay wget 7.3 version installation
1. Download the package
sudo wget https://sourceforge.net/projects/lportal/files/Liferay%20Portal/7.3.0%20GA1/liferay-ce-portal-tomcat-7.3.0-ga1- 20200127150653953.tar.gz
2. unzip
sudo tar -xvfz Liferay-Portal-ce-Tomcat-7.3.0-ga1-20200127150653953.tar.gz
3. resolve to enter the directory
cd /opt/liferay-ce-portal-7.3.0- Ga1 /
4. Download dependencies
yum the install the ExtUtils -Y-Perl the Embed the readline-devel zlib-devel-PAM-devel-devel the libxslt the libxml2-devel-devel Python OpenLDAP devel-GCC-C ++ OpenSSL-devel CMake
5. The configuration database editing
New portal-ext.properties file, the file must be placed in liferay-ce-portal-tomcat- 7.3.0 \ \ webapps \ ROOT WEB-INF under tomcat-9.0.27 \ \ classes
New jar to put lib / ext down

#
# MySQL
#
#jdbc.default.driverClassName=com.mysql.jdbc.Driver
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#jdbc.default.username=root
#jdbc.default.password=123456

#
# postgres
#
jdbc.default.driverClassName=org.postgresql.Driver
jdbc.default.url=jdbc:postgresql://localhost:5432/liferay
jdbc.default.username=jiangjj
jdbc.default.password=123456

#
# Oracle
#
#jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
#jdbc.default.url=jdbc:oracle:thin:@localhost:1521:xe
#jdbc.default.username=lportal
#jdbc.default.password=lportal

6. The system environment is modified
A. Vim the sudo / etc / Profile
B. Add the following configuration
Export the JAVA_HOME = / usr / Java / jdk1.6.0_21
Export LIFERAY_HOME = / usr / Liferay / Liferay-Portal-CE-7.3.0-Tomcat /tomcat-9.0.26
Export the JAVA_HOME $ the PATH = / bin: $ LIFERAY_HOME / bin: $ the PATH
C update the configuration Source / etc / Profile.
7. the start liferay comes Tomcat
CD to the next bin, execution start: bin / startup. sh
stop: bin / shutdown.sh

Note:
1. The need to install the database, such as mysql / oracle / postgres available.
2. tomcat launch permissions Some errors may need to configure tomcat about directories, it is best to perform chmod -R 777 logs (directory name) directly

Guess you like

Origin www.cnblogs.com/jiangds/p/12322427.html