In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the relevant knowledge of "how to set up the jspXCMS system". The editor shows you the operation process through the actual case. The operation method is simple, fast and practical. I hope this article "how to set up the jspXCMS system" can help you solve the problem.
Basic settings
Protocol: selected based on the protocol used by web servers, such as tomcat. If the web server uses the https protocol, select https here, otherwise select http. The protocol selected here only works on the links generated by the foreground template. If you select https, the url address generated by ${node.url} may be https://www.abc.com/node/12. Note: the https protocol is not selected here, and the web server automatically supports the https protocol.
Port number: fill in according to the port that the web server (such as tomcat) listens on. If the default port number is used, leave it blank. The port number entered here only works for the template generated by the frontend. If you enter 8080, the url address generated by ${node.url} may be https://www.abc.com:8080/node/12. Note: the web server does not automatically listen to the port number that is filled in here.
Context path: fill in according to the context path in which the program is deployed. If deployed in the webapps/ROOT directory of tomcat, leave it blank, and the address to visit the home page of the website is http://www.mysite.com/; if deployed in the webapps/abc directory, fill in / abc, and the address to visit the home page of the website is http://www.mysite.com/abc. Note: be sure to follow the actual deployment path, otherwise the foreground style of the website will not be displayed properly.
Login verification code: after the login error exceeds this number, you need to fill in the verification code before you can continue to log in. Fill in 0 if you always need it.
Attachment release point: the location where the upload attachment is saved.
Upload Settin
File suffix: sets the file suffix allowed to be uploaded. Multiple suffixes are separated by commas, such as zip,jpg,jpeg. If you leave it blank, there is no limit.
Picture suffix: sets the picture suffix allowed to be uploaded.
Video suffix: sets the video suffix allowed to be uploaded.
Library suffix: sets the library suffix allowed to be uploaded.
Editor picture maximum width: sets the maximum width of the uploaded picture in the text editor in document management, beyond which it will be automatically compressed. If it is 0, there is no limit.
Editor picture maximum width: sets the maximum height of uploaded pictures in the text editor in document management, beyond which it will be automatically compressed. If it is 0, there is no limit.
Register Settin
Registration mode: you can choose to close registration and open registration.
Register for authentication mode:
Non-verification: become a full member directly after registration.
Mailbox verification: it needs to be activated through mailbox after registration.
Manual verification: after registration, the administrator needs to review in the background before activation.
Membership group: the membership group to which the member belongs after registration.
Organization: the organization to which the member belongs after registration.
Minimum length of user name: a user name less than this length cannot be registered.
Maximum length of user name: a user name greater than this length cannot be registered.
Avatar size: the size of a member's avatar.
Small avatar size: the member's small avatar size.
Legitimate user characters: restrict the user name characters that can be used by regular expressions.
Pre-registration verification mode:
No verification: registration can be submitted directly.
Mailbox verification: get the mail verification code when you register, and fill in the mail verification code before you can submit the registration.
Mobile phone verification: get the SMS verification code when you register, and fill in the SMS verification code before you can submit the registration.
Email verification or mobile phone verification: get the email or SMS verification code when you register and fill in the verification code before you can submit the registration.
Site user Agreement: an agreement that a user needs to agree to when registering.
Registered mail verification code: the mail sent when the user gets the mail verification code when registering.
Authentication email: an activation email sent after the user registers.
Retrieve password message: a message sent when the user retrieves the password.
Mail Settin
Settings for the server to send mail. If this item is not set correctly, the program will not be able to send the mailbox.
Most mail servers disable the SMTP service by default, so before setting up, please check the help related to the mail server to learn how to turn on the SMTP service, as well as the address and port number of the SMTP server.
If you encounter difficulties in setting up, you can first try to use mail client software such as foxmail to set up and send mail to see if it can be successful.
SMTP server: SMTP mail server address. Please fill in the specific address according to the information provided by the mail server.
SMTP port: SMTP mail server port. Please fill in the specific address according to the information provided by the mail server.
SMTP authentication: generally, yes.
SMTP timeout: generally leave it blank.
Authentication user name: the user name that logs in to the mailbox.
Authentication password: the password to log in to the mailbox. The password for sending mail on some mail servers is different from the password for logging in to the mailbox. Please check the help documentation of the mail server for details.
Sender's e-mail address: the e-mail address of the website from which the email was sent. It is usually the same as the user name of the login mailbox.
SSL encryption: depending on the requirements of the mail server, some mail servers require SSL encryption.
Message detection: used to test whether the mail server settings are successful. Save the settings first, and then click the detect send button, otherwise you will not be able to test the mail sending function correctly.
Other settin
Column browsing cache: when the number of visits is relatively large, in order to avoid frequent changes to the database resulting in query cache invalidation, you can set the browsing times cache, the number of browsing times in the cache will not participate in sorting.
Document browsing cache: same as above.
Cache the number of document downloads: same as above.
Caching the number of likes in documents: ditto.
Document scoring times cache: same as above.
Caching the number of document comments: ditto.
Custom settin
The fields defined in the system model can be set here.
This is the end of the content about "how to set up the jspXCMS system". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.