摘要: 其间参阅过很多博文Linux下安装mysql都不成功, 于是,特意记下安装步骤: Linux:CentOS Linux release 7.4.1708 (Core) MySql:mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz 上传mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz到/usr/local 先查一下libiao库... 阅读全文
posted @ 2020-08-15 09:35 崇尚技术 阅读(2759) 评论(0) 推荐(0)
摘要: ASA 端口映射: 将DMZ区内的主机192.168.169.2映射到防火墙outside接口的interface地址: 设置需要映射的主机 object network server1 host 192.168.169.2 设置需要映射的端口 ciscoasa(config)# object service 3389 ciscoasa(config-service-object)# servi... 阅读全文
posted @ 2020-04-23 22:50 崇尚技术 阅读(1564) 评论(0) 推荐(0)
摘要: 1.使用ASDM进入到配置页面,点开NAT Rules,然后新增Network Object,NAT选项如下图所示设定。 下图设定外网IP映射到内网IP地址192.168.104.2,协议单独使用TCP-smtp。 2.设定防火墙,点开Access Rules,添加Outside进入到192.168.104.2的策略。 如下图所示,开放连接到104.2的SMTP端口权限。 阅读全文
posted @ 2020-04-16 21:42 崇尚技术 阅读(1501) 评论(0) 推荐(0)
摘要: 一.在没有使用证书的情况下每次连接VPN都会出现如下提示 ASA Version: 8.4.(1) ASDM Version: 6.4.(7) 命令 在 ASA 上,可以在命令行中使用若干 show 命令以验证证书的状态。 show crypto ca certificates命令用于查看关于您的证 阅读全文
posted @ 2020-04-16 21:40 崇尚技术 阅读(1009) 评论(0) 推荐(0)
摘要: 1.进入到Configuration→firewall→NAT Rules画面。 2.点“services”添加服务端口,此案例添加TCP 1443和UDP 1443端口映射 3.添加“Network Object NAT Rule” 阅读全文
posted @ 2020-04-16 21:39 崇尚技术 阅读(920) 评论(0) 推荐(0)
摘要: 仅仅做个笔记,熟悉的人请飘过 一、管理员的形式进入命令行,pip install pipenv 当然了,在这之前需要先把python环境装好。 二、进入项目文件夹,执行:pipenv install 绑定项目 三、激活项目的虚拟环境,执行:pipenv shell 四、查看在项目里有哪些包,执行: pip list 五、安装flask,执行:pipenv in... 阅读全文
posted @ 2019-07-02 22:07 崇尚技术 阅读(4840) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography; namespace SHA加密练习1{ class Program { static void Main(string[] args) ... 阅读全文
posted @ 2019-03-04 20:31 崇尚技术 阅读(348) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Security.Cryptography; namespace MD5加密练习1{ class Program { static void Main(string[] args)... 阅读全文
posted @ 2019-03-04 20:15 崇尚技术 阅读(179) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO; namespa... 阅读全文
posted @ 2019-03-02 10:44 崇尚技术 阅读(534) 评论(0) 推荐(0)
摘要: DataGridView控件中的各种事件都无法直接响应Cell中内容的变化,包括KeyPress等事件,可以采用下面方法 无法响应Cell中的回车键 private void dataGridViewBarcode_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (e.C... 阅读全文
posted @ 2019-03-01 22:02 崇尚技术 阅读(1165) 评论(0) 推荐(0)