辛夷坞

涧户寂无人,纷纷开且落

By - Christen

Mercome 网站维护

一、环境

  • OS:Windows/Linux
  • JDK: 1.6 build 1.6.0_45-b06
  • DB: MySQL 5.5.x
  • Web Server: Resin 3.1.12/Tomcat 7
  • Other: Memcached


二、安装
Windows

  1. 直接解压到C:
  2. 启动mysql.bat
  3. 建表mercome.mysql.sql
  4. 导入测试数据test.sql(可选)
  5. 启动memcached.bat
  6. 修改resin.xml中数据库配置(可选)
  7. 启动resin.bat

Linux

三、管理后台
http://localhost/admin/
用户名: admin
密码: admin
四、初始化

  1. 添加产品分类和文章分类
  2. 访问http://localhost/

Dev by 4what.
五、维护记录
1. 修改 util.extjs-1.1.js 路径

$ ssh root@119.81.233.77

The authenticity of host ‘119.81.233.77 (119.81.233.77)’ can’t be established.
RSA key fingerprint is 69:97:99:d7:19:50:39:ef:d8:5a:ca:eb:70:41:e6:14.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘119.81.233.77’ (RSA) to the list of known hosts.
root@119.81.233.77’s password:
Last failed login: Mon Jun 29 00:02:05 CDT 2015 from 210.28.160.177 on ssh:notty
There were 34678 failed login attempts since the last successful login.
Last login: Wed Jun 17 03:33:57 2015 from 106.120.27.14

# ls
# cd /data/
# ls
# cat resin.xml
# cd www
# vi /data/www/mercome.com/web/admin/_script.jspf

done…
2015年6月29日 星期一

1 thought on “Mercome 网站维护

陈自新 December 12, 2014 at 2:25 pm

jre 和 jdk 在压缩前,体积只相差50m,压缩后,几乎没有差距。看来在以后分发软件的时候,不必考虑使用jre了。

Reply

Leave a Reply

Your email address will not be published.
*
*