- 博客(9)
- 收藏
- 关注
原创 centos8安装MySQL8.0并远程登陆
centos8安装MySQL8.0并远程登陆1,安装命令:sudo dnf install @mysql2,设置开机自启:sudo systemctl enable --now mysqld3,查询MySQL运行状况:sudo systemctl status mysqld.serviceActive:active (running) 代表安装成功4,登陆mysql:MySQL -h localhost -P3306(默认) -u root -p password更改user表进行远
2021-01-13 15:51:31
534
原创 Linux Centos7下如配置连接网络
1,使用命令nmcli命令:[root@learnhost /]#nmcli connection add con-name new-Net type ethernet autoconnect yes ifname ens36 ipv4.addresses 192.168.1.200/24 gw4 192.168.1.1 ipv4.method manualcon-name 连接的名字type 连接的类型autoconnect yes 设为自动连接ifname 网卡的名...
2020-07-12 14:29:06
531
原创 linux发行版Ubuntu,elementary os下如何安装微信
1,Ubuntu安装微信2.0版本,下载地址:https://github.com/geeeeeeeeek/electronic-wechat/releases 我下载的是v2.0,根据系统位数选择安装包,我安装的是 linux-x64.tar.gz由于原地址下载太慢了,分享我下载好的百度云盘分享一个链接: https://pan.baidu.com/s/1lCKbDPg_6Chw3YDMeZZjDw 密码: mv2b2,找到下载的位置,然后解压缩,我的安装包放在/home/...
2020-06-23 22:32:47
2092
5
原创 Linux查看服务器硬件设备信息
(1)查看服务器型号、序列号 [root@Master ~]# dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product|Serial"(2)查看主板型号 [root@Master ~]# dmidecode |grep -A16 "System Information$"(3)查看BIOS信息 [root@Master ~]# dmidecode -t bios(4)查看内存槽及内存条 [roo...
2020-05-14 15:44:26
865
原创 Centos7下bash命令自动补全功能安装
1,查看版本[root@TestServer /]# cat etc/redhat-releaseCentOS Linux release 7.7.1908 (Core)2,首先安装epel yum install -y epel-release3,安装 bash-completion, bash-completion-extrasyum install-y bash-completion bash-completion-extras4,查看bash_completio...
2020-05-13 14:05:07
2251
原创 SHELL脚本的一些参数简单整理
操作符 作用“ ”(双引号) 变量依然生效‘ ’ (单引号) 转义所有的字符 ` ` (反引号) 执行命令语句\ (反斜杠) 转义后面单个字符shell脚本$0 当前执行Shell脚本的程序名$1-9 参数的位置变量$#...
2020-04-28 16:48:43
113
原创 Apache命令使用
Apache安装目录在:/usr/local/apache2/更改登陆ip:vim /usr/local/apache2/conf/httpd.conf找到 : ServerName www.example.com:80 更改为 ServerName localhost:80更改防火墙端口或者关闭防火墙:查看防火墙端口:firewall-cmd --list-...
2020-04-26 14:23:01
378
原创 个人总结Linux centos7 下载Apache 出现的问题总结
目前时间2020年4月24日,使用Linux安装apache。使用到的镜像网站:http://mirror.bit.edu.cn/apache/httpd/ https://mirrors.tuna.tsinghua.edu.cn/apache//apr/使用码源安装: 下载压缩包: wget http://...
2020-04-24 12:46:56
387
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人