随笔分类 -  linux

摘要:mysql服务命令 1.linux下启动mysql的命令 mysqladmin start /ect/init.d/mysql start (前面为mysql的安装路径) 2.linux下重启mysql的命令: mysqladmin restart /ect/init.d/mysql restart 阅读全文
posted @ 2022-11-16 09:09 Dabo丶 阅读(140) 评论(0) 推荐(0) 编辑
摘要:一、【iptables】防火墙 查看防火墙状态 service iptables status 停止防火墙 service iptables stop 启动防火墙 service iptables start 重启防火墙 service iptables restart 永久关闭防火墙 chkcon 阅读全文
posted @ 2022-10-20 11:56 Dabo丶 阅读(586) 评论(0) 推荐(0) 编辑
摘要:1.下载 https://www.oracle.com/java/technologies/downloads/#java8 2.创建java文件夹(usr-local)赋予高权限 chmod 777 java 3.解压文件 tar -zvxf jdk-linux-x64.tar.gz 4.配置环境 阅读全文
posted @ 2022-07-28 14:34 Dabo丶 阅读(39) 评论(0) 推荐(0) 编辑
摘要:linux开放端口的两种方法(选其一): Linux命令: 开发端口 /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT 保存 /etc/rc.d/init.d/iptables save 重启 /etc/init.d/iptables res 阅读全文
posted @ 2022-07-28 14:34 Dabo丶 阅读(920) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示