摘要: 用yum安装nginx的话只需要 systemcel enable nginx.service 就可以启动服务了 但是我用的是源码安装,此时会报如下错误" Failed to start nginx.service: Unit not found. " 这时候我们需要在系统服务目录里面创建nginx 阅读全文
posted @ 2019-12-31 16:07 hokisang 阅读(2066) 评论(0) 推荐(0)
摘要: 今天碰巧帮小伙伴写个小小的程序来完成八位字符串的固定位置互换,"123b5c7a"要换成"7ac5b321" 就想到了运用string转换成list然后再用list来进行位置的互换。 # -*- coding: utf-8 -*- L2=["12908ad0","16005a79","160055f 阅读全文
posted @ 2019-12-20 18:31 hokisang 阅读(496) 评论(0) 推荐(0)