这是我的小窝

你好,欢迎光临! 

Prev Next

世界,你好!

每个人的命运从出身的那一刻基本就决定了,你努力了你的人生中就会开那么几朵小花,仅此而已。
more

关于博客

欢迎来到我的博客,一个便贴纸博客!
more

linux查看目录和文件大小命令

2020.05.19 , , No Comments , 2,202 views ,

du -sh *

阿里云卸载云盾/安骑士

2020.04.5 , , No Comments , 2,211 views ,

wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh rm -rf uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod +x quartz_uninstall.sh ./quartz_un...

CentOS7查看和关闭防火墙

2020.03.29 , , No Comments , 2,381 views ,

CentOS 7.0默认使用的是firewall作为防火墙 查看防火墙状态: firewall-cmd --state 停止firewall: systemctl stop firewalld.service 禁止firewall开机启动: systemctl disable firewalld.service

通过iptables防火墙限制端口与放行端口

2020.02.27 , , No Comments , 1,994 views ,

iptables -A INPUT -p tcp --dport 1234 -j DROP iptables -I INPUT 1 -p tcp --dport 1234 -j ACCEPT 12 iptables -A INPUT -p tcp --dport 1234 -j DROPi...

隐藏溢出和内容溢出元素框时自动出现滚动条

2020.01.18 , , No Comments , 2,731 views ,

overflow: hidden; //隐藏溢出 overflow-y: auto; //内容溢出元素框时自动出现滚动条,滑动滚动条显示溢出的内容。

whmcs菜单判断登录

2020.01.15 , , No Comments , 2,765 views ,

{if $loggedin}{else} 中间是登录代码 {/if}

阿里云debian8换源

2020.01.15 , , No Comments , 2,028 views ,

cd /etc/apt rm -rf sources.list.d deb http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ jessie-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian-secu...

阿里云RDS上用mysqldump导入导出

2020.01.15 , , No Comments , 2,077 views ,

mysqldump -h cloudcc.mysql.aliyun.com -u user_name -p --opt --default-character-set=utf8 --extended-insert=false --triggers --hex-blob db_name > /tmp/db_name.sql mysql -h cloudcc.mysql.aliyun.com -u user_name -p db_name ...