这是我的小窝

你好,欢迎光临! 

Category Archives: linux

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 二、配置文件里加上以下代码设置ssl: ...

阿里云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...

linux开机创建screen运行shell脚本

2019.04.19 , , No Comments ,

#!/usr/bin/env bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH cd /root/myv2ray screen_name=$"MyV2ray" scree...

小飞机开机启动

2019.04.19 , , No Comments ,

Centos系统: chmod +x /etc/rc.d/rc.local vi /etc/rc.d/rc.local 12 chmod +x /etc/rc.d/rc.localvi /etc/rc.d/rc.local...