linux
hello linux hello word
Ocean@上源码
这个作者很懒,什么都没留下…
展开
-
Linux 修改时区
ln -s /usr/share/zoneinfo/Asia/Beijing /etc/localtimetimedatectl set-timezone Asia/Beijingdate -s "2023-11-29 14:59:00"原创 2023-11-29 16:10:12 · 56 阅读 · 0 评论 -
Linux 连接工具
1.MobaXterm官方网址:https://mobaxterm.mobatek.net/2.RealVNC官方网址:https://www.realvnc.com/en/3.Xshell官方网址:https://www.xshell.com/zh/xshell/4.secureCRT官方网址:https://www.vandyke.com/products/securecrt/index.html5.PuTTY官方网址:https://www.putty.org原创 2023-10-26 11:08:48 · 146 阅读 · 0 评论 -
Linux 内存清理
1.查看内存使用情况2.内存清理3.内存清理脚本原创 2023-06-28 11:12:35 · 586 阅读 · 0 评论 -
linux 常用命令 @上源码
清空文件 echo “” > xx.log。通过 stat 命令查询文件的变更情况。linux内部命令失效修复。原创 2021-06-02 10:51:03 · 238 阅读 · 0 评论 -
LINUX安装JDK
1)下载2)解压缩tar -xzvf jdk-8u151-linux-x64.tar.gz3)配置/etc/profilevim /etc/profileexport JAVA_HOME=/usr/local/jdk1.8.0_151export PATH=$JAVA_HOME/bin:$PATH...原创 2021-11-23 15:01:11 · 1406 阅读 · 0 评论 -
Linux安装MySQL(mysql8、mysql5.7)
centos8 root 安装MySQL安装sudo dnf install @mysql一路 y启动systemctl start mysqld.service登录(为设置密码直接登录)mysql -u root -p设置密码alter user 'root'@'%' identified by 'password';工具mysql链接/授权远程访问(关闭防火墙-开启3306访问通道)mysql8之前grant all privileges on *.* to 'roo.原创 2021-09-19 15:24:15 · 316 阅读 · 0 评论 -
Linux/windows 开机自启动配置
linux1、在“/etc/rc.local”文件中添加自启动命令“/xxx/./xxx.sh”或“cd /xxx && ./xxx.sh”。2、在“/etc/init.d”目录下添加自启动脚本。windows找到-进入StartUp目录 添加待开机运行脚本(xxx.bat)的快捷方式。...原创 2022-08-07 08:19:38 · 323 阅读 · 0 评论 -
LINUX 安装 MAVEN
1.资源下载2.解压缩(/usr/local目录下)3.配置/etc/profile4.验证安装 wget https://dlcdn.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz2)解压缩(/usr/local目录下) tar -xzvf apache-maven-3.8.4-bin.tar.gz3)配置/etc/profile vim /etc/profile...原创 2021-11-26 16:33:41 · 257 阅读 · 0 评论 -
polkit pkexec 本地提权漏洞修复方案
6、Ubuntu 18.04 LTS、Ubuntu 20.04 LTS的用户可通过apt update policykit-1升级修复,Ubuntu 14.04、16.04、12.04官方已终止生命周期 (EOL)维护,修复需要额外付费购买Ubuntu ESM(扩展安全维护)服务,建议停止使用;2、CentOS 7的用户可通过yum update polkit升级修复(云安全中心Linux软件漏洞已支持检测修复),Centos 5、6、8官方已终止生命周期 (EOL)维护,建议停止使用;原创 2023-02-18 17:41:38 · 1629 阅读 · 0 评论