自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

白小白的小白的博客

知之为知之,不知为不知

  • 博客(5)
  • 收藏
  • 关注

原创 python内置函数

dicttuple_data1 = [('one', 1), ('two', 2), ('three', 3)]tuple_data2 = zip(['one', 'two', 'three'], [1, 2, 3])dict_data1 = dict(tuple_data1)dict_data2 = dict(tuple_data2)dict_data3 = dict(one=1, two=2, three=3)print(dict_data1)print(dict_data2)pri.

2021-02-26 11:00:44 117

原创 阿里云oss添加cdn

登录阿里云添加加速域名(首先要开通cdn加速服务)2. 解析域名![在这里插入图片描述](https://img-blog.csdnimg.cn/2021022216292493.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQyODc0NjM1,size_16,color_FFFFFF,t_70#pic_center

2021-02-22 16:33:05 880

原创 redis设置外网连接

首先要看看自己服务器有没有开防火墙,如果没有开启则不用操作第一步,如果开启,则需要把redis的接口允许访问systemctl status firewalld dead状态,即防火墙未开启systemctl start firewalld.service 开启防火墙systemctl stop firewalld.service 关闭防火墙firewall-cmd --query-port=6379/tcp 查询6379端口是否允许访问firewall-cmd --list-po.

2021-02-05 10:11:02 2118

原创 nginx 配置环境变量

打开系统配置文件:vim /etc/profile添加配置文件:PATH=$PATH:/home/nginx/nginxssl/sbin #nginx启动文件路径 export PATH保存配置文件:source /etc/profile

2021-02-04 11:35:58 2123

原创 centos下安裝python

更新系统文件yum updateyum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make下载安装包并解压wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xztar -xf Python-3.7.6.tar.xz编译安装.

2021-02-02 12:36:13 300

空空如也

空空如也

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

TA关注的人

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