随笔分类 -  linux学习

摘要:可能是虚拟机内存设置过小,调大试试,注意虚拟机状态为已保存时,先恢复为关机状态。 原帖链接 https://www.zhihu.com/question/389685322 阅读全文
posted @ 2022-06-16 16:13 qwaszx1! 阅读(593) 评论(0) 推荐(0)
摘要:1 linux服务器安全(ubuntu举例) 1.1 设置服务器禁PING echo "1"> ./icmp_echo_ignore_all,将icmp_echo_ignore_all值设置为1,表示不响应ping操作。重启失效,想让重启生效需把该文件加入系统设置中 1.2 禁止Contral+Al 阅读全文
posted @ 2022-01-24 22:53 qwaszx1! 阅读(183) 评论(0) 推荐(0)
摘要:1 LAMP架构 流程图 A:apache,动静分离,静态数据找到后直接返回,动态数据转发到应用服务器/数据库,进一步处理后再返回 2 apache安装 命令行安装,apt-get install apache2 查看端口,确保安装成功,默认监听80端口,netstat -tunlp|grep ap 阅读全文
posted @ 2022-01-05 20:54 qwaszx1! 阅读(119) 评论(0) 推荐(0)
摘要:1 安装nginx 下载安装nginx,apt-get install nginx 查看nginx是否安装成功,nginx -v 启动nginx,service nginx start 查看端口命令, netstat -aptn|grep nginx,使用netstat命令时需先安装 net-too 阅读全文
posted @ 2022-01-05 20:23 qwaszx1! 阅读(51) 评论(0) 推荐(0)
摘要:1、ubuntu允许SSH登录 1.1 ubuntu发行版安装/开启ssh服务 安装SSH服务端,sudo apt-get install openssh-server 开启SSH服务,sudo /etc/init.d/ssh start或service ssh start 查看SSH服务端是否启动 阅读全文
posted @ 2022-01-05 20:23 qwaszx1! 阅读(45) 评论(0) 推荐(0)

HTML