例子命令,注意,这些并非脚本
# Commerce suite (1905) installed in /data/hybris/suite # Console logs located in CX_HOME/log/tomcat CX_HOME=/data/hybris/suite/hybris PLATFORM_HOME=HYBRIS_HOME/bin/platform # Stop CX: PLATFORM_HOME/hybrisserver.sh stop # Start CX: PLATFORM_HOME/hybrisserver.sh start # Initialize: # Make sure spacceleratorsampledataaddon is up to date. Installed in HYBRIS_HOME/bin/modules/spartacussampledataaddon cd PLATFORM_HOME ./setantenv.sh . ant initialize
Restart hybris (yenv)
SSH into the server that you’d like to restart. (Use the ROT servers page reference for IPs and credentials)
# as hybris user, from YENV_HOME yenv stop spartacus # wait until the server stops yenv start spartacus # optionally, you can tail the logs in HYBRIS_HOME/binaries/hybris/log/tomcat/console[current].log
发送邮件的配置
Configure the following properties in HYBRIS_HOME/config/local.properties (or live in the HAC)
mail.smtp.server=smtp.googlemail.com mail.smtp.port=587 mail.smtp.user=charlotte.customer mail.smtp.password=hybrisAccel2016 mail.use.tls=true # Additionally, Wei created a new account for us mail.smtp.user=输入用户名 mail.smtp.password=输入密码