最新动态

今日:0  |  文章:1156
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

linux ldd 命令查看共享文件库

ps -aux | grep nginx # 查看进程的PID  最左边的pidll /proc/16089 | grep exe                   # 查看进程的的  运行主文件ldd /www/server/nginx/sbin/nginx    # 通过ldd 查看进程所在目录# libgcc_s.so.1 => /lib64/li
 
linux   698   2021-07-08
admin
小绿叶技术博客 Lv2 超级管理员

Nginx报504 gateway timeout错误的解决方法

fastcgi_connect_timeout 300;fastcgi_send_timeout 300;fastcgi_read_timeout 300;location /foo {     proxy_pass http://xxx.xxx.xxx.xxx:8080/foo;     proxy_set_header Host $host;     proxy_set_header X-Real-IP $rem
 
linux   755   2021-07-08
admin
小绿叶技术博客 Lv2 超级管理员

windows MSN FUNNY 病毒 用户自动注销

服务器是原因是MSN FUNNY病毒把正常的userinit.exe给破坏了。用户进行输入密码后登录,就会自动注销,然后返回重新登录页面修正注册表:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows] "NoPopUpsOnBoot"=dword:00000001 将上面写成: 1.reg  注册表文件。https://zh
 
windows   1026   2021-07-08
admin
小绿叶技术博客 Lv2 超级管理员

linux centos NetworkManager is not running 解决办法

systemctl start NetworkManager nmcli c reload    # 重启网卡 方法:nmcli c reload +网卡名例:nmcli c reload ens160如果不行,可尝试以下命令# 重载所有ifcfg或route到connection(不会立即生效)nmcli c reload  ifcfg-xxx# 重载指定ifcfg或route到connection(不会立即生效)nmcli c load /etc/sy
 
linux   804   2021-07-07
admin
小绿叶技术博客 Lv2 超级管理员

win 命令打开磁盘管理 挂载磁盘

win + R  进入CMD 命令:diskmgmt.msc        # 打开磁盘管理器点击磁盘右键联机
 
windows   1062   2021-07-07
admin
小绿叶技术博客 Lv2 超级管理员

linux 开机自动启动任务-centos 开机任务,开机执行命令

开机计划任务,来实现自动执行脚本。 echo " mount /dev/vdb1 /www sh /www/wwwroot/huanjing.sh" > /root/start.sh # 脚本位置。 echo " sh /root/start.shdateecho "当前开机执行命令内容" " >> /etc/rc.d/rc.local #写入开机任务 chmod +x /etc/rc.d/rc.local #附加执行权限
 
自动化运维linux   1367   2021-07-07
admin
小绿叶技术博客 Lv2 超级管理员

安装好宝塔,数据盘已自动挂载,怎么把www迁移到数据盘?

宝塔教程:https://www.bt.cn/bbs/thread-16966-1-2.html
 
linux   689   2021-07-07
admin
小绿叶技术博客 Lv2 超级管理员

nginx 301 转跳

# 301 访问2.php文件转跳到另一个网站的2.php文件, 删除$1 就不指定文件名, 如果是https 方式 就要将80改为443在nginx配置文件的 server() 板块进行添加    if ($server_port = 80){          rewrite ^(/2.php)$ http://www.eisc.cn$1 permanent;       }
 
linux   3147   10  2021-07-06
admin
小绿叶技术博客 Lv2 超级管理员

Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一

这个情况是配置文件:    /etc/fstab   配置文件错误处理方法:在界面:   Give root password for maintenance (or type Control-D to continue)    输入root的密码并回车进入命令操作界面!修改配置文件echo "/dev/sdb1                &n
 
linux   912   2021-07-06
admin
小绿叶技术博客 Lv2 超级管理员

nginx 多个配置文件中查找指定端口网站的路径

nginxconf=(`find / -name nginx.conf | grep "nginx/conf/nginx.conf"`) ; echo ${nginxconf[*]}cat ./* | grep -E "listen|root" | grep -A 1 443 # 
 
linux   674   2021-07-05
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息