摘要: server { listen 80; server_name jira.bdgatewaynet.com; rewrite ^(.*) https://$server_name$1 permanent; } server { listen 443 ssl; server_name jira.bdg 阅读全文
posted @ 2023-05-28 13:25 warm9595 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 58 yum -y install openvpn-as-bundled-clients-25.rpm 59 yum -y install openvpn-as-bundled-clients-27.rpm 60 ll 61 yum install openvpn-as-2.11.3_af31575 阅读全文
posted @ 2023-05-04 15:06 warm9595 阅读(2) 评论(0) 推荐(0) 编辑
摘要: (23条消息) Windows Server安装Office提示需要(IIS)7.0,ASP.NET v4.0包含在IIS Web服务器扩展列表中。_本产品需要iis7.0或更高版本_BK_小小关的博客-CSDN博客 win2019 安装报错解决 安装角色与服务 Add-WindowsFeature 阅读全文
posted @ 2023-04-15 23:26 warm9595 阅读(142) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33TYPE="Ethernet"PROXY_METHOD="none"BROWSER_ONLY="no"BOOTPROTO="static"IPADDR=192.168. 阅读全文
posted @ 2023-01-25 22:49 warm9595 阅读(22) 评论(0) 推荐(0) 编辑
摘要: openvpnas rpm -ivh openvpn-as-2.5.2-CentOSrelease.x86_64.rpm ###安装 passwd openvpn 修改密码 将破解文件放到/usr/local/openvpn_as/lib/python2.7/site-packages/目录下,备份 阅读全文
posted @ 2023-01-21 23:15 warm9595 阅读(129) 评论(0) 推荐(0) 编辑
摘要: a、配置主机名和解析 a1、编辑/etc/sysconfig/network,修改 hostname=mail.gushiwangguan.top hostnamectl set-hostname mail.gushiwangguan.top a2、编辑/etc/hosts,添加记录 192.168 阅读全文
posted @ 2023-01-12 13:14 warm9595 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 关闭防火墙[root@localhost ~]# firewall-cmd --state running [root@localhost ~]# systemctl list-unit-files|grep firewalld.service firewalld.service enabled [ 阅读全文
posted @ 2023-01-12 13:10 warm9595 阅读(93) 评论(10) 推荐(0) 编辑
摘要: 缩进格式 冒号 If条件判断 if 判断条件: 执行语句 elif 判断条件: 执行语句 else: 执行语句 while While 判断条件: 执行语句 break 跳出循环 continue 跳到下一次循环 for for item in sequence: 执行语句 range和xrange 阅读全文
posted @ 2018-04-04 22:31 warm9595 阅读(72) 评论(0) 推荐(0) 编辑
摘要: dict 字典就是我们在其他原因中用到的key:value形式的一种表达形式,例如,在java中有map,javascript的json, redis中的hash等等这些形式,都是换汤不换药。 字典可以存储任意的对象,也可以是不通的数据类型,但是java中的map就不可以。{“name”:“ling 阅读全文
posted @ 2018-04-01 23:16 warm9595 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Python的数据类型 字符串的定义: >>>str1 = "aaaaaa" >>>str2 = 'bbbbbb' >>>str3 = '''cccccc''' 字符串常用的方法: find 字符串中查找sub字符串的内容,如果找到,返回字符串的下标 replace(old,new) 字符串内容老的 阅读全文
posted @ 2018-03-30 23:19 warm9595 阅读(120) 评论(0) 推荐(0) 编辑