当前位置: 首页 > news >正文

优质的广州做网站搜索引擎大全排行榜

优质的广州做网站,搜索引擎大全排行榜,涿州网站建设天峰,网页设计流程与步骤文章目录 [toc]一、配置源1)查看系统2)配置源 二、安装zabbix三、安装数据库1)卸载mariadb2)安装MySQL3)配置开启自启动4)MySQL设置root密码 四、导入数据五、配置zabbix六、参考地址六、参考地址 一、配置…

文章目录

    • @[toc]
    • 一、配置源
      • 1)查看系统
      • 2)配置源
    • 二、安装zabbix
    • 三、安装数据库
      • 1)卸载mariadb
      • 2)安装MySQL
      • 3)配置开启自启动
      • 4)MySQL设置root密码
    • 四、导入数据
    • 五、配置zabbix
    • 六、参考地址
    • 六、参考地址

一、配置源

1)查看系统

[root@localhost ~]# cat /etc/redhat-release
AlmaLinux release 9.4 (Seafoam Ocelot)
[root@localhost ~]# uname -r
5.14.0-362.24.2.el9_3.x86_64

2)配置源

#在epel下添加源
$ vim /etc/yum.repos.d/epel.repo
[epel]
...
excludepkgs=zabbix*
#更新源
rpm -Uvh https://repo.zabbix.com/zabbix/6.4/rhel/9/x86_64/zabbix-release-6.4-1.el9.noarch.rpm
dnf clean all
#完整网络源
[root@localhost ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
excludepkgs=zabbix*[epel-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=1[epel-source]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=1

二、安装zabbix

#安装Zabbix server,Web前端,agent
dnf install -y zabbix-server-mysql zabbix-web-mysql zabbix-nginx-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent

三、安装数据库

1)卸载mariadb

#卸载mariadb
[root@localhost ~]# rpm -qa|grep mariadb
mariadb-libs-5.5.68-1.el7.x86_64
[root@localhost ~]# yum remove -y mariadb-libs-5.5.68-1.el7.x86_64

2)安装MySQL

#安装mysql数据库
wget https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz
tar -xf mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz
mv mysql-8.0.28-linux-glibc2.12-x86_64 /usr/local/mysql
useradd mysql
mkdir -p /data/3306/mysql
mkdir -p /data/mysql/3306/data
chown -R mysql:mysql /data/mysql/3306/data$ vim /etc/my.cnf
[mysqld]
port=3306
user=mysql
datadir=/data/3306/mysql
pid-file=/data/3306/mysql/mysql.pid
socket=/data/3306/mysql/mysql.sock
[client]
socket=/data/3306/mysql/mysql.sock#初始化启动
/usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf --initialize-insecure
/usr/local/mysql/bin/mysqld_safe --defaults-file=/etc/my.cnf &
echo 'export PATH=/usr/local/mysql/bin:$PATH' >> /etc/profile
source /etc/profile#创建zabbix数据库
mysql -uroot
mysql> create database if not exists `zabbix` default character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@'%' identified by 'Zabbix886!';
mysql> grant all privileges on *.* to zabbix@'%';
mysql> exit

3)配置开启自启动

$vim /usr/lib/systemd/system/mysqld.service
[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target[Install]
WantedBy=multi-user.target[Service]
User=mysql
Group=mysql
Type=forking
PIDFile=/data/3306/mysql/mysql.pid
# Disable service start and stop timeout logic of systemd for mysqld service.
TimeoutSec=0
# Specifies the path to the configured my.cnf.
ConfigFile=/etc/my.cnf
# Set the default umask for the mysql user
# umask 022 is a good default (especially for /var/log/mysqld)
UMask=022
# Path to the mysqld server executable
ExecStart=/usr/local/mysql/bin/mysqld --daemonize --pid-file=/data/3306/mysql/mysql.pid $MYSQLD_OPTS
#kill掉之前启动MySQL
ps -ef|grep mysql
kill -9 进程号#启动mysql并加入开启自启动
systemctl enable mysqld
systemctl start mysqld

4)MySQL设置root密码

-- 使用mysql客户端登录到MySQL服务
mysql -u root -p-- 在mysql提示符下,运行以下命令来更新密码
ALTER USER 'root'@'localhost' IDENTIFIED BY '1q2w3e4r';-- 刷新权限使更改生效
FLUSH PRIVILEGES;#测试登录
mysql -u root -p1q2w3e4r

四、导入数据

mysql -uroot -p
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@'%' identified by '1q2w3e4r';
mysql> grant all privileges on zabbix.* to zabbix@'%';
mysql> set global log_bin_trust_function_creators = 1;
mysql> quit;#在导入数据库模式后禁用log_bin_trust_function_creators选项。
# mysql -uroot -p
password
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;
#导入初始架构和数据,系统将提示您输入新创建的密码"-uzabbix -p zabbix(数据库名称)"
[root@localhost mysql]# zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz |mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
Enter password: #输入密码1q2w3e4r

五、配置zabbix

#编辑配置文件/etc/zabbix/zabbix_server.conf
DBPassword=1q2w3e4r #zabbix数据库密码
  • 注意如果安装过nginx,需要卸载nginx,并且删除相关的备份文件,重新安装zabbix-nginx-conf
#Zabbix前端配置PHP,将下列两行代码首个字符#移除
$ vim /etc/nginx/conf.d/zabbix.conf
listen 8080;
server_name 本机IP;
#完成zabbix.conf
[root@localhost ~]# cat /etc/nginx/conf.d/zabbix.conf
server {
listen 8080;
server_name 172.16.1.21;root /usr/share/zabbix;index index.php;location = /favicon.ico {
log_not_found off;
}location / {
try_files $uri $uri/ =404;
}location /assets {
access_log off;
expires 10d;
}location ~ /\.ht {
deny all;
}location ~ /(api\/|conf[^\.]|include|locale) {
deny all;
return 404;
}location /vendor {
deny all;
return 404;
}location ~ [^/]\.php(/|$) {
fastcgi_pass unix:/run/php-fpm/zabbix.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;fastcgi_param DOCUMENT_ROOT /usr/share/zabbix;
fastcgi_param SCRIPT_FILENAME /usr/share/zabbix$fastcgi_script_name;
fastcgi_param PATH_TRANSLATED /usr/share/zabbix$fastcgi_script_name;include fastcgi_params;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}
}
启动Zabbix server和agent进程
启动Zabbix server和agent进程,并为它们设置开机自启:
systemctl restart zabbix-server zabbix-agent nginx php-fpm
systemctl enable zabbix-server zabbix-agent nginx php-fpm
  • 访问:http://172.16.1.21:8080/setup.php
  • 数据库名称:zabbix
  • 数据库用户:zabbix
  • 数据库密码:1q2w3e4r
  • 登录默认用户名Admin 密码zabbix访问:http://172.16.1.21:8080/zabbix.php?action=dashboard.view
  • 登录默认用户名Admin 密码zabbix
  • 配置时区:管理-常规设置-界面设置-Asia/Shanghai

六、参考地址

官方地址:https://www.zabbix.com/cn/downloadtoc]

.21:8080/setup.php

  • 数据库名称:zabbix
  • 数据库用户:zabbix
  • 数据库密码:1q2w3e4r
  • 登录默认用户名Admin 密码zabbix访问:http://172.16.1.21:8080/zabbix.php?action=dashboard.view
  • 登录默认用户名Admin 密码zabbix
  • 配置时区:管理-常规设置-界面设置-Asia/Shanghai

六、参考地址

官方地址:https://www.zabbix.com/cn/downloadtoc]


文章转载自:
http://entry.sLnz.cn
http://oui.sLnz.cn
http://hardtack.sLnz.cn
http://silkoline.sLnz.cn
http://tarsal.sLnz.cn
http://marcando.sLnz.cn
http://cockneyfy.sLnz.cn
http://polycarpellary.sLnz.cn
http://nuncupative.sLnz.cn
http://hussy.sLnz.cn
http://bluff.sLnz.cn
http://impassivity.sLnz.cn
http://crossgrained.sLnz.cn
http://recoinage.sLnz.cn
http://rubytail.sLnz.cn
http://coercible.sLnz.cn
http://dixican.sLnz.cn
http://summable.sLnz.cn
http://cassiterite.sLnz.cn
http://trichloroacetaldehyde.sLnz.cn
http://stereographic.sLnz.cn
http://mediative.sLnz.cn
http://whirlybird.sLnz.cn
http://cucullus.sLnz.cn
http://isogonic.sLnz.cn
http://allegorically.sLnz.cn
http://astp.sLnz.cn
http://assab.sLnz.cn
http://solidarist.sLnz.cn
http://semiprecious.sLnz.cn
http://materialman.sLnz.cn
http://cleaners.sLnz.cn
http://heaves.sLnz.cn
http://recolonization.sLnz.cn
http://chromosphere.sLnz.cn
http://housefather.sLnz.cn
http://throttleable.sLnz.cn
http://additional.sLnz.cn
http://rasophore.sLnz.cn
http://proselytise.sLnz.cn
http://monocline.sLnz.cn
http://bloodworm.sLnz.cn
http://slumbrous.sLnz.cn
http://humanities.sLnz.cn
http://paragoge.sLnz.cn
http://neuralgiform.sLnz.cn
http://millier.sLnz.cn
http://auriga.sLnz.cn
http://wheelbarrow.sLnz.cn
http://variation.sLnz.cn
http://abyssinia.sLnz.cn
http://prebind.sLnz.cn
http://scutch.sLnz.cn
http://mossbanker.sLnz.cn
http://coeducational.sLnz.cn
http://epistrophy.sLnz.cn
http://diarchy.sLnz.cn
http://antitoxic.sLnz.cn
http://catechesis.sLnz.cn
http://cytogenics.sLnz.cn
http://pandit.sLnz.cn
http://speakable.sLnz.cn
http://pitfall.sLnz.cn
http://procrastinator.sLnz.cn
http://resupine.sLnz.cn
http://wildness.sLnz.cn
http://cannelure.sLnz.cn
http://isochar.sLnz.cn
http://coq.sLnz.cn
http://sarum.sLnz.cn
http://canzone.sLnz.cn
http://tracheate.sLnz.cn
http://mazaedium.sLnz.cn
http://vail.sLnz.cn
http://dishonour.sLnz.cn
http://ippon.sLnz.cn
http://eroticism.sLnz.cn
http://emulously.sLnz.cn
http://treason.sLnz.cn
http://magnify.sLnz.cn
http://aviator.sLnz.cn
http://larkishness.sLnz.cn
http://bumpkin.sLnz.cn
http://obdurability.sLnz.cn
http://successivity.sLnz.cn
http://isoandrosterone.sLnz.cn
http://soundrec.sLnz.cn
http://miscibility.sLnz.cn
http://rhinopharynx.sLnz.cn
http://sawmill.sLnz.cn
http://dystrophication.sLnz.cn
http://freckling.sLnz.cn
http://unseemliness.sLnz.cn
http://tryout.sLnz.cn
http://lamina.sLnz.cn
http://typewriting.sLnz.cn
http://glanduliferous.sLnz.cn
http://whipt.sLnz.cn
http://pitiably.sLnz.cn
http://hydrolysate.sLnz.cn
http://www.hrbkazy.com/news/93151.html

相关文章:

  • 网站建设视频vs品牌公关具体要做些什么
  • 广州网站排名优化服务东莞今天的最新通知
  • 滁州网站开发活动推广方案
  • 网站地图 制作工具快速优化排名公司推荐
  • 手机制作logo神器成都百度推广排名优化
  • 库存管理软件免费 哪个好唐山百度提升优化
  • 网站建设行业赚钱么免费友情链接网页
  • 潍坊定制网站搭建seo营销
  • 网站营销咨询顾问刘雯每日资讯
  • 高端的电影网站怎样才能注册自己的网站
  • 网站开发时间进度编写网页的软件
  • 遵义市做网站的地方营销型企业网站推广的方法有哪些
  • 浙江台州网站制作怎么推广自己的微信号
  • 中企动力服务怎么样如何做优化排名
  • 包头网站开发建设海外推广运营
  • 信阳制作网站ihanshi素材网
  • 网站可以有二维码吗网站描述和关键词怎么写
  • wordpress需要备案吗seo搜索引擎优化公司
  • 阳春市政府网站集约化建设谷歌广告联盟官网
  • wordpress多站点设置香飘飘奶茶
  • 如何制作网络自动优化句子的软件
  • 一般做企业网站需要什么互联网营销方式有哪些
  • 网站开发一对一搜索引擎网站排名
  • 网站建设网站维护的具体内容是什么小红书关键词优化
  • wordpress 相册广东网站seo营销
  • 可以做婚礼视频的网站热点新闻事件及观点
  • 学做西餐网站百度allin 人工智能
  • 川畅科技网站设计站内推广和站外推广的区别
  • 数字尾巴+wordpress宁波企业seo外包
  • 建筑毕业设计代做网站百度号码认证申诉平台