上一页 1 2 3 4 5 6 7 8 ··· 74 下一页

2020年8月6日

Change the HostName of CentOS 8

摘要: There are three classes of hostname: static, pretty, and transient.static - The traditional hostname. It is stored in the /etc/hostname file and can b 阅读全文

posted @ 2020-08-06 22:11 遠離塵世の方舟 阅读(472) 评论(0) 推荐(0) 编辑

CentOS8 修改SSH端口,禁用root登录,修改SSH协议

摘要: [root@centos8 ~]# cat /etc/redhat-release CentOS Linux release 8.2.2004 (Core) 1. Create Test SUDO user and add to wheel group.[root@centos8 ~]# usera 阅读全文

posted @ 2020-08-06 21:30 遠離塵世の方舟 阅读(4745) 评论(0) 推荐(0) 编辑

CentOS8 Disable IPV6 and Selinux

摘要: #ifconfig -a | grep inet6#ip addr show | grep net6 #vi /etc/default/grubGRUB_CMDLINE_LINUX 该行增加ipv6.disable=1 [root@centos8 ~]# grep CMDLINE /etc/defa 阅读全文

posted @ 2020-08-06 15:35 遠離塵世の方舟 阅读(680) 评论(0) 推荐(0) 编辑

2020年8月2日

Ubuntu 20.04 Install SSH, Change SSH Port, Enable root

摘要: 1. Install SSH service $ sudo apt install openssh-server$ systemctl status sshd$ sudo systemctl restart ssh$ sudo ufw allow ssh$ sudo systemctl enable 阅读全文

posted @ 2020-08-02 18:40 遠離塵世の方舟 阅读(402) 评论(0) 推荐(0) 编辑

ubuntu 20.04 重启网卡服务

摘要: 1. 图形界面 Turn Off,之后重新Connect 2. The first and recommended command to restart your network is: $ sudo netplan apply 3. Network restart for networkd man 阅读全文

posted @ 2020-08-02 15:00 遠離塵世の方舟 阅读(14455) 评论(0) 推荐(0) 编辑

2020年7月26日

Ubuntu 20.04 Install Guest Additions for VirtualBox

摘要: Ubuntu 20.04 Install Guest Additions for VirtualBox时有报错: This system is currently not set up to build kernel modules.Please install the gcc make perl 阅读全文

posted @ 2020-07-26 20:28 遠離塵世の方舟 阅读(2003) 评论(1) 推荐(1) 编辑

2020年7月19日

Mysql-show processlist

摘要: mysql> show processlist; Analyzing线程对MyISAM 表的统计信息做分析(例如, ANALYZE TABLE )。checking permissions线程检查服务器是否具有所需的权限来执行该语句。Checking table线程正在执行表检查操作。cleanin 阅读全文

posted @ 2020-07-19 03:03 遠離塵世の方舟 阅读(232) 评论(0) 推荐(0) 编辑

2020年7月15日

MySQL show full processlist 以及group_concat_max_len参数设置

摘要: 查询Mysql当前正在运行的SQL语句:show full processlist或者show processlist 结果都是从information_schema.processlist表取的结果,所以也可以主直接查询该表select info from information_schema.p 阅读全文

posted @ 2020-07-15 14:11 遠離塵世の方舟 阅读(415) 评论(0) 推荐(0) 编辑

Mysql 报错 [Server] Error in accept: Too many open files

摘要: 查看Mysql日志/var/log/mysqld.log,有如下报错: 2019-05-28T15:08:16.325376Z 0 [ERROR] [MY-010283] [Server] Error in accept: Too many open files Mysql版本: # mysql - 阅读全文

posted @ 2020-07-15 05:45 遠離塵世の方舟 阅读(1088) 评论(0) 推荐(0) 编辑

Mysql 将查询结果导出到文件

摘要: 1. 直接将结果输出到文件mysql -uroot -p -D database_name -e "select * from table" > /tmp/test111 2. 使用pager设置显示方式 如果select出来的结果集超过几个屏幕,那么前面的结果一晃而过无法看到。使用pager可以设 阅读全文

posted @ 2020-07-15 03:51 遠離塵世の方舟 阅读(2456) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 74 下一页

导航