上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 获取当前系统可用的时区名称 timedatectl list-timezones 记下符合你要求的时区,以 root 或者其他有 sudo 权限的用户身份,运行下面的命令: sudo timedatectl set-timezone your_time_zone # 如想要将系统时区设置为 Asia 阅读全文
posted @ 2022-10-12 16:23 *^VV^* 阅读(165) 评论(0) 推荐(0)
摘要: 一、如果systemctl status apparmor启动成功可按下面步骤: 1. 先使用下面命令将mysql数据库服务停止: sudo systemctl stop mysql 2. 迁移到挂载新盘 /mnt/data/ 方式一:sudo mv /var/lib/mysql /mnt/data 阅读全文
posted @ 2022-10-08 10:17 *^VV^* 阅读(261) 评论(0) 推荐(0)
摘要: 1、安装aptitude sudo apt-get install aptitude 2、通过aptitude安装软件 sudo aptitude install xxxxxxxxxx 3、删除软件 命令 特点 apt-get autoremove 删除为了满足依赖而安装的,但现在不再需要的软件包( 阅读全文
posted @ 2022-10-08 09:29 *^VV^* 阅读(196) 评论(0) 推荐(0)
摘要: 1、文件系统挂载示例(/etc/fstab) <file system> <mount point> <type> <options> <dump> <pass>UUID=128559db-a2e0-4983-91ad-d4f43f27da49 / ext3 defaults,errors=remo 阅读全文
posted @ 2022-10-07 15:58 *^VV^* 阅读(115) 评论(0) 推荐(0)
摘要: 1、haproxy安装 sudo apt-get install haproxy 2、haproxy参数 mode http/tcp #指定负载协议类型 option #配置选项 server #定义后端real server #注意:option后面加httpchk,smtpchk,mysql-c 阅读全文
posted @ 2022-10-07 11:19 *^VV^* 阅读(385) 评论(0) 推荐(0)
摘要: 1、安装数据库服务器和客户端 sudo apt-get install mariadb-server mariadb-client 2、安装Mariadb信息查询 sudo apt install libmariadb-dev-compat 3、makefile设置(通过mysql_config查看 阅读全文
posted @ 2022-10-06 13:32 *^VV^* 阅读(191) 评论(0) 推荐(0)
摘要: sudo apt-get install manpages-posix manpages-posix-dev 阅读全文
posted @ 2022-10-06 10:38 *^VV^* 阅读(77) 评论(0) 推荐(0)
摘要: 一、建立新用户 1. 登录root用户 su root 2. 创建新用户 sudo useradd -r -m -s /bin/bash 用户名 其中参数的意义如下: -r:建立系统账号 -m:自动建立用户的登入目录 -s:指定用户登入后所使用的shell 3. 手动为用户设置密码 sudo pas 阅读全文
posted @ 2022-10-05 22:15 *^VV^* 阅读(3715) 评论(0) 推荐(0)
摘要: 开启事件调度器 1、确认是否开启 SHOW VARIABLES LIKE 'event_scheduler'; 2、开启命令 SET GLOBAL event_scheduler = ON; 创建事件<创建后默认开启>CREATE EVENT [IF NOT EXISTS] event_name O 阅读全文
posted @ 2022-09-28 15:30 *^VV^* 阅读(242) 评论(0) 推荐(0)
摘要: 1、查询系统TCP相关服务及端口状态 netstat -tnlp 2、查询系统UDP相关服务及端口状态 netstat -unlp 阅读全文
posted @ 2022-09-08 13:04 *^VV^* 阅读(22) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页