百度站内搜索的方法女和男做的视频网站
- 作者: 五速梦信息网
- 时间: 2026年03月21日 10:04
当前位置: 首页 > news >正文
百度站内搜索的方法,女和男做的视频网站,做非法网站判刑多少年,网站如何被谷歌收录前言
查看centos的版本 #xff0c;我这台服务器是虚拟机,下面都是模拟实验
升级前一定要把服务器上配置文件#xff0c;数据等进行备份
[rootlocalhost ~]#cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[rootlocalhost ~]#uname -a
Linux jenkins_ser…前言
查看centos的版本 我这台服务器是虚拟机,下面都是模拟实验
升级前一定要把服务器上配置文件数据等进行备份
[rootlocalhost ~]#cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[rootlocalhost ~]#uname -a
Linux jenkins_server 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux[rootlocalhost ~]# docker run –name my-memcache -m 64 -d docker.io/memcached:1.6.20
/usr/bin/docker-current: Error response from daemon: Minimum memory limit allowed is 4MB.
See /usr/bin/docker-current run –help.
[rootlocalhost ~]# docker run –name my-memcache -m 64mb -d docker.io/memcached:1.6.20
1ad3ad059e1a2f3d179c64f88bd0ec494c46adf78caa9c0f1603e0210b639869
[rootlocalhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1ad3ad059e1a docker.io/memcached:1.6.20 docker-entrypoint… 3 seconds ago Up 2 seconds 11211/tcp my-memcache
[rootlocalhost ~]# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1563/mysqld
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 908/redis-server 12
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1160/nginx: master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 903/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1567/master
tcp6 0 0 :::80 :::* LISTEN 1160/nginx: master
tcp6 0 0 :::22 :::* LISTEN 903/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1567/master 现在可以将 CentOS 7 升级到 Rocky Linux 8。由于 CentOS 8 已经死了所以将 CentOS 7 迁移到 CentOS 8 是没有意义的。 现在您不仅可以将 CentOS 7 升级到 Rocky Linux 8还可以将 CentOS 7 升级到其他 EL 8 衍生产品如 AlmaLinux、CentOS Stream、Oracle 和 Rocky Linux。 感谢ELevatehttps://wiki.almalinux.org/elevate/一项计划和工具可以在RHEL衍生品的主要版本之间进行迁移。 在这里我们将看到如何将 CentOS 7 升级到 Rocky Linux 8。
一 进行系统备份
在继续之前我强烈建议您进行系统备份或快照以进行恢复以防升级后出现问题。除此之外您还可以先在虚拟机或测试计算机上尝试此升级过程然后再在实际服务器上执行此升级过程。
如果你的centos7系统未到达最新版本请进行升级
yum update -y
[rootlocalhost ~]#cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[rootlocalhost ~]#uname -a
Linux localhost 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux1 升级内核使用最新内核 [rootlocalhost ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[rootlocalhost ~]# uname -a
Linux localhost.localdomain 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux二 安装提升
安装提升发布包以配置项目存储库并安装 GPG 密钥。
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm
三 安装 Rocky Linux 的 leapp 软件包和迁移数据。 yum install -y leapp-upgrade leapp-data-rocky四 执行预检查
使用以下命令启动升级前检查。此检查将确定操作系统升级的可能性并报告升级前需要修复的潜在问题。
leapp preupgrade1 报错 此外您还可以在文件中获取有关报告的升级阻止程序风险因素高限制和建议的解决方案的详细信息。除了阻止程序之外该文件还将包含从信息到高的其他风险您可以查看并进一步进行。/var/log/leapp/leapp-report.txt
[rootlocalhost ~]# cat /var/log/leapp/leapp-report.txt |grep command
[command] yum -y remove kernel-devel-3.10.0-1160.83.1.el7
Remediation: [hint] Please register user choices with leapp answer cli command or by manually editing the answerfile.
[command] leapp answer –section remove_pam_pkcs11_module_check.confirmTrue
Summary: In RHEL 8, there is no python command. Python 3 (backward incompatible) is the primary Python version and Python 2 is available with limited support and limited set of packages. Read more here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/#using-python3
The postqueue command no longer forces all message arrival times to be reported in UTC. To get the old behavior, set TZUTC in main.cf:import_environment.2 处理根据文件中提升执行命令
[rootlocalhost ~]# yum -y remove kernel-devel-3.10.0-1160.90.1.el7 leapp answer –section remove_pam_pkcs11_module_check.confirmTrue 3再次检测没有再报错当然也可以再次查看/var/log/leapp/leapp-report.txt
[rootlocalhost ~]#leapp preupgrade五 升级到 Rocky Linux 8
1使用以下命令开始升级。此升级需要一些时间才能完成。下载了一堆包更新了一堆包
leapp upgrade2 升级报错 STDERR:
No matches found for the following disable plugin patterns: subscription-manager
Repository extras is listed more than once in the configuration
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait…
Error: Transaction test error:file /usr/lib64/.libcrypto.so.1.1.1k.hmac from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/.libssl.so.1.1.1k.hmac from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/engines-1.1/afalg.so from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/engines-1.1/capi.so from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/engines-1.1/padlock.so from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/libcrypto.so.1.1.1k from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64file /usr/lib64/libssl.so.1.1.1k from install of openssl-libs-1:1.1.1k-9.el8_7.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-5.el7.x86_64END OF ERRORS
Debug output written to /var/log/leapp/leapp-upgrade.logREPORT
A report has been generated at /var/log/leapp/leapp-report.json
A report has been generated at /var/log/leapp/leapp-report.txtEND OF REPORT
Answerfile has been generated at /var/log/leapp/answerfile
2023-06-01 14:19:34.232 ERROR PID: 26818 leapp: Upgrade workflow failed, check log for details
[rootlocalhost ~]#
2.1 报错处理移除openssl11-libs
[rootlocalhost ~]# yum remove openssl11-libs-1:1.1.1k-5.el7.x86_64请先备份nginx配置文件在移除
3 再次升级
leapp upgrade终于通过了
3.1 重启选择升级
[rootlocalhost ~]# shutdown -r now选择第一个
3.2 更新并安装一些包这个过程相当缓慢 3.4 熟悉的页面 4 系统升级成功
但是我的docker被卸载了镜像也找不到了如果安装了docker 一定要备份啊 当然其他服务也是如此
[rootlocalhost ~]# cat /etc/redhat-release
Rocky Linux release 8.8 (Green Obsidian)
[rootlocalhost ~]# uname -a
Linux localhost.localdomain 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 22:15:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux六 升级后操作
1 先重新配置下yum吧
[rootlocalhost ~]# cd /etc/yum.repos.d/
[rootlocalhost yum.repos.d]# ll
总用量 76
-rw-r–r–. 1 root root 2523 8月 4 2022 CentOS-Base.repo.rpmsave
-rw-r–r–. 1 root root 379 3月 17 19:26 ELevate.repo
-rw-r–r–. 1 root root 1698 11月 5 2022 epel-modular.repo
-rw-r–r–. 1 root root 1332 11月 5 2022 epel.repo
-rw-r–r–. 1 root root 1797 11月 5 2022 epel-testing-modular.repo
-rw-r–r–. 1 root root 1431 11月 5 2022 epel-testing.repo
-rw-r–r–. 1 root root 710 4月 26 02:50 Rocky-AppStream.repo
-rw-r–r–. 1 root root 695 4月 26 02:50 Rocky-BaseOS.repo
-rw-r–r–. 1 root root 1753 4月 26 02:50 Rocky-Debuginfo.repo
-rw-r–r–. 1 root root 360 4月 26 02:50 Rocky-Devel.repo
-rw-r–r–. 1 root root 695 4月 26 02:50 Rocky-Extras.repo
-rw-r–r–. 1 root root 731 4月 26 02:50 Rocky-HighAvailability.repo
-rw-r–r–. 1 root root 680 4月 26 02:50 Rocky-Media.repo
-rw-r–r–. 1 root root 680 4月 26 02:50 Rocky-NFV.repo
-rw-r–r–. 1 root root 690 4月 26 02:50 Rocky-Plus.repo
-rw-r–r–. 1 root root 715 4月 26 02:50 Rocky-PowerTools.repo
-rw-r–r–. 1 root root 746 4月 26 02:50 Rocky-ResilientStorage.repo
-rw-r–r–. 1 root root 681 4月 26 02:50 Rocky-RT.repo
-rw-r–r–. 1 root root 2335 4月 26 02:50 Rocky-Sources.repo
[rootlocalhost yum.repos.d]# rm -rf CentOS-Base.repo.rpmsave
[rootlocalhost yum.repos.d]# mkdir backup
[rootlocalhost yum.repos.d]# cp ./Rocky-.repo ./backup/
[rootlocalhost yum.repos.d]# mv ELevate.repo epel-modular.repo epel.repo epel-testing-modular.repo epel-testing.repo ./backup/
[rootlocalhost yum.repos.d]# sed -e s|^mirrorlist|#mirrorlist|g -e s|^#baseurlhttp://dl.rockylinux.org/$contentdir|baseurlhttps://mirrors.aliyun.com/rockylinux|g -i.bak \/etc/yum.repos.d/Rocky-.repo
[rootlocalhost ~]# yum makecache
或者 dnf makecache[rootlocalhost ~]# yum makecache
Rocky Linux 8 - AppStream 276 kB/s | 9.2 MB 00:34
Rocky Linux 8 - BaseOS 225 kB/s | 3.8 MB 00:17
Rocky Linux 8 - Extras 1.2 kB/s | 13 kB 00:10
元数据缓存已建立。2 新的系统中无法找到docker服务无法使用docker命令但是docker的存储数据目录还在
但是我的docker被卸载了镜像也找不到了如果安装了docker 一定要备份啊 当然其他服务也是如此
[rootlocalhost ~]# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1039/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1650/master
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1045/redis-server 1
tcp6 0 0 :::22 :::* LISTEN 1039/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1650/master
tcp6 0 0 :::3306 :::* LISTEN 1325/mysqld
[rootlocalhost ~]# which docker
/usr/bin/which: no docker in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
[rootlocalhost ~]# du -sh /var/lib/docker
96M /var/lib/docker
[rootlocalhost ~]# ll /var/lib/docker/
总用量 4
drwx——. 3 root root 78 6月 1 14:02 containers
drwx——. 3 root root 22 6月 1 13:56 image
drwxr-x—. 3 root root 19 6月 1 13:56 network
drwx——. 11 root root 4096 6月 1 13:47 overlay2
drwx——. 4 root root 32 6月 1 13:56 plugins
drwx——. 2 root root 6 6月 1 13:56 swarm
drwx——. 2 root root 6 6月 1 14:00 tmp
drwx——. 2 root root 6 6月 1 13:56 trust
drwx——. 2 root root 25 6月 1 15:37 volumes
2.1 rockylinux上的并没有docker的安装包叫podman
官网 https://podman.io/
[rootlocalhost ~]# yum install docker
上次元数据过期检查0:02:00 前执行于 2023年06月01日 星期四 15时36分48秒。
依赖关系解决。
软件包 架构 版本 仓库 大小安装:podman-docker noarch 3:4.4.1-12.moduleel8.8.01265fa25dd7a appstream 74 k
安装依赖关系:conmon x86_64 3:2.1.6-1.moduleel8.8.01265fa25dd7a appstream 56 kcontainernetworking-plugins x86_64 1:1.2.0-1.moduleel8.8.01265fa25dd7a appstream 20 Mpodman x86_64 3:4.4.1-12.moduleel8.8.01265fa25dd7a appstream 15 Mpodman-catatonit x86_64 3:4.4.1-12.moduleel8.8.01265fa25dd7a appstream 361 kshadow-utils-subid x86_64 2:4.6-17.el8 baseos 112 k事务概要安装 6 软件包总下载35 M
安装大小107 M
确定吗[y/N] y
下载软件包
(1⁄6): conmon-2.1.6-1.moduleel8.8.01265fa25dd7a.x86_64.rpm 10 kB/s | 56 kB 00:05
(2⁄6): podman-catatonit-4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64.rpm 242 kB/s | 361 kB 00:01
(3⁄6): podman-docker-4.4.1-12.moduleel8.8.01265fa25dd7a.noarch.rpm 196 kB/s | 74 kB 00:00
(4⁄6): shadow-utils-subid-4.6-17.el8.x86_64.rpm 199 kB/s | 112 kB 00:00
(5⁄6): podman-4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64.rpm 225 kB/s | 15 MB 01:07
(6⁄6): containernetworking-plugins-1.2.0-1.moduleel8.8.01265fa25dd7a.x86_64.rpm 228 kB/s | 20 MB 01:29
总计 405 kB/s | 35 MB 01:29
Rocky Linux 8 - AppStream 172 kB/s | 1.6 kB 00:00
导入 GPG 公钥 0x6D745A60:Userid: Release Engineering infrastructurerockylinux.org指纹: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
确定吗[y/N] y
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务准备中 : 1⁄1 安装 : shadow-utils-subid-2:4.6-17.el8.x86_64 1⁄6 安装 : containernetworking-plugins-1:1.2.0-1.moduleel8.8.01265fa25dd7a.x86_64 2⁄6 安装 : conmon-3:2.1.6-1.moduleel8.8.01265fa25dd7a.x86_64 3⁄6 安装 : podman-catatonit-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 4⁄6 安装 : podman-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 5⁄6 安装 : podman-docker-3:4.4.1-12.moduleel8.8.01265fa25dd7a.noarch 6⁄6 运行脚本: podman-docker-3:4.4.1-12.moduleel8.8.01265fa25dd7a.noarch 6⁄6 验证 : conmon-3:2.1.6-1.moduleel8.8.01265fa25dd7a.x86_64 1⁄6 验证 : containernetworking-plugins-1:1.2.0-1.moduleel8.8.01265fa25dd7a.x86_64 2⁄6 验证 : podman-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 3⁄6 验证 : podman-catatonit-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 4⁄6 验证 : podman-docker-3:4.4.1-12.moduleel8.8.01265fa25dd7a.noarch 5⁄6 验证 : shadow-utils-subid-2:4.6-17.el8.x86_64 6⁄6
已更新安装的产品。已安装:conmon-3:2.1.6-1.moduleel8.8.01265fa25dd7a.x86_64 containernetworking-plugins-1:1.2.0-1.moduleel8.8.01265fa25dd7a.x86_64 podman-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 podman-catatonit-3:4.4.1-12.moduleel8.8.01265fa25dd7a.x86_64 podman-docker-3:4.4.1-12.moduleel8.8.01265fa25dd7a.noarch shadow-utils-subid-2:4.6-17.el8.x86_64 完毕
2.2 podman 启动启动文件
[rootlocalhost ~]# ll /usr/lib/systemd/system/podman*
-rw-r–r–. 1 root root 284 5月 17 05:25 /usr/lib/systemd/system/podman-auto-update.service
-rw-r–r–. 1 root root 143 5月 17 05:25 /usr/lib/systemd/system/podman-auto-update.timer
-rw-r–r–. 1 root root 667 5月 17 05:25 /usr/lib/systemd/system/podman-clean-transient.service
-rw-r–r–. 1 root root 443 5月 17 05:25 /usr/lib/systemd/system/podman-kube.service
-rw-r–r–. 1 root root 510 5月 17 05:25 /usr/lib/systemd/system/podman-restart.service
-rw-r–r–. 1 root root 324 5月 17 05:25 /usr/lib/systemd/system/podman.service
-rw-r–r–. 1 root root 176 5月 17 05:25 /usr/lib/systemd/system/podman.socket
[rootlocalhost ~]# [rootlocalhost ~]# systemctl startpodman
[rootlocalhost ~]# systemctl enable podman
[rootlocalhost ~]# podman -v
podman version 4.4.12.3 podman的目录
podman本地存储地址 /var/lib/containers/storage
[rootlocalhost ~]# find / -name podman
/run/podman
/var/lib/cni/networks/podman
/usr/bin/podman
/usr/share/doc/podman
/usr/share/licenses/podman
/usr/share/bash-completion/completions/podman
/usr/libexec/podman[rootlocalhost ~]# find / -name containers
/run/containers
/etc/containers
/var/lib/containers
/var/lib/docker/containers
/usr/share/containers2.4 拉取镜像memcache,podman从dockerhub拉去镜像是可以的
[rootlocalhost ~]# podman pull docker.io/memcached:1.6.20
Trying to pull docker.io/library/memcached:1.6.20…
Getting image source signatures
Copying blob 26b333375d58 done
Copying blob f03b40093957 done
Copying blob 42850af464e5 done
Copying blob 66835158f1e3 done
Copying blob 4027e4df9c70 done
Copying blob e874830b2907 done
Copying config a78754495c done
Writing manifest to image destination
Storing signatures
a78754495cd58c1fd188f1147b890bd9de6c8a3bf9cbea69c917e578a7fa68422.5 启动镜像
[rootlocalhost ~]# podman run –name my-memcache -m 64mb -p 11211:11211 -d docker.io/memcached:1.6.20
[rootlocalhost ~]# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3565b7560aca docker.io/library/memcached:1.6.20 memcached 39 seconds ago Up 39 seconds 0.0.0.0:11211-11211/tcp my-memcache
[rootlocalhost ~]# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1039/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1650/master
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 50316/conmon
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1045/redis-server 1
tcp6 0 0 :::22 :::* LISTEN 1039/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1650/master
tcp6 0 0 :::3306 :::* LISTEN 1325/mysqld [rootlocalhost ~]# df -h
文件系统 容量 已用 可用 已用% 挂载点
devtmpfs 872M 0 872M 0% /dev
tmpfs 890M 84K 890M 1% /dev/shm
tmpfs 890M 608K 889M 1% /run
tmpfs 890M 0 890M 0% /sys/fs/cgroup
/dev/mapper/centos-root 38G 4.2G 34G 11% /
/dev/sda1 2.0G 266M 1.8G 14% /boot
tmpfs 178M 0 178M 0% /run/user/0
shm 63M 0 63M 0% /var/lib/containers/storage/overlay-containers/3565b7560aca675d9c5b293e60dbeafa696d22c004837e99e132a1568d46e26e/userdata/shm
overlay 38G 4.2G 34G 11% /var/lib/containers/storage/overlay/9b0bc430742f2c32e1b7b8ff9e47e7811c4484b31c12d41eb0451a3c78d3df4e/merged
3 安装nginx
nginx从在centos7.9上的1.20版本降级到了1.14版本
[rootlocalhost ~]# yum install nginx
[rootlocalhost ]# nginx -v
nginx version: nginx/1.14.1
systemctl start nginx
systemctl enable nginx访问web
本文参考 https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-upgrade-centos-7-to-rocky-linux-8.html#::textUpgrade%20CentOS%207%20to%20Rocky%20Linux%208%201,Linux%208%20…%205%20Post%20Migration%20Checkouts%20
- 上一篇: 百度站点管理成都网站建设 推广行
- 下一篇: 百度站长工具平台代做企业网站
相关文章
-
百度站点管理成都网站建设 推广行
百度站点管理成都网站建设 推广行
- 技术栈
- 2026年03月21日
-
百度云网站建设教程视频阿里巴巴电脑版登录入口
百度云网站建设教程视频阿里巴巴电脑版登录入口
- 技术栈
- 2026年03月21日
-
百度云网站建设本地的丹阳网站建设
百度云网站建设本地的丹阳网站建设
- 技术栈
- 2026年03月21日
-
百度站长工具平台代做企业网站
百度站长工具平台代做企业网站
- 技术栈
- 2026年03月21日
-
百度站长工具怎么关闭建设网站空间选择
百度站长工具怎么关闭建设网站空间选择
- 技术栈
- 2026年03月21日
-
百度站长工具抓取诊断wordpress图片主题演示
百度站长工具抓取诊断wordpress图片主题演示
- 技术栈
- 2026年03月21日






