06 2023 档案

摘要:<h3c>system-view # 进入系统视图模式 [H3C]snmp-agent # 开始snmp [H3C]snmp-agent community read public # 配置snmp团体名 public [H3C]snmp-agent sys-info version all # 开 阅读全文
posted @ 2023-06-20 16:59 QUDE 阅读(171) 评论(0) 推荐(0)
摘要:安装字体 yum -y install wqy-microhei-fonts 修改字体 \cp /usr/share/fonts/wqy-microhei/wqy-microhei.ttc /usr/share/fonts/dejavu/DejaVuSans.ttf 注:\cp 表示还原命令原意,直 阅读全文
posted @ 2023-06-20 14:03 QUDE 阅读(32) 评论(0) 推荐(0)
摘要:关闭防火墙 sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config systemctl disable --now firewalld 获取yum源 rpm -Uvh https://mirrors.aliyun.com/ 阅读全文
posted @ 2023-06-19 16:43 QUDE 阅读(22) 评论(0) 推荐(0)
摘要:pass TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hungarian Russian Chinese 阅读全文
posted @ 2023-06-19 11:03 QUDE 阅读(15) 评论(0) 推荐(0)
摘要:查看数据库 show databases; 创建数据库 create database db1; 创建数据库db1 删除数据库 drop database db1; 删除数据库db1 切换进入数据库 use user 进入user数据库 查看数据库中的表 show tables; 创建表 创建表的方 阅读全文
posted @ 2023-06-16 10:55 QUDE 阅读(221) 评论(0) 推荐(0)
摘要:清华大学开元软件镜像站:https://mirrors.tuna.tsinghua.edu.cn/help/centos/ 备份原始CentOS-Base.repo文件 [root@Centos7 ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.r 阅读全文
posted @ 2023-06-16 10:34 QUDE 阅读(4391) 评论(0) 推荐(0)
摘要:1 创建mysql.repo文件 2 [root@centos7 ~]#tee /etc/yum.repos.d/mysql.repo <<EOF 3 [mysql] 4 name=mysql5.7 5 baseurl=https://mirrors.tuna.tsinghua.edu.cn/mys 阅读全文
posted @ 2023-06-15 17:24 QUDE 阅读(61) 评论(0) 推荐(0)
摘要:把程序的war包放在/usr/local/tomcat/webapps/下自动解压部署 [root@centos8 webapps]#ls docs examples host-manager app1 app1.war manager ROOT 直接访问http://ip:8080/app1 RO 阅读全文
posted @ 2023-06-14 18:07 QUDE 阅读(15) 评论(0) 推荐(0)
摘要:官方帮助文档:http://tomcat.apache.org/tomcat-8.5-doc/index.html 在tomcat安装目录下的 conf 子目录中,有以下的 tomcat 的配置文件 注意:配置文件大小写敏感 TRANSLATE with x English Arabic Hebre 阅读全文
posted @ 2023-06-14 17:59 QUDE 阅读(58) 评论(0) 推荐(0)
摘要:目录结构 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hungarian Russian Chinese 阅读全文
posted @ 2023-06-14 17:56 QUDE 阅读(13) 评论(0) 推荐(0)
摘要:二进制文件安装#官网或镜像网站下载: [root@centos8 ~]#wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.50/bin/apache-tomcat-8.5.50.tar.gz [root@cent 阅读全文
posted @ 2023-06-14 17:46 QUDE 阅读(42) 评论(0) 推荐(0)
摘要:rpm安装 #需要登录下载:https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html [root@centos8 ~]#ls -lh jdk-8u241-linux-x64.rpm -rw-r--r-- 1 阅读全文
posted @ 2023-06-14 17:34 QUDE 阅读(33) 评论(0) 推荐(0)
摘要:nginx.conf中有关访客日志定义如下 #log_format #创建日志格式,名为main log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$h 阅读全文
posted @ 2023-06-03 09:59 QUDE 阅读(134) 评论(0) 推荐(0)
摘要:多域名虚拟主机 创建各自的配置文件 分别写入配置 ,基于域名的虚拟主机,这样写 域名1:dnf.com [root@web /etc/nginx/conf.d]#touch dnf.conf server { listen 80; server_name dnf.com; # 这里写的是域名 cha 阅读全文
posted @ 2023-06-02 13:15 QUDE 阅读(43) 评论(0) 推荐(0)
摘要:一、启动用户和nginx工作用户不一致所致 查看nginx的启动用户:打开nginx.conf文件 vi conf/nginx.conf user nginx; 改为 user root; 二、nginx.conf中缺少index的指定的文件。 查看nginx的配置:打开nginx.conf文件 s 阅读全文
posted @ 2023-06-02 11:47 QUDE 阅读(1281) 评论(0) 推荐(0)