分享页面
首页  >  

#

  • 查询可用区关联宿主机列表
    2020-12-28

    **简要描述:** - 本接口用于获取云服务器-宿主机列表。接口请求地址 **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |productId |是 |integer | 品牌编号 | |line_no |否 |varchar | 线路编号 | |area_no |否 |varchar | 可用区编号 | |host_id |否 |integer | 宿主机ID查询单台宿主机详情 为必传参数 | **输入示例:** - https://www.qg.net/api/cloud-product/getHostList?productId=value&area_no=value **返回示例** ``` { "RequestId": "4C467B38-3910-447D-87BC-AC049166F216", "Code": 0, "Message" : "返回内容" "Data": { "1":{ "Id": "1", "Line_no": "xxx", "Area_no": "xxxxx", "Name": "香港BGP2", "Remaining_num": "1000", "Ip_status":"1", "Broadband_statu":"1", "Status":"1" }, "2":{ "Id": "1", "Line_no": "xxx", "Area_no": "xxxxx", "Name": "香港BGP3", "Remaining_num": "1000", "Ip_status":"1", "Broadband_statu":"1", "Status":"1" } }, "totalremainnum":"2000" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | RequestId | string | 请求编号 | | Code | integer | 状态码 | | Message | string | 返回内容 | |Id |integer |宿主机id | |Line_no |string |线路编号 | |Area_no |string |可用区编号 | |Name |varchar |宿主机名称 | |Remaining_num |integer |剩余主机数目 | |Ip_status |string |IP状态。取值范围:normal:资源充足,剩余IP大于100 [0,99]:剩余 IP具体数值 | |Broadband_statu|string|宽带状态。取值范围:normal:资源充足,剩余宽带大于100 [0,99]:剩余宽带具体数值| |Yotalremainnum |integer |剩余总数 | |Status |integer |宿主机状态:0:禁用,1:正常 | **备注** - 更多返回错误代码请看公共API栏目下的[公共错误代码][001]文档描述 [001]: https://www.qg.net/doc/251.html "公共错误代码"

  • Ubuntu18.04系统如何进行路由跟踪
    2021-07-28

     

    Ubuntu18.04系统中,如何进行路由跟踪?本文将针对此问题进行说明。

    1.首先更新软件列表

    sudo apt-get update

     

    2.安装traceroute工具

    sudo apt-get install inetutils-traceroute traceroute

     

    3.安装完之后就可以使用了

    测试

    traceroute 1.1.1.1

     

  • Ubuntu18.04系统如何用sort命令对文件内容进行排序
    2021-07-30

     

    ubuntu18.04中如何用sort命令对文件内容进行排序呢?本文给出详细说明。

    sort 文件名

    说明sort将文件/文本的每一行作为一个单位,相互比较,比较原则是从首字符向后,依次按ASCII码值进行比较,最后将他们按升序输出。

  • 查询可用区列表
    2020-12-28

    **简要描述:** - 本接口用于查询可用区列表。接口请求地址 **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |productId |是 |integer | 品牌编号 | |line_no |否 |string | 线路编号 | **输入示例** https://www.qg.net/api/cloud-product/areaList?type_id=1&productId=1 **返回示例** ``` { "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3', "Code": 0, "Message" : "返回内容" "Data": { "1":{ "Name": "泰国一区", "Area_no": "ap-bangkok-1", "Line_no": "ap-bangkok", "Status":1, }, "2":{ "Super_id": "1", "Name": "泰国二区", "Area_no": "ap-bangkok-2", "Status":0, } } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |RequestId |string |请求编号 | |Code |integer |状态码 | |Message |string |返回内容 | |Name |string |可用区名称 | |Area_no |string |可用区编号 | |Line_no |integer |线路编号 | |Status |integer |可用区状态 1:启用 0:禁用 | **备注** - 更多返回错误代码请看公共API栏目下的[公共错误代码][001]文档描述 [001]: https://www.qg.net/doc/251.html "公共错误代码"

  • 查询可用区关联操作系统信息
    2020-12-28

    **简要描述:** - 本接口用于查询可用区关联操作系统信息。接口请求地址 **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |productId |是 |integer | 品牌编号 | |line_no |否 |string | 线路编号 | |area_no |否 |string | 可用区编号 | |type|否|integer|返回值类别取值范围:1:全部;2:系统类别;3:系统信息| |detail|否|integer|可用区关联系统,默认值:1取值范围:1:输出;2:不输出| **输入示例** https://www.qg.net/api/cloud-product/areaSystem?productId=value&type=1 **返回示例** JSON格式 ``` { "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3', "Code": 0, "Message" : "返回内容" "Data": { "group_list":{ "1":{ "Name": "windows", "Attribute": "1", "Status": "1", }, "2":{ "Name": "linux", "Attribute": "1", "Status": "1", } }, "system_list":{ "1":{ "Line_no":"", "Group_name":"windows", "Name": "windows 2008", "System_no": "img-asdsaewf", "Iogin_name": "administrator", "Port": "", "Max_cpu_limit": "", "Cpu_limit": "", "Max_memory_limit": "", "Memory_limit": "", "Status":"1", "Type":"", }, "2":{ "Line_no":"", "Group_name":"windows", "Name": "windows 2012", "System_no": "img-sdfdfv", "Iogin_name": "administrator", "Port": "", "Max_cpu_limit": "", "Cpu_limit": "", "Max_memory_limit": "", "Memory_limit": "", "Status":"1", "Type":"create", } }, "detail":{ "1":{ "Line_no":"ap-guangzhou", "Area_no": "ap-guangzhou-1", "Group_name": "Windows", "Name": "windows 2008", "System_no": "img-xxxx", "Max_memory_limit" : "", "Memory_limit":"", "Max_cpu_limit":"", "Cpu_limit":"", "Type":"", "Attribute":"", "Status":"1" }, "2":{ "Line_no":"ap-guangzhou", "Area_no": "ap-guangzhou-1", "Group_name": "Windows", "Name": "windows 2012", "System_no": "img-xxxx", "Max_memory_limit" : "", "Memory_limit":"", "Max_cpu_limit":"", "Cpu_limit":"", "Type":"", "Attribute":"", "Status":"1" }, } } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |RequestId |string |请求编号 | |Code |integer |状态码 | |Message |string |返回内容 | |group_list|array|系统分类列表,详情请参考group_list数据结构说明| |system_list|array|系统信息列表,详情请参考system_list数据结构说明| |detail|array|可用区关联系统列表,详情请参考detail数据结构说明| - group_list数据结构说明 |参数名|类型|说明| |:----- |:-----|----- | |RequestId |string |请求编号 | |Code |integer |返回编号 | |Message |string |返回内容 | |Name |string |操作系统类别名称 | |Attribute |integer |操作系统类型属性 1:静态 2:动态 | |Status |integer |状态 0:禁用 1:启用 | - system_list数据结构说明 |参数名|类型|说明| |:----- |:-----|----- | |RequestId |string |请求编号 | |Code |integer |返回编号 | |Message |string |返回内容 | |Line_no |string |线路编号 | |Group_name |string |镜像类别 | |Name |string |操作系统名称 | |System_no |string |操作系统编号 | |Login_name |string |登录名 | |Port |string |端口 | |Max_cpu_limit |integer |最大cpu限制 | |Max_memory_limit |integer |最大内存限制 | |Memory_limit |integer |最小内存限制 | |Status |integer |启用状态,0:禁用;1:启用 | |Type |string |支持类型,create:创建;install:重装 | - detail数据结构说明 |参数名|类型|说明| |:----- |:-----|----- | |Line_no |string |线路编号 | |Area_no |string |可用区编号 | |Group_name |string |镜像类别 | |Name |string |镜像名称 | |System_no |string |镜像编号 | |Max_memory_limit |string |内存最大限制值 | |Memory_limit |string |内存最小限制 | |Max_cpu_limit |string |CPU最大限制| |Cpu_limit |string |CPU最小限制 | |Attribute |integer |操作系统类型属性 1:静态 2:动态 | |Type |string |操作类型类型:开通create,重装install | |Status |integer |启用状态,0:禁用;1:启用 | **备注** - 更多返回错误代码请看公共API栏目下的[公共错误代码][001]文档描述 [001]: https://www.qg.net/doc/251.html "公共错误代码"

  • Windows server 2012如何解决修改用户名后忘记密码无法登录的问题
    2021-07-31

     

    Windows server 2012系统下,如果修改了默认用户名administrator之后忘记了登录密码,即使在面板重置系统密码后依然是无法登录的。如何解决呢?

    1.下载WindowsPE镜像。可以参考这个网站进行下载

    https://www.xp510.com/xiazai/ossoft/testing/40380.html

    2.先关闭对应服务器,打开设置界面。点击“DVD驱动器”,点选“映像文件”,然后点“浏览”找到下载好的PE镜像文件,点击“应用”

    3.将服务器开机,进入PE系统界面。双击“工具宝箱”

    4.在弹出的窗口中点击系统工具栏下的系统密码更换工具

    5.在弹出的窗口中,按照默认设置点击“下一步”

    6.点击“下一步”

    7.选择“管理计算机(域)的内置账号”,点击下一步

    8.点击“Apply Changes”

    9.出现提示框,点击“是”

    10.提示修改成功,点击“确定”

    11.打开服务器设置中点击“DVD驱动器”,点选“无”,取消挂载PE镜像

    12.此时重启服务器会直接进入系统。在“计算机管理”中修改用户名和密码即可,修改后需要再次重启服务器,即可正常远程连接登录

  • 什么是"可信网站"验证?
    2020-07-04

    <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">"可信网站"验证是由中网(knet.cn)推出的第三方网站真实身份验证服务,它通过对域名、网站、工商登记或组织机构信息进行严格交互审核来验证网站真实身份,此外,还可根据网站需要开通"网站运行监护、网页篡改监护、木马病毒监控"等网站安全服务,"可信网站"验证不仅得到了中国互联网络信息中心的技术支持和中国反钓鱼网站联盟的鼎力推荐,还得到了中国互联网协会和中国电子商务协会等两大协会的监督和指导。</p> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">对网站而言,"可信网站"验证能帮助网站健全网络钓鱼防范措施,拓宽网站可信品牌的展示和推广力度;对网民而言,"可信网站"验证能有效提高亿万网民辨别网站真伪和识破网络诈骗的能力。</p> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">&nbsp;</p> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">c申请单位通过"可信网站"验证,表明网站"身份可信",网站经营主体的运营状况、财务状况、信用状况等不在"可信网站"验证范围内。</p> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">&nbsp;</p>

  • 开机
    2020-12-28

    **简要描述:** - 本接口用于操作开机。接口请求地址 **注:** - 只有状态为已关机的业务才可以进行此操作。调用成功后,业务进入开机中状态 **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |suid |是 |string |业务标识 | **输入示例** https://www.qg.net/api/operate/start?suid=value **返回示例** ``` { "RequestId":'423369C7-AD6F-3GT6-NMJ7-E2RG5N6HG7D3', "Code": 0, "Message" : "返回内容" "Data": { } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |RequestId |string |请求编号 | |Code |integer |状态码 | |Message |string |返回内容 | **备注** - 更多返回错误代码请看公共API栏目下的[公共错误代码][001]文档描述 [001]: https://www.qg.net/doc/251.html "公共错误代码"

  • Debian8系统如何查看CPU、内存、版本等系统信息
    2021-07-17

    debian8系统如何查看CPU、内存、版本等系统信息?本教程以debian8系统为例

    本配置适用于debian8,9版本

    1.查看cpu:

    more /proc/cpuinfo | grep "model name"
    
    grep "model name" /proc/cpuinfo

    2.查看内存:

    grep MemTotal /proc/meminfo
    
    grep MemTotal /proc/meminfo | cut -f2 -d:
    
    free -m |grep "Mem" | awk '{print $2}'

    3.查看cpu32位还是64:

    getconf LONG_BIT

    4.查看内核版本:

    uname -r
    
    uname -a

  • 堡垒机常见技术问题
    2020-10-15

    <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机安装对环境有哪些要求?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒可以安装于物理机或虚拟机上,安装主机要求与被管资源有直接关系,4核8G的虚拟机即可满足100资产的管理需求。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机支持部署在什么操作系统上?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机目前仅支持安装在CentOS 7.4操作系统上,如果您有对其它操作系统的要求,可联络我们。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机对网络的要求是怎样的?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:服务器需要对外开放80/443端口访问;部署内网访问助手/Proxy的机器需要能够访问到门户服务器的80/443端口。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机支持高可用部署吗?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机企业版支持HA高可用部署;对于内网访问助手/Proxy,可以做负载均衡部署。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机支持移动终端吗?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机除了支持PC浏览器访问之外,还支持平板、手机、微信小程序等智能终端访问及运维操作。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机支持在安全加固系统中部署吗?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机支持在安全加固系统中部署,安装部署时无需使用操作系统root用户而仅需使用具有sudo权限的用户执行操作。使用时也仅需操作系统对外开放80、443或其它满足安全要求的端口即可。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:堡垒机支持在公有云主机中做高可用部署吗?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机支持在阿里云、华为云等公有云环境中进行高可用部署。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:随着使用规模不断扩大,原有分配予的存储空间已无法满足需求,是否支持将堡垒机数据迁移到外部存储?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机支持数据迁移,支持将堡垒机数据从本地硬盘迁移至外部储存,支持将审计日志数据保存至公有云对象存储服务或第三方存储资源。</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 42pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #81511c; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 13.5000pt; background: #ffffff;">Q:当前堡垒机做了单机部署,是否支持扩容为高可用部署?</span></p> <p style="margin: 0pt; text-indent: 0pt; padding: 0pt; text-align: left; line-height: 30pt; background: #ffffff; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: 微软雅黑; color: #333333; letter-spacing: 0.0000pt; text-transform: none; font-style: normal; font-size: 10.5000pt; background: #ffffff;">A:堡垒机支持将已经部署完毕并正常运行的单机部署环境扩容为高可用部署,扩容前您需要准备好部署的主机、IP、存储等环境。</span></p> <p style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: Calibri; font-size: 10.5pt;"><span style="font-family: Calibri; font-size: 10.5000pt;">&nbsp;</span></p>

热门标签

4008765417
扫码关注公众号