PublicCMS is an open source JAVACMS system developed using mainstream technology. The architecture is scientific and can easily support tens of millions of data and tens of millions of PV; it supports full-site staticization, SSI, partial staticization of dynamic pages, etc. It provides a powerful driver for you to quickly build a website and build large-scale sites. It is also a good choice for enterprise-level project product prototypes. .
Compile and run to ensure that the operating system has jdk1.8 or above.
cd publiccms-parentmvnw clean packagecd publiccms/targetjava -jar publiccms.warVisit the program page http://localhost:8080/publiccms/, configure and initialize the database management background according to the page prompts, and access the relative path to http://localhost:8080/publiccms/admin/. The built-in administrator account/password of the data script is: admin /admin
Directly download the executable program from the network disk (https://www.publiccms.com/download.html) Prepare java and mysql environments locally, download the executable program, compress and decompress it and run startup.bat or startup.shwindows startup command
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="%cd%datapubliccms" publiccms.warlinux startup command
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="`pwd`/data/publiccms" publiccms.war For more parameters and meanings, please refer to Run the deployment manual tomcat and rename publiccms.war.original to publiccms.war or ROOT.war (the context path is /), and move the file to the webapps directory of tomcat. At this time, the -Dcms.filePath parameter is still valid.Run directly in docker:
docker run -d -p 8080:8080 sanluan/publiccmsBuild the image yourself: Execute
docker build -t mypubliccms .docker run -d -p 8080:8080 mypubliccmsDemo account/password test/test
Public CMS architecture diagram
Public CMS management background
Public CMS Management
Public CMS Management バックグラウンド