用安装镜像进入rescue模式 chroot /mnt/sysimage/ rescue模式不会自动配置网络,需要手动配置。使用ip link命令。 ip link set dev xxxx up ip addr add xx.xx.xx.xx/24 dev xxxx ip route add de ...
分类:
其他好文 时间:
2020-08-15 22:33:45
阅读次数:
124
出现这个问题,控制台会报[NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated"}]。其原因在于Vue-router在3.1之后把$router.push()方法改为了Promise。所以假如... ...
分类:
其他好文 时间:
2020-08-12 15:52:30
阅读次数:
52
一、准备1、一台可以访问互联网的云服务器,已经安装了服务商提供的Centos操作系统。2、有控制台权限,可以访问控制台(或者叫VNC)二、操作1、查询云服务器的信息ifconfig//获取IP和子网掩码route-n//获取网关cat/etc/resolv.conf//获取DNS,或者用其他公共DNS服务器2、编辑grub配置文件,增加以下启动项menuentry‘NetInstall‘{setr
分类:
其他好文 时间:
2020-08-09 11:52:53
阅读次数:
86
There are n cities connected by m flights. Each flight starts from city u and arrives at v with a price w. Now given all the cities and flights, toget ...
分类:
其他好文 时间:
2020-08-05 10:29:42
阅读次数:
73
1、启动设备,设置PC1和PC2的IP地址、子网掩码和网关 2、配置SW1信息: <Huawei>undo terminal monitor 关闭弹窗 <Huawei>system-view 进入系统试图 [Huawei]user-interface console 0 [Huawei-ui-con ...
分类:
其他好文 时间:
2020-07-30 21:44:55
阅读次数:
88
Flask简单使用 1、定义路由 @app.route('/')是装饰器,定义如下: app.route(rule, options) rule参数:是绑定URL与函数。 options参数:是可选参数。 2、run() 函数来让应用运行在本地服务器上。定义如下 : app.run(host, po ...
分类:
其他好文 时间:
2020-07-29 21:55:38
阅读次数:
87
效果图: 1.XAML部分 <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft ...
分类:
其他好文 时间:
2020-07-29 00:46:25
阅读次数:
110
use Illuminate\Support\Facades\Route; Route::get('/', 'TestController@index'); //基础路由的定义,Route::请求方式('url',匿名函数);Route::请求方式('url','控制器名称@操作方法'); Rout ...
分类:
其他好文 时间:
2020-07-28 14:01:46
阅读次数:
83
mysql读写分离读写分离首先不推荐使用,很多业务场景也没有必要,不仅增加技术复杂度,而且可能会导致读到落后的数据,建议优化数据库,推荐使用keepalive+mysql双主复制的方案然后mysql-proxy是官方推出的中间件,不仅无法高可用,而且这个项目已经夭折了,使用mysql-route了,本次仅记录mysql-proxy的安装过程。mysql-proxy不再支持mysql5.7以后的cl
分类:
数据库 时间:
2020-07-28 10:25:43
阅读次数:
103
描述 73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route t ...
分类:
其他好文 时间:
2020-07-26 19:29:18
阅读次数:
90