随笔分类 -  [01]LINUX

上一页 1 2 3 4 5 6 ··· 21 下一页
摘要:# service sshd restart Redirecting to /bin/systemctl restart sshd.service 阅读全文
posted @ 2021-09-13 15:49 TBHacker 阅读(289) 评论(0) 推荐(0) 编辑
摘要:# netstat -ntulp |grep 8000 阅读全文
posted @ 2021-07-29 11:21 TBHacker 阅读(52) 评论(0) 推荐(0) 编辑
摘要:workerman使用 检测是否支持 % curl -Ss http://www.workerman.net/check.php | php PHP Version >= 5.3.3 [OK] Extension pcntl check [OK] Extension posix check [OK] 阅读全文
posted @ 2021-07-17 18:54 TBHacker 阅读(430) 评论(0) 推荐(0) 编辑
摘要:查看java项目 # ps -ef | grep java root 2279 1 0 2月01 ? 05:56:11 java -jar common-controller.jar root 24187 1 0 2月24 ? 01:23:21 java -jar customer-controll 阅读全文
posted @ 2021-07-14 09:43 TBHacker 阅读(387) 评论(0) 推荐(0) 编辑
摘要:修改配置 # requirepass foobared requirepass 123456 重启 阅读全文
posted @ 2021-07-10 18:10 TBHacker 阅读(59) 评论(0) 推荐(0) 编辑
摘要:Redis 如何对外开放 关闭防火墙 进入 # vim /etc/sysconfig/iptables 修改 # -A INPUT -p tcp -m tcp --dport 6379 -j DROP -A INPUT -p tcp -m tcp --dport 6379 -j ACCEPT 重启 阅读全文
posted @ 2021-07-10 17:18 TBHacker 阅读(69) 评论(0) 推荐(0) 编辑
摘要:先卸载 brew安装的node,避免与n安装的node冲突 brew uninstall node 然后安装 n brew install n 通过n 安装不同版本的node sudo n 16.3 sudo n 14.17.0 查看n % n list node/14.17.0 node/16.3 阅读全文
posted @ 2021-06-18 11:21 TBHacker 阅读(543) 评论(0) 推荐(0) 编辑
摘要:node-sass 6.0.0版本与^4.0.0不兼容 1、先卸载之前版本的node-sass npm uninstall node-sass 2、卸载后安装4.0.0版本 npm install node-sass@4.14.1 tips:4.14 要求node版本要为14,高版本的node,可能 阅读全文
posted @ 2021-06-18 10:50 TBHacker 阅读(2601) 评论(0) 推荐(2) 编辑
摘要:打开终端 command+空格,输入“终端”,点击进入。 打开新的终端 如果,想要打开新的终端,command+N。 阅读全文
posted @ 2021-06-03 21:18 TBHacker 阅读(619) 评论(0) 推荐(0) 编辑
摘要:http server { listen 80; #listen [::]:80 default_server ipv6only=on; server_name smart.sqwisdom.net; index index.html index.htm admin.php; root /home/ 阅读全文
posted @ 2021-05-26 10:19 TBHacker 阅读(762) 评论(0) 推荐(0) 编辑
摘要:cd /home/wwwroot/default/smart/Public && php cron.php Test/test >> ../logs/cron.log 2>&1 这个命令的意思是,第一步,先进入Public目录下,然后通过php指令,结合cron.php,执行相关的代码。 把执行的结 阅读全文
posted @ 2021-05-19 11:31 TBHacker 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Docker和宿主Host的关系如上图所示。 查看docker # docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 51bf8220a09f redis:5.0.3 "docker-entrypoint..." 4 阅读全文
posted @ 2021-05-13 10:36 TBHacker 阅读(105) 评论(0) 推荐(0) 编辑
摘要:du -h --max-depth=1 du -hm --max-depth=2 | sort -n du -hm --max-depth=2 | sort -nr | head -12 以上都是当前目录,也可以指定目录 du / -h --max-depth=1 du / -hm --max-de 阅读全文
posted @ 2021-05-13 09:37 TBHacker 阅读(120) 评论(0) 推荐(0) 编辑
摘要:$i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ // $cfg['Servers'][$i]['host'] = 'localhost'; $cf 阅读全文
posted @ 2021-05-12 16:49 TBHacker 阅读(539) 评论(0) 推荐(0) 编辑
摘要:查看 git remote -v 设置新的地址 git remote set-url origin xxx.git 阅读全文
posted @ 2021-05-12 13:02 TBHacker 阅读(84) 评论(0) 推荐(0) 编辑
摘要:下载地址 https://gitee.com/star7th/showdoc 配置nginx server { listen 80; #listen [::]:80 default_server ipv6only=on; server_name local.showdoc.com; index in 阅读全文
posted @ 2021-05-07 17:04 TBHacker 阅读(598) 评论(0) 推荐(0) 编辑
摘要:set password for 'root'@'localhost'=password('Sqkj123456'); 阅读全文
posted @ 2021-05-07 11:53 TBHacker 阅读(99) 评论(0) 推荐(0) 编辑
摘要:sudo chown -R mysql /usr/local/mysql 阅读全文
posted @ 2021-05-07 11:51 TBHacker 阅读(328) 评论(0) 推荐(0) 编辑
摘要:下载wget yum install wget 打开xshell,查看yum源信息: yum repolist 跳转base reop源: cd /etc/yum.repos.d 备份旧的配置文件: mv CentOS-Base.repo CentOS-Base.repo.bak 下载基础源文件(阿 阅读全文
posted @ 2021-05-06 19:02 TBHacker 阅读(205) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 21 下一页