安装
系统需求:Installing Axure Cloud for Business On-Premises · Axure Docs
- Windows Server 2008 R2 or later
- .NET Framework 4.7.2
- 2 Ghz CPU (2 cores recommended)
- 2 GB RAM (4GB Recommended)
- Microsoft SQL Server 2008 or later / MySQL 5.7 or later
官方最新安装包下载:Axure Cloud(基本每月有更新,需要翻墙下载。)
官方更新日志:Axure Cloud Release History – Axure
DB准备
-- 创建数据库
CREATE DATABASE IF NOT EXISTS AxShare DEFAULT CHARSET utf8;
-- 创建用户并授权
CREATE USER 'AxDba'@'localhost' IDENTIFIED BY 'tbGjr1GkypqgvG';
GRANT all privileges ON axshare.* TO 'AxDba'@'localhost';
flush privileges;
安装注意事项
安装过程比较简单基本下一步就可以了,要输入激活码时,可以直接跳过。
- DB不是标准端口,在Hostname输入时带上端口,比如MySQL输入localhost:33060
- 另外,此步骤需要输入root/sa帐号与密码,如果不是的话,需要有超级权限。否则在后面更新数据库步骤报错:Access denied; you need (at least one of) the SUPER privilege(s) for this operation。
- MySQL 5.7/MariaDB 10.3的解决办法:
update mysql.user set super_priv='Y' where user='axuser';
flush privileges

配置customsettings.json
前提:先停止Axure Cloud Maintenance Service与Axure Cloud Web Site Service系统服务。

默认安装目录 C:\Program Files\Axure\Share9\site 中,有
- appsettings.json:默认配置文件,不需要修改;
- customsettings.json:本次修改内容,编辑时要注意结尾的【,】
包含所有可能字段的示例文件:
{
"SessionEncryptionKey": "?H2!h=cmK7%BQ_WejM!YyzvTe3R%#Tfs",
"RootStoragePath": "C:\\ProgramData\\AxureShare\\data",
"DbDialect": "MySql",
"ConnectionStrings": {
"ApplicationServices": "Data Source=123.456.789.10;Database=axshare;User Id=axshare_user;password=123456"
},
"MaxFileSize": 1000000000,
"GenerationTimeoutSeconds": 2700,
"urls": "http://*:80;https://*:443",
"MatchProtocolMode": "false",
"Kestrel": {
"Certificates": {
"Default": {
"Path": "C:\\Program Files\\Axure\\Share9\\site\\my-pfx-file.pfx",
"Password": "123456"
}
},
"Endpoints": {
"Https": {
"Url": "https://*:443"
}
}
},
"AxShareHost": "ux.sunsetsolar.com",
"AxSitesPrototypeDomain": ".ux.sunsetsolar.com",
"ShowExceptionDetails": "true",
"EnablePlugins": "true",
"EnableBetaFeatures": "true"
}
常见会调整字段
- RootStoragePath:为文档存储目录,需要备份目录;子目录是应用在管理不要去动,另外,此目录要注意NTFS权限,应用服务没有读写权限时,会出错。
- MatchProtocolMode:为false时,强制将http跳转到https
- 监听端口和https配置
a) 不使用nginx:按照示例文件配置就可以了,证书需要是pfx格式,同时也要配置私钥密码;后续更新不方便。
b) 使用nginx(在nginx启用https):customsettings.json 配置为
"urls": "http://*:8080",
"MatchProtocolMode": "true",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:8080"
}
}
},
"AxShareHost": "rp.y.z",
"EnableBetaFeatures": "true"
- 限制访问域名:”AxShareHost”: “rp.y.z”
- 开启测试功能:”EnableBetaFeatures”: “true”
- 其他字段:使用nginx时,一般用不到。
这是我的配置文件内容:

其他配置
登录页面标题与Logo修改
- 后台配置页面设置 Organization Name 参数
- 通过关键字在近2M wwwroot\app\assets\index-xxxxxx.js 文件里查找修改就是了。
- 登录页提示【Sign in to Axure Cloud】的替换:查找 form-title login-title
- 登录页脚 【© 2002-2024 Axure Software Solutions, Inc. | www.axure.com/patents】的替换:查找 axure-copyright-link 就是此处内容
- Logo移除:查找 0 0 50 12 ,移除 (“path”,{attrs:{d:””}}) d中数据。
- 查找 get-desktop-app-button ,将后 e.desktopUrl 替换成 “/”
- 试用到期提示底栏太高:index-DvmtrUvi.css,查找【ax-footer-notification】改为【min-height:0;padding-top:0;padding-bottom:0】
配置SMTP
登录WEB后台,配置SMTP就可以了,在Axure Cloud中非常重要,会自动向新用户发送邮件设置密码,以及密码找回。
修改试用日期
Axure Cloud用户默认可以试用60天,通过修改数据库的 axshare_user.TrialStartDate 值为未来日期,实现超长试用(无功能区别)。
日志文件
在C:\ProgramData\Axure\Share\logs目录的日志文件,看到报错里有D:\a\1路径,暂时不知道怎么解决,没有D盘时,添加D盘方法。
if not EXIST d:\ subst d: c:\d_subst
Axure RP 10/11 本地激活
- 正常下载与安装 https://www.axure.com/release-history/
- 启动后,点击共享激活,自动打开网页,输入授权码:cc020a2f1fb346acb00d5ffcb0c7bb5b
- 回到 rp 就是激活状态,后面是步骤是关键,这也是为什么是单机激活原因。
- 回到自动打开网页,点 copy code 按钮:
- 将剪切板的 code 信息复制保存下载,为了避免以后授权码失效,可以使用这个 code 进行重新激活。
- 让这个 code 一直有效的方法:hosts 屏蔽 www.axure.com 域名。
- 在 C:\Windows\System32\drivers\etc\hosts 文件中新增行:
127.0.0.1 www.axure.com

回复 nilaodi 取消回复