@@ -41,6 +41,10 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
|||||||
* 例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
* 例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# use yum
|
||||||
|
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
|
||||||
|
|
||||||
|
# use dnf
|
||||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,10 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
|||||||
- Run the following commands on the `Redhat/Fedora` system
|
- Run the following commands on the `Redhat/Fedora` system
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# use yum
|
||||||
|
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
|
||||||
|
|
||||||
|
# use dnf
|
||||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ TEST(LocationClient, callable)
|
|||||||
{
|
{
|
||||||
InitializeSdk();
|
InitializeSdk();
|
||||||
ClientConfiguration configuration("cn-hangzhou");
|
ClientConfiguration configuration("cn-hangzhou");
|
||||||
configuration.setConnectTimeout(100000);
|
configuration.setConnectTimeout(300000);
|
||||||
configuration.setReadTimeout(100000);
|
configuration.setReadTimeout(300000);
|
||||||
Model::DescribeEndpointsRequest req;
|
Model::DescribeEndpointsRequest req;
|
||||||
req.setId("cn-hangzhou");
|
req.setId("cn-hangzhou");
|
||||||
req.setServiceCode("ecs");
|
req.setServiceCode("ecs");
|
||||||
|
|||||||
Reference in New Issue
Block a user