这是我的小窝

你好,欢迎光临! 

Category Archives: linux

Linux查看cron服务是否启动

2019.08.1 , , No Comments ,

Debian/Ubuntu: service cron status(查看状态) 1 service cron status(查看状态) ...

hostloc论坛python刷分脚本

2019.07.31 , , No Comments ,

安装依赖、添加权限: apt-get install -y python3-pip python3-requests python3-termcolor chmod +x loc.py 创建loc.py文件,将以下文件都放在同目录下: Shell #!/usr/bin/python3 #coding:utf...

Linux调整时区和同步时间的方法

2019.07.15 , , No Comments ,

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate time.windows.com hwclock --show hwclock --hctosys clock -w ...

debian安装nginx绑定域名设置ssl配置文件

2019.07.12 , , No Comments ,

一、安装nginx: apt-get install nginx 1 apt-get install nginx 二、编辑默认配置文件: ...

阿里云debian7,8换源方法

2019.07.12 , , No Comments ,

debian7源: deb http://mirrors.ustc.edu.cn/debian/ stable main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ stable-updates main contrib non-free...

Debian 9/Ubuntu 17添加rc.local开机自启动的方法

2019.07.11 , , No Comments ,

方法 1、添加rc-local.service #以下为一整条命令,一起复制运行: cat > /etc/systemd/system/rc-local.service <<EOF [Unit] Description=/etc/rc.local ConditionPathExist...

pip安装缺少openssl和libssl解决办法

2019.06.18 , , No Comments ,

pip安装最后报错提示: cffi.ffiplatform.VerificationError: importing '/usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.x86_64-linu...

Linux更改时区并同步时间

2019.04.19 , , No Comments ,

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate time.windows.com 123 ln -sf /usr/share/zonei...