29.第八章 软件包管理(三)
4.3.11 实现私用 yum仓库
下载所有yum仓库的相关包和meta 数据
#CentOS 8 dnf 工具集成
dnf reposync --help #查看帮助#默认只下载rpm包,不下载meta数据,需要指定--download-metadata 才能下载meta
dnf reposync --repoid=REPOID --download-metadata -p /path#CentOS 7 以前版本,reposync工具来自于yum-utils包
reposync --repoid=REPOID --download-metadata -p /path
创建私有yum仓库:
createrepo [options] <directory>
范例:
[root@rocky8 ~]# dnf reposync --help
usage: dnf reposync [-c [config file]] [-q] [-v] [--version][--installroot [path]] [--nodocs] [--noplugins][--enableplugin [plugin]] [--disableplugin [plugin]][--releasever RELEASEVER] [--setopt SETOPTS][--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C][-R [minutes]] [-d [debug level]] [--debugsolver][--showduplicates] [-e ERRORLEVEL] [--obsoletes][--rpmverbosity [debug level name]] [-y] [--assumeno][--enablerepo [repo]] [--disablerepo [repo] | --repo[repo]] [--enable | --disable] [-x [package]][--disableexcludes [repo]] [--repofrompath [repo,path]][--noautoremove] [--nogpgcheck] [--color COLOR][--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly][--comment COMMENT] [--bugfix] [--enhancement][--newpackage] [--security] [--advisory ADVISORY][--bz BUGZILLA] [--cve CVES][--sec-severity {Critical,Important,Moderate,Low}][--forcearch ARCH] [-a [arch]] [--delete][--download-metadata] [-g] [-m][--metadata-path METADATA_PATH] [-n] [--norepopath][-p DOWNLOAD_PATH] [--remote-time] [--source] [-u]download all packages from remote repoGeneral DNF options:-c [config file], --config [config file]config file location-q, --quiet quiet operation-v, --verbose verbose operation--version show DNF version and exit--installroot [path] set install root--nodocs do not install documentations--noplugins disable all plugins--enableplugin [plugin]enable plugins by name--disableplugin [plugin]disable plugins by name--releasever RELEASEVERoverride the value of $releasever in config and repofiles--setopt SETOPTS set arbitrary config and repo options--skip-broken resolve depsolve problems by skipping packages-h, --help, --help-cmdshow command help--allowerasing allow erasing of installed packages to resolvedependencies-b, --best try the best available package versions intransactions.--nobest do not limit the transaction to the best candidate-C, --cacheonly run entirely from system cache, don't update cache-R [minutes], --randomwait [minutes]maximum command wait time-d [debug level], --debuglevel [debug level]debugging output level--debugsolver dumps detailed solving results into files--showduplicates show duplicates, in repos, in list/search commands-e ERRORLEVEL, --errorlevel ERRORLEVELerror output level--obsoletes enables dnf's obsoletes processing logic for upgradeor display capabilities that the package obsoletes forinfo, list and repoquery--rpmverbosity [debug level name]debugging output level for rpm-y, --assumeyes automatically answer yes for all questions--assumeno automatically answer no for all questions--enablerepo [repo] Enable additional repositories. List option. Supportsglobs, can be specified multiple times.--disablerepo [repo] Disable repositories. List option. Supports globs, canbe specified multiple times.--repo [repo], --repoid [repo]enable just specific repositories by an id or a glob,can be specified multiple times--enable enable repos with config-manager command(automatically saves)--disable disable repos with config-manager command(automatically saves)-x [package], --exclude [package], --excludepkgs [package]exclude packages by name or glob--disableexcludes [repo], --disableexcludepkgs [repo]disable excludepkgs--repofrompath [repo,path]label and path to an additional repository to use(same path as in a baseurl), can be specified multipletimes.--noautoremove disable removal of dependencies that are no longerused--nogpgcheck disable gpg signature checking (if RPM policy allows)--color COLOR control whether color is used--refresh set metadata as expired before running the command-4 resolve to IPv4 addresses only-6 resolve to IPv6 addresses only--destdir DESTDIR, --downloaddir DESTDIRset directory to copy packages to--downloadonly only download packages--comment COMMENT add a comment to transaction--bugfix Include bugfix relevant packages, in updates--enhancement Include enhancement relevant packages, in updates--newpackage Include newpackage relevant packages, in updates--security Include security relevant packages, in updates--advisory ADVISORY, --advisories ADVISORYInclude packages needed to fix the given advisory, inupdates--bz BUGZILLA, --bzs BUGZILLAInclude packages needed to fix the given BZ, inupdates--cve CVES, --cves CVESInclude packages needed to fix the given CVE, inupdates--sec-severity {Critical,Important,Moderate,Low}, --secseverity {Critical,Important,Moderate,Low}Include security relevant packages matching theseverity, in updates--forcearch ARCH Force the use of an architectureReposync command-specific options:-a [arch], --arch [arch]download only packages for this ARCH--delete delete local packages no longer present in repository--download-metadata download all the metadata.-g, --gpgcheck Remove packages that fail GPG signature checking afterdownloading-m, --downloadcomps also download and uncompress comps.xml--metadata-path METADATA_PATHwhere to store downloaded repository metadata.Defaults to the value of --download-path.-n, --newest-only download only newest packages per-repo--norepopath Don't add the reponame to the download path.-p DOWNLOAD_PATH, --download-path DOWNLOAD_PATHwhere to store downloaded repositories--remote-time try to set local timestamps of local files by the oneon the server--source operate on source packages-u, --urls Just list urls of what would be downloaded, don'tdownload
范例:创建局域网的基于Base的私有yum源
#仓库服务器配置
[root@repo-server ~]# yum -y install httpd[root@repo-server ~]# systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.[root@repo-server ~]# mkdir /var/www/html/rocky/8 -pv
mkdir: created directory '/var/www/html/rocky'
mkdir: created directory '/var/www/html/rocky/8'[root@repo-server ~]# mount /dev/sr0 /mnt/
mount: /mnt: WARNING: device write-protected, mounted read-only.[root@repo-server ~]# cp -a /mnt/* /var/www/html/rocky/8#yum客户端配置
[root@repo-client ~]# cat /etc/yum.repos.d/test.repo
[BaseOS]
name=BaseOS
baseurl=http://172.31.1.8/rocky/8/BaseOS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[AppStream]
name=Appstream
baseurl=http://172.31.1.8/rocky/8/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
范例:下载阿里云的extras源,制作私有yum源
[root@repo-client ~]# yum makecache
BaseOS 79 MB/s | 2.5 MB 00:00
Appstream 162 MB/s | 7.1 MB 00:00
Last metadata expiration check: 0:00:01 ago on Thu 14 Oct 2021 01:10:58 AM CST.
Metadata cache created.[root@repo-server ~]# dnf reposync --repoid=extras --download-metadata -p /var/www/html/rocky
[root@repo-server ~]# ls /var/www/html/rocky/
8 extras[root@repo-server ~]# ls /var/www/html/rocky/extras/
Packages repodata[root@repo-client ~]# yum repolist
repo id repo name
AppStream Appstream
BaseOS BaseOS
[root@repo-client ~]# cat /etc/yum.repos.d/test.repo
[BaseOS]
name=BaseOS
baseurl=http://172.31.1.8/rocky/8/BaseOS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[AppStream]
name=Appstream
baseurl=http://172.31.1.8/rocky/8/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial[extras]
name=extras
baseurl=http://172.31.1.8/rocky/extras/[root@repo-client ~]# yum repolist
repo id repo name
AppStream Appstream
BaseOS BaseOS
extras extras[root@repo-client ~]# yum --disablerepo=* --enablerepo=extras list available[root@repo-client ~]# yum install epel-release
范例:下载阿里云的EPEL源,制作私有yum源
[root@repo-server ~]# cat /etc/yum.repos.d/epel.repo
[EPEL]
name=EPEL
baseurl=https://mirrors.nju.edu.cn/epel/$releasever/Everything/$basearch/
gpgcheck=1
gpgkey=https://mirrors.nju.edu.cn/epel/RPM-GPG-KEY-EPEL-$releasever[root@repo-server ~]# dnf repolist
repo id repo name
AppStream AppStream
BaseOS BaseOS
EPEL EPEL
PowerTools PowerTools
extras extras
plus plus#下载相关仓库包和元数据
[root@repo-server ~]# dnf reposync --repoid=EPEL --download-metadata -p /var/www/html
#--download-metadata 加此选项可以下载元数据#下载相关的key文件
[root@repo-server ~]# wget -P /var/www/html/epel/ https://mirrors.nju.edu.cn/epel/RPM-GPG-KEY-EPEL-8
#下面两个步骤只有没meta数据才需要执行
#[root@repo-server ~]# dnf -y install createrepo httpd
#[root@repo-server ~]# createrepo /var/www/html/epel/
[root@repo-server ~]# ls /var/www/html/EPEL
Packages repodata[root@repo-client ~]# vim /etc/yum.repos.d/test.repo
[BaseOS]
name=BaseOS
baseurl=http://172.31.1.8/rocky/8/BaseOS
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[AppStream]
name=Appstream
baseurl=http://172.31.1.8/rocky/8/AppStream/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial[extras]
name=extras
baseurl=http://172.31.1.8/rocky/extras/[epel]
name=epel
baseurl=http://172.31.1.8/EPEL/
gpgkey=http://172.31.1.8/EPEL/RPM-GPG-KEY-EPEL-8[root@repo-client ~]# yum makecache
BaseOS 543 kB/s | 3.9 kB 00:00
Appstream 1.8 MB/s | 4.3 kB 00:00
extras 1.1 MB/s | 3.5 kB 00:00
epel 123 MB/s | 10 MB 00:00
Metadata cache created.[root@repo-client ~]# dnf install openvpn
4.3.12 DNF 介绍
DNF,即DaNdiFied,是新一代的RPM软件包管理器。DNF 发行日期是2015年5月11日,DNF 包管理器采用Python 编写,发行许可为GPL v2,首先出现在Fedora 18 发行版中。在 RHEL 8.0 版本正式取代了 YUM,DNF包管理器克服了YUM包管理器的一些瓶颈,提升了包括用户体验,内存占用,依赖分析,运行速度等
配置文件:
/etc/dnf/dnf.conf
仓库文件:
/etc/yum.repos.d/ *.repo
日志:
/var/log/dnf.rpm.log
/var/log/dnf.log
DNF 使用帮助:man dnf
dnf 用法与yum一致
dnf [options] <command> [<arguments>...]
dnf --version
dnf repolist
dnf reposync
dnf install httpd
dnf remove httpd
dnf clean all
dnf makecache
dnf list installed
dnf list available
dnf search nano
dnf history undo 1
CentOS 7 使用 dnf ,下载并安装下面包
wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/dnf-conf-0.6.4-2.sdl7.noarch.rpm
wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/dnf-0.6.4-2.sdl7.noarch.rpm
wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64/python-dnf-0.6.4-2.sdl7.noarch.rpm
wget https://mirrors.aliyun.com/centos/7/extras/x86_64/Packages/python2-libcomps-0.1.8-12.el7.x86_64.rpm
wget https://mirrors.aliyun.com/centos/7/extras/x86_64/Packages/libcomps-0.1.8-12.el7.x86_64.rpm
4.3.13 yum Troubleshooting
yum 和 dnf 失败最主要原因:
-
yum的配置文件格式或路径错误
解决方法:检查/etc/yum.repos.d/*.repo文件格式 -
yum cache
解决方法:yum clean all -
网络不通:
解决方法:网卡配置
5.程序包编译
5.1 源码编译介绍
程序包编译安装:
源代码–>预处理–>编译–>汇编–>链接–>执行
多文件:文件中的代码之间,很可能存在跨文件依赖关系
虽然有很多开源软件将软件打成包,供人们使用,但并不是所有源代码都打成包,如果想使用开源软件,可能需要自已下载源码,进行编译安装。另外即使提供了包,但是生产中需要用于软件的某些特性,仍然需要自行编译安装。但是利用源代码编译安装是比较繁琐的,庆幸的是有相关的项目管理工具可以大大减少编译过程的复杂度
5.2 开源程序源代码的获取
项目官方自建站点:
apache.org (ASF:Apache Software Foundation)
mariadb.org
…
代码托管:
Github.com
gitee.com
SourceForge.net
code.google.com
5.3 编译源码的项目工具
- C、C++的源码编译:使用 make 项目管理器
configure脚本 --> Makefile.in --> Makefile
相关开发工具:
autoconf: 生成configure脚本
automake:生成Makefile.in - java的源码编译: 使用 maven
5.4 C 语言源代码编译安装过程
利用编译工具,通常只需要三个大的步骤
- ./configure
(1) 通过选项传递参数,指定安装路径、启用特性等;执行时会参考用户的指定以及Makefile.in文
件生成Makefile
(2) 检查依赖到的外部环境,如依赖的软件包 - make 根据Makefile文件,会检测依赖的环境,进行构建应用程序
- make install 复制文件到相应路径
注意:安装前可以通过查看README,INSTALL获取帮助
5.4.1 编译安装准备
准备:安装相关的依赖包
- 开发工具:make, gcc (c/c++编译器GNU C Complier)
- 开发环境:开发库(glibc:标准库),头文件,可安装开发包组 Development Tools
- 软件相关依赖包
生产实践:基于最小化安装的系统建议安装下面相关包
yum -y install gcc make autoconf gcc-c++ glibc glibc-devel pcre pcre-devel openssl openssl-devel systemd-devel zlib-devel vim lrzsz tree tmux lsof tcpdump wget net-tools iotop bc bzip2 zip unzip nfs-utils man-pages
5.4.2 编译安装
第一步:运行 configure 脚本,生成Makefile 文件
其选项主要功能:
- 可以指定安装位置
- 指定启用的特性
获取其支持使用的选项
./configure --help
选项分类:
- 安装路径设定:
–prefix=/PATH:指定默认安装位置,默认为/usr/local/
–sysconfdir=/PATH:配置文件安装位置
System types:支持交叉编译 - 软件特性和相关指定:
Optional Features: 可选特性
–disable-FEATURE
–enable-FEATURE[=ARG]
Optional Packages: 可选包
–with-PACKAGE[=ARG] 依赖包
–without-PACKAGE 禁用依赖关系
注意:通常被编译操作依赖的程序包,需要安装此程序包的“开发”组件,其包名一般类似于namedevel-VERSION
第二步:make
第三步:make install
5.4.3 安装后的配置
- 二进制程序目录导入至PATH环境变量中
编辑文件/etc/profile.d/NAME.sh
export PATH=/PATH/TO/BIN:$PATH
- 相关用户及文件
有些开源软件编译完成后,还需要创建相关的用户及文件
5.4.4 编译安装实战案例
5.4.4.1 官网下载并编译安装新版 tree
http://mama.indstate.edu/users/ice/tree/
范例:CentOS 7 编译安装 tree1.8
#下载源码并解压
[root@centos7 ~]# wget http://mama.indstate.edu/users/ice/tree/src/tree-1.8.0.tgz -P /usr/local/src[root@centos7 ~]# cd /usr/local/src/
[root@centos7 src]# tar xf tree-1.8.0.tgz
[root@centos7 src]# cd tree-1.8.0
[root@centos7 tree-1.8.0]# ls
CHANGES color.c doc file.c hash.c html.c INSTALL json.c LICENSE Makefile README strverscmp.c TODO tree.c tree.h unix.c xml.c[root@centos7 tree-1.8.0]# vim Makefile
#修改这项,安装目录
prefix = /apps/tree#修改版本
[root@centos7 tree-1.8.0]# grep "1.8.0" tree.c
static char *version ="$Version: $ tree v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $";
static char *hversion="\t\t tree v1.8.0 %s 1996 - 2018 by Steve Baker and Thomas Moore <br>\n"
[root@centos7 tree-1.8.0]# sed -i 's#v1\.8\.0#v8.8.8#' tree.c
[root@centos7 tree-1.8.0]# grep "1.8.0" tree.c
[root@centos7 tree-1.8.0]# grep "8.8.8" tree.c
static char *version ="$Version: $ tree v8.8.8 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $";
static char *hversion="\t\t tree v8.8.8 %s 1996 - 2018 by Steve Baker and Thomas Moore <br>\n"[root@centos7 tree-1.8.0]# make
gcc -ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o tree.o tree.c
make: gcc: Command not found
make: *** [tree.o] Error 127
#提示没有安装gcc[root@centos7 tree-1.8.0]# yum -y install gcc[root@centos7 tree-1.8.0]# make -j 2[root@centos7 tree-1.8.0]# make install
install -d /apps/tree/bin
install -d /apps/tree/man/man1
if [ -e tree ]; then \install tree /apps/tree/bin/tree; \
fi
install doc/tree.1 /apps/tree/man/man1/tree.1[root@centos7 tree-1.8.0]# tree
-bash: tree: command not found[root@centos7 tree-1.8.0]# echo 'PATH=/apps/tree/bin:$PATH' > /etc/profile.d/tree.sh
[root@centos7 tree-1.8.0]# . /etc/profile.d/tree.sh
[root@centos7 tree-1.8.0]# tree
.
├── CHANGES
├── color.c
├── color.o
├── doc
│ ├── tree.1
│ ├── tree.1.fr
│ └── xml.dtd
├── file.c
├── file.o
├── hash.c
├── hash.o
├── html.c
├── html.o
├── INSTALL
├── json.c
├── json.o
├── LICENSE
├── Makefile
├── README
├── strverscmp.c
├── TODO
├── tree
├── tree.c
├── tree.h
├── tree.o
├── unix.c
├── unix.o
├── xml.c
└── xml.o1 directory, 28 files[root@centos7 tree-1.8.0]# tree --version
tree v8.8.8 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro [root@centos7 tree-1.8.0]# man tree[root@centos7 tree-1.8.0]# tree /apps/tree/
/apps/tree/
├── bin
│ └── tree
└── man└── man1└── tree.13 directories, 2 files
5.4.4.2 编译安装 cmatrix
https://github.com/abishekvashok/cmatrix
范例:CentOS 8 编译安装 cmatrix
[root@rocky8 ~]# wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-Butterscotch.tar -P /usr/local/src[root@rocky8 ~]# cd /usr/local/src/
[root@rocky8 src]# ls
cmatrix-v2.0-Butterscotch.tar
[root@rocky8 src]# tar xf cmatrix-v2.0-Butterscotch.tar
[root@rocky8 src]# cd cmatrix
[root@rocky8 cmatrix]# ls
aclocal.m4 cmatrix cmatrix.spec.in config.h.in~ CONTRIBUTING.md install-sh matrix.fnt README
AUTHORS cmatrix.1 CODE_OF_CONDUCT.md config.log COPYING ISSUE_TEMPLATE.md matrix.psf.gz README.md
autom4te.cache cmatrix.c compile config.status data Makefile missing stamp-h1
ChangeLog cmatrix.o config.h configure depcomp Makefile.am mtx.pcf takeScreenshots
CMakeLists.txt cmatrix.spec config.h.in configure.ac INSTALL Makefile.in NEWS[root@rocky8 cmatrix]# ./configure --prefix=/apps/cmatrix
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/cmatrix':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
#提示没有安装gcc[root@rocky8 cmatrix]# dnf -y install gcc[root@rocky8 cmatrix]# ./configure --prefix=/apps/cmatrix[root@rocky8 cmatrix]# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/local/src/cmatrix/missing autoheader)
/usr/local/src/cmatrix/missing: line 81: autoheader: command not found
WARNING: 'autoheader' is missing on your system.You should only need it if you modified 'acconfig.h' or'configure.ac' or m4 files included by 'configure.ac'.The 'autoheader' program is part of the GNU Autoconf package:<https://www.gnu.org/software/autoconf/>It also requires GNU m4 and Perl in order to run:<https://www.gnu.org/software/m4/><https://www.perl.org/>
make: *** [Makefile:363: config.h.in] Error 127
#autoheader 提示没有装这个包[root@rocky8 cmatrix]# dnf provides autoheader
Last metadata expiration check: 0:08:19 ago on Thu 14 Oct 2021 03:56:52 PM CST.
autoconf-2.69-27.el8.noarch : A GNU tool for automatically configuring source code
Repo : AppStream
Matched from:
Filename : /usr/bin/autoheader[root@rocky8 cmatrix]# dnf -y install autoconf[root@rocky8 cmatrix]# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/local/src/cmatrix/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-am
make[1]: Entering directory '/usr/local/src/cmatrix'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
cmatrix.c:43:10: fatal error: curses.h: No such file or directory#include <curses.h>^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:433: cmatrix.o] Error 1
make[1]: Leaving directory '/usr/local/src/cmatrix'
make: *** [Makefile:317: all] Error 2
# curses.h 提示没有这个文件[root@rocky8 cmatrix]# dnf provides *curses.h*
...
ncurses-devel-6.1-7.20180224.el8.1.i686 : Development files for the ncurses library
Repo : BaseOS
Matched from:
Other : *curses.h*ncurses-devel-6.1-7.20180224.el8.1.x86_64 : Development files for the ncurses library
Repo : BaseOS
Matched from:
Other : *curses.h*notcurses-devel-2.4.3-2.el8.x86_64 : Development files for the Notcurses library
Repo : EPEL
Matched from:
Other : *curses.h*[root@rocky8 cmatrix]# dnf -y install ncurses-devel[root@rocky8 cmatrix]# make
...
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:416: cmatrix] Error 1
make[1]: Leaving directory '/usr/local/src/cmatrix'
make: *** [Makefile:317: all] Error 2
#出现这种错误,可能是先configure 再make,把文件删了 重新configure[root@rocky8 cmatrix]# cd ..
[root@rocky8 src]# rm -rf cmatrix
[root@rocky8 src]# tar xf cmatrix-v2.0-Butterscotch.tar
[root@rocky8 src]# cd cmatrix[root@rocky8 cmatrix]# ./configure --prefix=/apps/cmatrix
[root@rocky8 cmatrix]# make -j 2
[root@rocky8 cmatrix]# make install
make[1]: Entering directory '/usr/local/src/cmatrix'/usr/bin/mkdir -p '/apps/cmatrix/bin'/usr/bin/install -c cmatrix '/apps/cmatrix/bin'Installing matrix fonts in /usr/lib/kbd/consolefonts.../usr/bin/mkdir -p '/apps/cmatrix/share/man/man1'/usr/bin/install -c -m 644 cmatrix.1 '/apps/cmatrix/share/man/man1'
make[1]: Leaving directory '/usr/local/src/cmatrix'
#安装完成[root@rocky8 cmatrix]# tree /apps/cmatrix/
/apps/cmatrix/
├── bin
│ └── cmatrix
└── share└── man└── man1└── cmatrix.14 directories, 2 files[root@rocky8 cmatrix]# echo 'PATH=/apps/cmatrix/bin/:$PATH' > /etc/profile.d/cmatrix.sh
[root@rocky8 cmatrix]# . /etc/profile.d/cmatrix.sh[root@rocky8 cmatrix]# cmatrix[root@rocky8 cmatrix]# cmatrix --helpUsage: cmatrix -[abBcfhlsmVx] [-u delay] [-C color]-a: Asynchronous scroll-b: Bold characters on-B: All bold characters (overrides -b)-c: Use Japanese characters as seen in the original matrix. Requires appropriate fonts-f: Force the linux $TERM type to be on-l: Linux mode (uses matrix console font)-L: Lock mode (can be closed from another terminal)-o: Use old-style scrolling-h: Print usage and exit-n: No bold characters (overrides -b and -B, default)-s: "Screensaver" mode, exits on first keystroke-x: X window mode, use if your xterm is using mtx.pcf-V: Print version information and exit-u delay (0 - 10, default 4): Screen update delay-C [color]: Use this color for matrix (default green)-r: rainbow mode-m: lambda mode[root@rocky8 cmatrix]# cmatrix -C red
#设置颜色[root@rocky8 cmatrix]# cmatrix -r
5.4.4.3 编译安装 httpd 2.4
http://httpd.apache.org/
范例:centos8 编译安装 httpd-2.4.51
[root@rocky8 ~]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/httpd/httpd-2.4.51.tar.gz -P /usr/local/src[root@rocky8 src]# tar xf httpd-2.4.51.tar.gz [root@rocky8 src]# cd httpd-2.4.51[root@rocky8 httpd-2.4.51]# cat README
#README 告诉你软件怎么用的[root@rocky8 httpd-2.4.51]# cat INSTALL
#INSTALL 安装方法[root@rocky8 httpd-2.4.51]# ./configure --prefix=/apps/httpd --enable-ssl
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... no
configure: error: APR not found. Please read the documentation.
#提示缺失 APR[root@rocky8 httpd-2.4.51]# dnf -y install apr-devel
[root@rocky8 httpd-2.4.51]# ./configure --prefix=/apps/httpd --enable-ssl
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... yessetting CC to "gcc"setting CPP to "gcc -E"setting CFLAGS to " -pthread"setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"setting LDFLAGS to " "
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... no
configure: error: APR-util not found. Please read the documentation.
#提示缺少 APR-util[root@rocky8 httpd-2.4.51]# dnf -y install apr-util-devel
[root@rocky8 httpd-2.4.51]# ./configure --prefix=/apps/httpd --enable-ssl
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... yessetting CC to "gcc"setting CPP to "gcc -E"setting CFLAGS to " -pthread"setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"setting LDFLAGS to " "
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
#提示缺少 PCRE[root@rocky8 httpd-2.4.51]# dnf -y install pcre-devel[root@rocky8 httpd-2.4.51]# ./configure --prefix=/apps/httpd --enable-ssl
...
checking whether to enable mod_slotmem_plain... no
checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.8a... FAILED
configure: WARNING: OpenSSL version is too old
no
checking whether to enable mod_ssl... configure: error: mod_ssl has been requested but can not be built due to prerequisite failures
#提示缺少 mod-ssl,这就是openssl[root@rocky8 httpd-2.4.51]# dnf -y install openssl-devel[root@rocky8 httpd-2.4.51]# ./configure --prefix=/apps/httpd --enable-ssl
[root@rocky8 httpd-2.4.51]# make -j 2 && make install
...
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-ld: No such file or directory
make[4]: *** [/usr/local/src/httpd-2.4.51/modules/aaa/modules.mk:2: mod_authn_file.la] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-ld: No such file or directory
make[4]: *** [/usr/local/src/httpd-2.4.51/modules/aaa/modules.mk:4: mod_authn_dbm.la] Error 1
make[4]: Leaving directory '/usr/local/src/httpd-2.4.51/modules/aaa'
make[3]: *** [/usr/local/src/httpd-2.4.51/build/rules.mk:117: shared-build-recursive] Error 1
make[3]: Leaving directory '/usr/local/src/httpd-2.4.51/modules/aaa'
make[2]: *** [/usr/local/src/httpd-2.4.51/build/rules.mk:117: shared-build-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/httpd-2.4.51/modules'
make[1]: *** [/usr/local/src/httpd-2.4.51/build/rules.mk:117: shared-build-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/httpd-2.4.51'
make: *** [/usr/local/src/httpd-2.4.51/build/rules.mk:75: all-recursive] Error 1
#提示 缺少redhat/redhat-hardened-ld文件[root@rocky8 httpd-2.4.51]# yum provides *redhat-hardened-ld*
Last metadata expiration check: 0:08:25 ago on Thu 14 Oct 2021 04:26:51 PM CST.
redhat-rpm-config-125-1.el8.noarch : Rocky specific rpm configuration files
Repo : AppStream
Matched from:
Other : *redhat-hardened-ld*[root@rocky8 httpd-2.4.51]# dnf -y install redhat-rpm-config
[root@rocky8 httpd-2.4.51]# make -j 2 && make install
[root@rocky8 httpd-2.4.51]# /apps/httpd/bin/apachectl start #启动程序
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fef9:6ad1. Set the 'ServerName' directive globally to suppress this message
[root@rocky8 httpd-2.4.51]# ss -ntl
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 *:80 *:*
LISTEN 0 128 [::]:22 [::]:*
[root@rocky8 httpd-2.4.51]# echo 'PATH=/apps/httpd/bin:$PATH' > /etc/profile.d/httpd.sh
[root@rocky8 httpd-2.4.51]# . /etc/profile.d/httpd.sh
[root@rocky8 httpd-2.4.51]# apachectl stop #关闭服务
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fef9:6ad1. Set the 'ServerName' directive globally to suppress this message
[root@rocky8 httpd-2.4.51]# apachectl #启动服务
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fef9:6ad1. Set the 'ServerName' directive globally to suppress this message[root@rocky8 httpd-2.4.51]# ps aux |grep httpd
root 46550 0.0 0.6 119012 5420 ? Ss 16:42 0:00 /apps/httpd/bin/httpd
daemon 46551 0.0 0.9 880884 7636 ? Sl 16:42 0:00 /apps/httpd/bin/httpd
daemon 46552 0.0 0.9 880884 7636 ? Sl 16:42 0:00 /apps/httpd/bin/httpd
daemon 46553 0.0 0.9 880884 7636 ? Sl 16:42 0:00 /apps/httpd/bin/httpd
root 46636 0.0 0.1 12136 1172 pts/0 R+ 16:42 0:00 grep --color=auto httpd
#程序还以daemon 身份运行[root@rocky8 httpd-2.4.51]# useradd -r -s /sbin/nologin apache
[root@rocky8 httpd-2.4.51]# vim /apps/httpd/conf/httpd.conf
#把下面两行
User daemon
Group daemon
#改成下面内容
User apache
Group apache [root@rocky8 httpd-2.4.51]# apachectl restart #重新启动服务
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fef9:6ad1. Set the 'ServerName' directive globally to suppress this message
#提示ServerName没修改[root@rocky8 httpd-2.4.51]# vim /apps/httpd/conf/httpd.conf
ServerName 172.31.1.8:80 [root@rocky8 httpd-2.4.51]# apachectl restart
#现在就没提示了[root@rocky8 httpd-2.4.51]# ps aux |grep httpd
root 46550 0.0 0.7 119012 5788 ? Ss 16:42 0:00 /apps/httpd/bin/httpd
apache 47174 0.0 0.9 880884 7272 ? Sl 16:46 0:00 /apps/httpd/bin/httpd
apache 47175 0.0 0.9 880884 7272 ? Sl 16:46 0:00 /apps/httpd/bin/httpd
apache 47176 0.0 0.9 880884 7272 ? Sl 16:46 0:00 /apps/httpd/bin/httpd
root 47259 0.0 0.1 12136 1160 pts/0 R+ 16:47 0:00 grep --color=auto httpdroot@ubuntu1804:~# apt -y install apache2
#ubuntu 上软件包是apache2
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
相关文章
- Javascript基础篇
变量 控制台打印输出变量age的值 console.log(age);变量基础知识 变量命名规范 变量的使用 prompt:输入框(显示输入内容)alert:对话框(将内容弹出来显示) ps:也可直接早alert里写要输出的内容,注意格式!…...
2024/5/8 0:13:59 - 主机与IP地址的关系
一个主机可以同时有多个IP地址,一个网卡对应着一个IP地址。 当然这里的网卡包括虚拟网卡,虚拟网卡也可以绑定一个IP地址,然后通过物理网卡来发送和接受数据,但是需要和物理网卡的IP地址在同一个网段,这就是桥接模式。…...
2024/5/2 23:21:55 - 自学Python:快速查找文件或文件夹
用Windows资源管理器的搜索框,可以查找文件和文件夹。但是有时候速度不够快,使用Pyhon也可以查找文件,而且速度很快。人生苦短,我用Python。最后,如果你的时间不是很紧张,并且又想快速的python提高…...
2024/5/7 23:38:00 - Django学习——添加数据
步骤:创建模型对象——>调用save()方法将对象数据写入数据 注意:只有进入当前项目的Python交互式环境才能正确使用模型。如果直接执行“Python”命令,会是系统的Python全局设置进入交互环境,在使用模型时会出错。 创建对象&am…...
2024/5/8 2:20:50 - python(日常技术点记录)
循环遍历数组 # 第一种,最常用的,通过for in遍历数组。 colours ["red","green","blue"] for colour in colours: print colour # red # green # blue # for in结合range,先获得数组长度…...
2024/5/7 19:55:29 - QListWidget自定义item实现
效果如下: 关键代码: //添加item void CListTestWgt::AddItem(MarkType type, int serialNum, const QString &content) {CItemWidget *pItemWidget new CItemWidget(this);pItemWidget->SetData(type, serialNum, content);QListWidgetItem …...
2024/5/2 23:21:39 - 【C++】面向对象(多态)
C面向对象编程 多态1.理解多态(一)多态的概念(二)虚函数概念(三)多态的意义2.编程加深对多态的理解(一)一般多态性(二)特殊多态性函数(三…...
2024/5/8 1:19:20 - [NOIP2008]传纸条
这道题目,顺着题目描述的思路想不出来,这个题目要求走一圈,回来,不重复,相当于兵分两路,这个思维转换太厉害了,我没想出来。 通过看题解:复习了两个知识:memsetÿ…...
2024/5/2 23:21:35 - ApacheCN PythonWeb 译文集 20211028 更新
Django By Example 中文版 1 创建一个博客应用2 为博客添加高级功能3 扩展你的博客应用4 创建一个社交网站5 分享内容到你的网站6 跟踪用户动作7 构建在线商店8 管理支付和订单9 扩展你的商店10 构建一个在线学习平台11 缓存内容12 构建 API13 上线 Flask Framework Cookbook 中…...
2024/5/2 23:21:31 - jdbcTemplate在controller提交事务
jdbcTemplate在controller执行update jdbcTemplate.update() 可以在general_log看到如下日志 2021-10-30T10:37:07.479175Z 50 Query SET autocommit0 2021-10-30T10:37:07.479286Z 50 Query insert into message(content) values ("asdkfja") 2021-10-30T10:…...
2024/5/2 23:21:28 - RabbitMQ 消息中间件
RabbitMQ...
2024/5/2 23:21:24 - 微信小程序原生性能优化实践
历史回顾: 微信小程序自定义组件 - 表格组件来啦通过微信小程序来实现 “钉钉打卡”记一次微信小程序项目分包,以及分包预下载微信小程序实践 本文主要是根据微信小程序官方优化建议和《2018微信公开课第七季上海站小程序专场》的性能优化方案ÿ…...
2024/5/2 23:21:19 - c++第二章总结
1:常量有直接常量的整型常量,实行常量,小数形式和指数形式,字符型常量 2:字符串常量 3:符号常量的增加程序的可读性与提高程序的可维护性还有简化程序代码然后就是方便数组的定义 4:赋值运算符和赋值表达式有简单赋值运算符和复合赋值运算符&…...
2024/5/2 23:21:16 - 苹果iOS/iPadOS 15.2 Beta 1发布 app隐私报告?
嗨,这里是逻辑iOS技术号:一个让知识变得感性,让学习变得轻松!活跃的技术小站,希望给你的生活与技术带来意思不一样!关注公众号,回复“ 面试题”,即可领取更多大厂面试题型哦~ 小逻…...
2024/5/7 16:12:41 - 奥迪汽车响应式网站实战源码
点此查看全部文字教程、视频教程、源代码 本文目录1. 作者简介2. 效果展示2.1 首页导航及视频2.2 首页产品介绍2.3 首页预约试驾2.4 车型介绍2.5 创新科技2.6 购车服务2.7 我的奥迪2.8 登录页3. 下载链接及声明1. 作者简介 本网站作者田迅,是我的20级软件技术专业学…...
2024/5/2 23:21:07 - ~图论模板
并查集 struct dsu { private:// number of nodesint n;// root node: -1 * component size// otherwise: parentstd::vector<int> pa; public:dsu(int n_ 0) : n(n_), pa(n_, -1) {}// find node xs parentint find(int x) {return pa[x] < 0 ? x : pa[x] find(p…...
2024/5/2 23:21:04 - 凸函数学习
凸集 如果过集合CCC的任意两点的线段都在CCC内,则称CCC为凸集,即 x1,x2∈C⇒∀θ∈[0,1],θx1(1−θ)x2∈C\boldsymbol{x}_1,\boldsymbol{x}_2\in C \Rightarrow \forall \theta\in \left[0,1\right],\theta \boldsymbol{x}_1(1-\theta)\boldsymbol{x}_…...
2024/5/2 23:21:00 - 学长毕业日记 :本科毕业论文写成博士论文的神操作20170316
张阳阳 20170316工作总结:今天有点累,早点睡。之前在服务器上面安装了TGMin程序,最近调试发现是用Python3写的代码,于是又在笔记本和服务器上安装了Python3.6,然后就是不断地安装新的模块,不同模块之间是有…...
2024/5/2 23:20:55 - Linux安装程序目录
Linux 的软件安装目录是也是有讲究的,理解这一点,在对系统管理是有益的 /usr:系统级的目录,可以理解为C:/Windows/,/usr/lib理解为C:/Windows/System32。/usr/local:用户级的程序目录,可以理解…...
2024/5/2 23:20:51 - HTML——标签 属性总结
HTML开头 <!DOCTYPE html> <html lang"en"> <head><meta charset"UTF-8"><title>Document</title> </head>HTML的常用标签 <h>来定义标题 有六级标题 从一到六依次减小 <p>来定义段落 <strong…...
2024/5/2 23:20:47
最新文章
- 项目提交到空的git仓库流程
流程: # 初始化 Git 仓库 git init # 如果遇到 "detected dubious ownership" 的错误,可以添加 safe.directory 配置以解决 git config --global --add safe.directory T:/project/heima-leadnews # 将当前目录下的所有文件添加到 Git 暂存区…...
2024/5/8 4:20:49 - 梯度消失和梯度爆炸的一些处理方法
在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言,在此感激不尽。 权重和梯度的更新公式如下: w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...
2024/5/7 10:36:02 - PicGo + Gitee + VsCode - 搭建私人图床
文章目录 前言搭建图床VsCode 安装插件安装 PicGo准备 Gitee 图床测试 尾声 前言 本人是一个重度 vimer,并且喜欢客制化一些东西… Typora 固然好用,但不支持 vim…发现 vscode 中既可以使用 vim,也可以 md,用起来比较舒服.因此…...
2024/5/5 10:21:29 - 实现窗口拖拽移动
import Vue from "vue"; /* * 定义公共js里,在入口文件main.js中import; * 给elementUI的dialog上加上 v-dialogDrag 指令就可以实现弹窗的全屏和拉伸了。 */ // v-dialogDrag: 弹窗拖拽水平方向伸缩 Vue.directive(dialogDrag, { bind(e…...
2024/5/4 10:53:59 - #QT项目实战(天气预报)
1.IDE:QTCreator 2.实验: 3.记录: (1)调用API的Url a.调用API获取IP whois.pconline.com.cn/ipJson.jsp?iphttp://whois.pconline.com.cn/ipJson.jsp?ip if(window.IPCallBack) {IPCallBack({"ip":&quo…...
2024/5/5 3:53:18 - 【外汇早评】美通胀数据走低,美元调整
原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...
2024/5/7 5:50:09 - 【原油贵金属周评】原油多头拥挤,价格调整
原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...
2024/5/7 9:45:25 - 【外汇周评】靓丽非农不及疲软通胀影响
原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...
2024/5/4 23:54:56 - 【原油贵金属早评】库存继续增加,油价收跌
原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...
2024/5/7 14:25:14 - 【外汇早评】日本央行会议纪要不改日元强势
原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...
2024/5/4 23:54:56 - 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响
原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...
2024/5/4 23:55:05 - 【外汇早评】美欲与伊朗重谈协议
原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...
2024/5/4 23:54:56 - 【原油贵金属早评】波动率飙升,市场情绪动荡
原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...
2024/5/7 11:36:39 - 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试
原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...
2024/5/4 23:54:56 - 【原油贵金属早评】市场情绪继续恶化,黄金上破
原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...
2024/5/6 1:40:42 - 【外汇早评】美伊僵持,风险情绪继续升温
原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...
2024/5/4 23:54:56 - 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势
原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...
2024/5/4 23:55:17 - 氧生福地 玩美北湖(上)——为时光守候两千年
原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...
2024/5/7 9:26:26 - 氧生福地 玩美北湖(中)——永春梯田里的美与鲜
原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...
2024/5/4 23:54:56 - 氧生福地 玩美北湖(下)——奔跑吧骚年!
原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...
2024/5/4 23:55:06 - 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!
原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...
2024/5/5 8:13:33 - 「发现」铁皮石斛仙草之神奇功效用于医用面膜
原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...
2024/5/4 23:55:16 - 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者
原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...
2024/5/4 23:54:58 - 广州械字号面膜生产厂家OEM/ODM4项须知!
原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...
2024/5/6 21:42:42 - 械字号医用眼膜缓解用眼过度到底有无作用?
原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...
2024/5/4 23:54:56 - 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...
解析如下:1、长按电脑电源键直至关机,然后再按一次电源健重启电脑,按F8健进入安全模式2、安全模式下进入Windows系统桌面后,按住“winR”打开运行窗口,输入“services.msc”打开服务设置3、在服务界面,选中…...
2022/11/19 21:17:18 - 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。
%读入6幅图像(每一幅图像的大小是564*564) f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...
2022/11/19 21:17:16 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...
win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面,在等待界面中我们需要等待操作结束才能关机,虽然这比较麻烦,但是对系统进行配置和升级…...
2022/11/19 21:17:15 - 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...
有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows,请勿关闭计算机”的提示,要过很久才能进入系统,有的用户甚至几个小时也无法进入,下面就教大家这个问题的解决方法。第一种方法:我们首先在左下角的“开始…...
2022/11/19 21:17:14 - win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...
置信有很多用户都跟小编一样遇到过这样的问题,电脑时发现开机屏幕显现“正在配置Windows Update,请勿关机”(如下图所示),而且还需求等大约5分钟才干进入系统。这是怎样回事呢?一切都是正常操作的,为什么开时机呈现“正…...
2022/11/19 21:17:13 - 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...
Win7系统开机启动时总是出现“配置Windows请勿关机”的提示,没过几秒后电脑自动重启,每次开机都这样无法进入系统,此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一:开机按下F8,在出现的Windows高级启动选…...
2022/11/19 21:17:12 - 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...
有不少windows10系统用户反映说碰到这样一个情况,就是电脑提示正在准备windows请勿关闭计算机,碰到这样的问题该怎么解决呢,现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法:1、2、依次…...
2022/11/19 21:17:11 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...
今天和大家分享一下win7系统重装了Win7旗舰版系统后,每次关机的时候桌面上都会显示一个“配置Windows Update的界面,提示请勿关闭计算机”,每次停留好几分钟才能正常关机,导致什么情况引起的呢?出现配置Windows Update…...
2022/11/19 21:17:10 - 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...
只能是等着,别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚,只能是考虑备份数据后重装系统了。解决来方案一:管理员运行cmd:net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...
2022/11/19 21:17:09 - 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?
原标题:电脑提示“配置Windows Update请勿关闭计算机”怎么办?win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢?一般的方…...
2022/11/19 21:17:08 - 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...
关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!关机提示 windows7 正在配…...
2022/11/19 21:17:05 - 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...
钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...
2022/11/19 21:17:05 - 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...
前几天班里有位学生电脑(windows 7系统)出问题了,具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面,长时间没反应,无法进入系统。这个问题原来帮其他同学也解决过,网上搜了不少资料&#x…...
2022/11/19 21:17:04 - 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...
本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法,并在最后教给你1种保护系统安全的好方法,一起来看看!电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中,添加了1个新功能在“磁…...
2022/11/19 21:17:03 - 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...
许多用户在长期不使用电脑的时候,开启电脑发现电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机。。.这要怎么办呢?下面小编就带着大家一起看看吧!如果能够正常进入系统,建议您暂时移…...
2022/11/19 21:17:02 - 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...
配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!配置windows update失败 还原更改 请勿关闭计算机&#x…...
2022/11/19 21:17:01 - 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...
不知道大家有没有遇到过这样的一个问题,就是我们的win7系统在关机的时候,总是喜欢显示“准备配置windows,请勿关机”这样的一个页面,没有什么大碍,但是如果一直等着的话就要两个小时甚至更久都关不了机,非常…...
2022/11/19 21:17:00 - 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...
当电脑出现正在准备配置windows请勿关闭计算机时,一般是您正对windows进行升级,但是这个要是长时间没有反应,我们不能再傻等下去了。可能是电脑出了别的问题了,来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...
2022/11/19 21:16:59 - 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...
我们使用电脑的过程中有时会遇到这种情况,当我们打开电脑之后,发现一直停留在一个界面:“配置Windows Update失败,还原更改请勿关闭计算机”,等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢࿰…...
2022/11/19 21:16:58 - 如何在iPhone上关闭“请勿打扰”
Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...
2022/11/19 21:16:57