自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(333)
  • 收藏
  • 关注

原创 centos 7 安装 selenium

332 pip install selenium 333 yum install pip 334 yum install python-pip 335 pip 336 pip install selenium 337 pip install --upgrade pip 338 pip install selenium 339 ./robot.py 2 340 pwd 341 ll 342 wget https://dl.google.com/li

2022-06-02 16:09:17 553

原创 git 回滚版本

501 2021-01-22 21:55:23 git log 502 2021-01-22 21:55:47 git reset 415437bf447d455b9eaf63f3c8b2e758a3fba375 503 2021-01-22 21:56:11 git push origin HEAD --force 504 2021-01-22 21:56:47 git status 505 2021-01-22 21:57:46 git checkout . 506 ...

2021-01-22 22:06:14 178

原创 sed

sed -e "s#鄂ICP备<font style=\"font-family:Arial, Helvetica, sans-serif\">12009379</font>#<a href=\"https:\/\/beian.miit.gov.cn\/\" target=\"_blank\">鄂ICP备<font style=\"font-family:Arial, Helvetica, sans-serif\">12009379</font>.

2020-12-29 14:59:52 184

原创 Cannot ‘start‘ instance b42bc950-4572-4628-9375-28c2d45453ed while it is in vm_state error (HTTP 409

openstack 启动实例,报错Cannot 'start' instance b42bc950-4572-4628-9375-28c2d45453ed while it is in vm_state error (HTTP 409在对应的计算节点运行下列命令即可setenforce 0

2020-12-23 11:57:01 1217

原创 cmd 关闭进程

2020-12-21 15:50:22 1653

原创 Eclipse 4.17 安装 spring

https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3

2020-11-20 15:09:11 496

原创 64位CentOS 6.4下开启SELinux使用ZendGuardLoader方法

Zend Guard Loader的配置方法就不说了,网上搜索到处都是,这里主要讲如何开启SELinux使用Zend Guard Loader。步骤如下:1.先将ZendGuardLoader.so的安全性本文类型设置为lib_t类型,chcon -t lib_t /usr/lib64/php/modules/ZendGuardLoader.so2.再将身份识别设置为system_u类型,chcon -u system_u /usr/lib64/php/modules/ZendGuardL...

2020-10-29 16:01:34 181

原创 服务器断电后 mariadb服务无法启动

InnoDB数据库的问题,但是无法判断是哪个库的问题。后来,根据搜到的内容,将/var/lib/mysql下面的ibdata1重命名为ibdata,问题解决。

2020-10-28 14:50:36 623

原创 openstack centos ubuntu 初始化密码

guestfish --rw -a bionic-server-cloudimg-amd64.imgWelcome to guestfish, the guest filesystem shell forediting virtual machine filesystems and disk images.Type: ‘help’ for help on commands ‘man’ to read the manual ‘quit’ to quit the she.

2020-06-19 13:11:42 291

转载 OpenStack虚拟网络与物理网络的衔接(flat方式)

https://www.cnblogs.com/gleaners/p/5632708.html

2020-06-16 16:13:40 391

原创 openstack 创建实例 打开 修改密码功能

打开之后,出现2个创建实例按钮,第二个即可以修改安装密码

2020-06-11 11:50:18 823

原创 在线正则验证

https://github.com/doublechaintech/scm-biz-suite/blob/master/DEPLOYMENT.mdhttps://regex101.com/https://regexr.com/558m5

2020-05-28 16:38:58 289

原创 virtualbox centos7 nat hostonly 多网卡配置

2020-05-14 16:59:10 158

原创 win server 2008 r2 不能远程桌面

打开“开始→运行”,输入“regedit”,打开注册表,进入以下路径:[HKEY_LOCAL_MACHINE\SYSTEM\  CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp], PortNamber 默认值是3389...

2020-04-29 16:57:16 1928

原创 iis8HTTP错误404.17的解决办法

2020-04-28 11:19:10 864

原创 Could not find default role "user" in keystone.

2020-04-11 15:27:38 527

原创 fastadmin checkbox

2020-01-03 16:16:13 2840

原创 fastadmin 生成多选框

2019-12-27 16:17:50 2402

原创 fastadmin 表格数据解析html标签

2019-12-27 16:16:01 1660

原创 Fedora Media Writer

2019-12-25 14:50:01 2971

原创 linux safedog

2019-11-14 08:57:18 207

原创 win server 2012 iis 8 支持asp

2019-11-13 14:52:23 294

原创 ambari 启动问题

ERROR: Exiting with exit code -1.REASON: Ambari Server java process died with exitcode 255. Check /var/log/ambari-server/ambari-server.out for more information.我在安装的过程中也遇到过这个问题,我的情况是当时执行ambari-...

2019-08-16 10:58:56 627

原创 yum install nginx

rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpmyum install -y nginx

2019-08-14 17:22:30 119

原创 ambari

https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.7.3https://www.jianshu.com/p/addca5fca73c

2019-08-05 15:38:41 259

原创 oracle 相关

sqlplus /nologconn /as sysdbaalter user scott account unlock;exp user/password@orclfile=~/full20190731.dmp full=y

2019-07-31 11:04:49 116

原创 ImageMagick

现在有很多朋友在使用安装ImageMagick imagick for php了,今天自己也想做但是不知道如何操作,下面我来给大家介绍Centos 安装ImageMagick imagick for php步骤,各位同学可参考。关于什么是ImageMagickImageMagick是一套软件系列,主要用于图片的创建、编辑以及转换等Centos 安装ImageMagick1. ...

2019-03-07 21:46:19 285

原创 http://releases.ubuntu.com/14.04/

http://releases.ubuntu.com/14.04/pip install virtualenvhttps://pypi.org/project/bika.lims/https://pypi.org/project/senaite.lims/

2019-03-03 20:10:46 264

原创 Bika LIMS Installation

https://github.com/bikalims/bika.lims/wiki/Bika-LIMS-Installation#introductionhttps://demo.bikalims.org/https://plone.org/download

2019-03-01 10:09:35 1818

转载 ubuntu 配置 ip

Ubuntu配置和修改IP地址1、修改配置文件/etc/network/interfacesroot@ubuntu:~#sudo gedit /etc/network/interfaces添加以下内容:auto eth0 #设置自动启动eth0接口iface eth0 inet static #配置静态IPaddress 192.168.11.8...

2019-03-01 09:56:53 773

原创 win 系统 计划任务 重启 nginx

start /D E:\nginx-1.14.0\nginx-1.14.0\ nginx -s reload   

2019-02-11 14:55:15 844

原创 vmware centos 不能联网

网络适配器选择桥接模式

2019-01-23 14:40:02 245

转载 Content Security Policy 入门教程

https://www.cnblogs.com/alisecurity/p/5924023.html http://itindex.net/detail/52305-apache-header-%E5%AE%89%E5%85%A8

2018-12-12 15:23:19 193

原创 phpstudy phocms 故障排查记录

来龙去脉系统启用了超时注销账户,所以非系统服务都会被停掉,遂将phpstudy下的apache注册为服务,由于注册的时候php版本如下Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.5.38所以后来再切换php版本的时候产生冲突,导致phpcms后台登陆验证码一直错误,真正原因是session无法获取。解决办法:设定好php版本,再次注册a...

2018-10-21 10:48:11 360

原创 set session sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREA

set session sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' 

2018-10-20 19:00:05 2666

转载 导入数据库时报错1067 – Invalid default value for ‘字段名’

Invalid default value for 'comment_date'mysql&gt; show variables like 'sql_mode';+---------------+---------------------------------------------------------------------------------------------------...

2018-10-09 20:19:29 509

转载 PHPCMS 核心代码与 www 分离部署

在PHPCMS中,核心代码以及模板文件都在网站程序的phpcms目录中,为了网站的安全,可以考虑把phpcms目录转移到其他路径下,而不是默认的根目录中,如何操作呢?先看下默认的目录结构:默认状态下,phpcms目录就在根目录,一般情况下网站都放在www或者wwwroot目录中,我们可以考虑把phpcms目录移动至于www平级的目录中,如图:因为我们的域名是解析到www目录的,...

2018-09-30 10:02:27 624

原创 iis http ->https,添加例外

2018-09-20 12:02:00 573

转载 检测到目标URL存在http host头攻击漏洞

详细描述:为了方便的获得网站域名,开发人员一般依赖于HTTP Host header。 例如,在php里用_SERVER["HTTP_HOST"]。但是这个header是不可信赖的,如果应用程序没有对host header值进行处理,就有可能造成恶意代码的传入。解决办法: web应用程序应该使用SERVER_NAME而不是host header。在Apache 和Nginx 里可以通过...

2018-09-19 11:59:55 7979

转载 http://www.jq22.com/cdn/

http://www.jq22.com/cdn/

2018-09-19 10:58:40 1791

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除