首页
留言
友链
关于
Search
1
思源笔记docker私有化部署及使用体验分享
2,429 阅读
2
windows11 远程提示:为安全考虑,已锁定该用户帐户,原因是登录尝试或密码更改尝试过多。
1,113 阅读
3
Pointer-Focus:一款功能强大的教学、录屏辅助软件
618 阅读
4
解决 nginxProxyManager 申请证书时的SSL失败问题
614 阅读
5
使用cspell对项目做拼写规范检查
581 阅读
Web前端
CSS
JavaScript
交互
Vue
小程序
后端
运维
项目
生活
其他
转载
软件
职场
登录
Search
标签搜索
docker
DevOps
magic-boot
Linux
酷壳
RabbitMQ
gitlab
Node
git
工具
MybatisPlus
clickhouse
Syncthing
规范
前端
产品
nginx
markdown
axios
H5
朱治龙
累计撰写
139
篇文章
累计收到
7
条评论
首页
栏目
Web前端
CSS
JavaScript
交互
Vue
小程序
后端
运维
项目
生活
其他
转载
软件
职场
页面
留言
友链
关于
搜索到
46
篇与
运维
的结果
2020-12-08
安装宝塔面板
宝塔面板提供意见安装脚本,可以很方便的完成系统安装,但是其默认安装到/www目录下,我们可以通过创建软连接的方式将其安装到我们容量最大的盘符中,具体操作及记录如下:创建宝塔根目录:/wxdata/btroot为/www创建软连接 ln -s /wxdata/btroot /www执行宝塔安装程序:yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh安装记录:[root@VM-0-10-centos /]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh Loaded plugins: fastestmirror, langpacks Determining fastest mirrors epel | 4.7 kB 00:00:00 extras | 2.9 kB 00:00:00 os | 3.6 kB 00:00:00 updates | 2.9 kB 00:00:00 (1/3): epel/7/x86_64/updateinfo | 1.0 MB 00:00:00 (2/3): updates/7/x86_64/primary_db | 3.7 MB 00:00:00 (3/3): epel/7/x86_64/primary_db | 6.9 MB 00:00:00 Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version Nothing to do --2020-12-08 13:15:16-- http://download.bt.cn/install/install_6.0.sh Resolving download.bt.cn (download.bt.cn)... 180.101.160.68, 240e:ff:9000:1100:0:3:0:36 Connecting to download.bt.cn (download.bt.cn)|180.101.160.68|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 25280 (25K) [application/octet-stream] Saving to: ‘install.sh’ 100%[==========================================================================================================================================================================================================================================================================================>] 25,280 --.-K/s in 0.04s 2020-12-08 13:15:17 (614 KB/s) - ‘install.sh’ saved [25280/25280] +---------------------------------------------------------------------- | Bt-WebPanel FOR CentOS/Ubuntu/Debian +---------------------------------------------------------------------- | Copyright © 2015-2099 BT-SOFT(http://www.bt.cn) All rights reserved. +---------------------------------------------------------------------- | The WebPanel URL will be http://SERVER_IP:8888 when installed. +---------------------------------------------------------------------- Do you want to install Bt-Panel to the /www directory now?(y/n): y --------------------------------------------- Selected download node... Download node: http://dg1.bt.cn --------------------------------------------- Synchronizing system time... Tue Dec 8 13:15:24 CST 2020 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile epel | 4.7 kB 00:00:00 extras | 2.9 kB 00:00:00 os | 3.6 kB 00:00:00 updates | 2.9 kB 00:00:00 Package ntp-4.2.6p5-29.el7.centos.2.x86_64 already installed and latest version Nothing to do 8 Dec 13:15:24 ntpdate[15551]: the NTP socket is in use, exiting setenforce: SELinux is disabled Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version Package 2:tar-1.26-35.el7.x86_64 already installed and latest version Package 1:make-3.82-24.el7.x86_64 already installed and latest version Package zip-3.0-11.el7.x86_64 already installed and latest version Package unzip-6.0-21.el7.x86_64 already installed and latest version Package 1:openssl-1.0.2k-19.el7.x86_64 already installed and latest version Package zlib-1.2.7-18.el7.x86_64 already installed and latest version Package libwebp-0.3.0-7.el7.x86_64 already installed and latest version Package lsof-4.87-6.el7.x86_64 already installed and latest version Package pcre-8.32-17.el7.x86_64 already installed and latest version No package vixie-cron available. Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version Resolving Dependencies --> Running transaction check ---> Package bzip2-devel.x86_64 0:1.0.6-13.el7 will be installed ---> Package c-ares.x86_64 0:1.10.0-3.el7 will be installed ---> Package freetype.x86_64 0:2.8-14.el7 will be updated ---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be an update ---> Package freetype-devel.x86_64 0:2.8-14.el7_9.1 will be installed ---> Package gcc.x86_64 0:4.8.5-39.el7 will be updated ---> Package gcc.x86_64 0:4.8.5-44.el7 will be an update --> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: libgcc >= 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64 ---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed ---> Package icu.x86_64 0:50.2-4.el7_7 will be installed --> Processing Dependency: libicu(x86-64) = 50.2-4.el7_7 for package: icu-50.2-4.el7_7.x86_64 --> Processing Dependency: libicuuc.so.50()(64bit) for package: icu-50.2-4.el7_7.x86_64 --> Processing Dependency: libicutu.so.50()(64bit) for package: icu-50.2-4.el7_7.x86_64 --> Processing Dependency: libicui18n.so.50()(64bit) for package: icu-50.2-4.el7_7.x86_64 --> Processing Dependency: libicudata.so.50()(64bit) for package: icu-50.2-4.el7_7.x86_64 ---> Package libcurl-devel.x86_64 0:7.29.0-59.el7_9.1 will be installed epel/7/x86_64/filelists_db | 12 MB 00:00:00 os/7/x86_64/filelists_db | 7.2 MB 00:00:00 updates/7/x86_64/filelists_db | 2.1 MB 00:00:00 --> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: libcurl-devel-7.29.0-59.el7_9.1.x86_64 ---> Package libdb4-devel.x86_64 0:4.8.30-13.el7 will be installed --> Processing Dependency: libdb4(x86-64) = 4.8.30-13.el7 for package: libdb4-devel-4.8.30-13.el7.x86_64 ---> Package libffi-devel.x86_64 0:3.0.13-19.el7 will be installed ---> Package libicu-devel.x86_64 0:50.2-4.el7_7 will be installed ---> Package libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7 will be installed ---> Package libpcap-devel.x86_64 14:1.5.3-12.el7 will be installed ---> Package libpng-devel.x86_64 2:1.5.13-8.el7 will be installed --> Processing Dependency: libpng(x86-64) = 2:1.5.13-8.el7 for package: 2:libpng-devel-1.5.13-8.el7.x86_64 ---> Package libwebp-devel.x86_64 0:0.3.0-7.el7 will be installed ---> Package libxml2.x86_64 0:2.9.1-6.el7.4 will be updated --> Processing Dependency: libxml2 = 2.9.1-6.el7.4 for package: libxml2-python-2.9.1-6.el7.4.x86_64 ---> Package libxml2.x86_64 0:2.9.1-6.el7.5 will be an update ---> Package libxml2-devel.x86_64 0:2.9.1-6.el7.5 will be installed ---> Package libxslt.x86_64 0:1.1.28-6.el7 will be installed ---> Package libxslt-devel.x86_64 0:1.1.28-6.el7 will be installed --> Processing Dependency: libgcrypt-devel for package: libxslt-devel-1.1.28-6.el7.x86_64 ---> Package libxslt-python.x86_64 0:1.1.28-6.el7 will be installed ---> Package ncurses-devel.x86_64 0:5.9-14.20130511.el7_4 will be installed ---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64 ---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed ---> Package readline-devel.x86_64 0:6.2-11.el7 will be installed ---> Package sqlite-devel.x86_64 0:3.7.17-8.el7_7.1 will be installed ---> Package tk-devel.x86_64 1:8.5.13-6.el7 will be installed --> Processing Dependency: tk = 1:8.5.13-6.el7 for package: 1:tk-devel-8.5.13-6.el7.x86_64 --> Processing Dependency: tcl-devel = 1:8.5.13 for package: 1:tk-devel-8.5.13-6.el7.x86_64 --> Processing Dependency: libXft-devel for package: 1:tk-devel-8.5.13-6.el7.x86_64 --> Processing Dependency: libX11-devel for package: 1:tk-devel-8.5.13-6.el7.x86_64 ---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed ---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed --> Running transaction check ---> Package cpp.x86_64 0:4.8.5-39.el7 will be updated ---> Package cpp.x86_64 0:4.8.5-44.el7 will be an update ---> Package krb5-devel.x86_64 0:1.15.1-50.el7 will be installed --> Processing Dependency: libkadm5(x86-64) = 1.15.1-50.el7 for package: krb5-devel-1.15.1-50.el7.x86_64 --> Processing Dependency: krb5-libs(x86-64) = 1.15.1-50.el7 for package: krb5-devel-1.15.1-50.el7.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-50.el7.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-50.el7.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-50.el7.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-50.el7.x86_64 ---> Package libX11-devel.x86_64 0:1.6.7-3.el7_9 will be installed --> Processing Dependency: libX11 = 1.6.7-3.el7_9 for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: pkgconfig(xcb) >= 1.11.1 for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: libX11.so.6()(64bit) for package: libX11-devel-1.6.7-3.el7_9.x86_64 --> Processing Dependency: libX11-xcb.so.1()(64bit) for package: libX11-devel-1.6.7-3.el7_9.x86_64 ---> Package libXft-devel.x86_64 0:2.3.2-2.el7 will be installed --> Processing Dependency: libXft = 2.3.2-2.el7 for package: libXft-devel-2.3.2-2.el7.x86_64 --> Processing Dependency: pkgconfig(xrender) for package: libXft-devel-2.3.2-2.el7.x86_64 --> Processing Dependency: pkgconfig(fontconfig) for package: libXft-devel-2.3.2-2.el7.x86_64 --> Processing Dependency: libXft.so.2()(64bit) for package: libXft-devel-2.3.2-2.el7.x86_64 ---> Package libcurl.x86_64 0:7.29.0-57.el7 will be updated --> Processing Dependency: libcurl = 7.29.0-57.el7 for package: curl-7.29.0-57.el7.x86_64 ---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be an update ---> Package libdb4.x86_64 0:4.8.30-13.el7 will be installed ---> Package libgcc.x86_64 0:4.8.5-39.el7 will be updated ---> Package libgcc.x86_64 0:4.8.5-44.el7 will be an update ---> Package libgcrypt-devel.x86_64 0:1.5.3-14.el7 will be installed --> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel-1.5.3-14.el7.x86_64 ---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated ---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update ---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed ---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be updated ---> Package libpng.x86_64 2:1.5.13-8.el7 will be an update ---> Package libxml2-python.x86_64 0:2.9.1-6.el7.4 will be updated ---> Package libxml2-python.x86_64 0:2.9.1-6.el7.5 will be an update ---> Package tcl-devel.x86_64 1:8.5.13-8.el7 will be installed --> Processing Dependency: tcl = 1:8.5.13-8.el7 for package: 1:tcl-devel-8.5.13-8.el7.x86_64 ---> Package tk.x86_64 1:8.5.13-6.el7 will be installed --> Running transaction check ---> Package curl.x86_64 0:7.29.0-57.el7 will be updated ---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be an update ---> Package fontconfig-devel.x86_64 0:2.13.0-4.3.el7 will be installed --> Processing Dependency: fontconfig(x86-64) = 2.13.0-4.3.el7 for package: fontconfig-devel-2.13.0-4.3.el7.x86_64 --> Processing Dependency: pkgconfig(uuid) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64 --> Processing Dependency: pkgconfig(expat) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64 --> Processing Dependency: libfontconfig.so.1()(64bit) for package: fontconfig-devel-2.13.0-4.3.el7.x86_64 ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed ---> Package krb5-libs.x86_64 0:1.15.1-46.el7 will be updated ---> Package krb5-libs.x86_64 0:1.15.1-50.el7 will be an update ---> Package libX11.x86_64 0:1.6.7-3.el7_9 will be installed --> Processing Dependency: libX11-common >= 1.6.7-3.el7_9 for package: libX11-1.6.7-3.el7_9.x86_64 --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-3.el7_9.x86_64 ---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed --> Processing Dependency: libXrender.so.1()(64bit) for package: libXft-2.3.2-2.el7.x86_64 ---> Package libXrender-devel.x86_64 0:0.9.10-1.el7 will be installed ---> Package libcom_err-devel.x86_64 0:1.42.9-19.el7 will be installed --> Processing Dependency: libcom_err(x86-64) = 1.42.9-19.el7 for package: libcom_err-devel-1.42.9-19.el7.x86_64 ---> Package libgpg-error-devel.x86_64 0:1.12-3.el7 will be installed ---> Package libkadm5.x86_64 0:1.15.1-50.el7 will be installed ---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed ---> Package libxcb-devel.x86_64 0:1.13-1.el7 will be installed --> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.13-1.el7.x86_64 ---> Package tcl.x86_64 1:8.5.13-8.el7 will be installed ---> Package xorg-x11-proto-devel.noarch 0:2018.4-1.el7 will be installed --> Running transaction check ---> Package expat-devel.x86_64 0:2.1.0-12.el7 will be installed --> Processing Dependency: expat = 2.1.0-12.el7 for package: expat-devel-2.1.0-12.el7.x86_64 ---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed --> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64 --> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64 ---> Package libX11-common.noarch 0:1.6.7-3.el7_9 will be installed ---> Package libXau-devel.x86_64 0:1.0.8-2.1.el7 will be installed --> Processing Dependency: libXau = 1.0.8-2.1.el7 for package: libXau-devel-1.0.8-2.1.el7.x86_64 --> Processing Dependency: libXau.so.6()(64bit) for package: libXau-devel-1.0.8-2.1.el7.x86_64 ---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed ---> Package libcom_err.x86_64 0:1.42.9-17.el7 will be updated --> Processing Dependency: libcom_err(x86-64) = 1.42.9-17.el7 for package: e2fsprogs-libs-1.42.9-17.el7.x86_64 --> Processing Dependency: libcom_err(x86-64) = 1.42.9-17.el7 for package: e2fsprogs-1.42.9-17.el7.x86_64 --> Processing Dependency: libcom_err(x86-64) = 1.42.9-17.el7 for package: libss-1.42.9-17.el7.x86_64 ---> Package libcom_err.x86_64 0:1.42.9-19.el7 will be an update ---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed ---> Package libuuid-devel.x86_64 0:2.23.2-65.el7 will be installed --> Processing Dependency: libuuid = 2.23.2-65.el7 for package: libuuid-devel-2.23.2-65.el7.x86_64 ---> Package libxcb.x86_64 0:1.13-1.el7 will be installed --> Running transaction check ---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed --> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch ---> Package e2fsprogs.x86_64 0:1.42.9-17.el7 will be updated ---> Package e2fsprogs.x86_64 0:1.42.9-19.el7 will be an update ---> Package e2fsprogs-libs.x86_64 0:1.42.9-17.el7 will be updated ---> Package e2fsprogs-libs.x86_64 0:1.42.9-19.el7 will be an update ---> Package expat.x86_64 0:2.1.0-11.el7 will be updated ---> Package expat.x86_64 0:2.1.0-12.el7 will be an update ---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed ---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed ---> Package libss.x86_64 0:1.42.9-17.el7 will be updated ---> Package libss.x86_64 0:1.42.9-19.el7 will be an update ---> Package libuuid.x86_64 0:2.23.2-63.el7 will be updated --> Processing Dependency: libuuid = 2.23.2-63.el7 for package: libblkid-2.23.2-63.el7.x86_64 --> Processing Dependency: libuuid = 2.23.2-63.el7 for package: util-linux-2.23.2-63.el7.x86_64 --> Processing Dependency: libuuid = 2.23.2-63.el7 for package: libmount-2.23.2-63.el7.x86_64 ---> Package libuuid.x86_64 0:2.23.2-65.el7 will be an update --> Running transaction check ---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed ---> Package libblkid.x86_64 0:2.23.2-63.el7 will be updated ---> Package libblkid.x86_64 0:2.23.2-65.el7 will be an update ---> Package libmount.x86_64 0:2.23.2-63.el7 will be updated ---> Package libmount.x86_64 0:2.23.2-65.el7 will be an update ---> Package util-linux.x86_64 0:2.23.2-63.el7 will be updated ---> Package util-linux.x86_64 0:2.23.2-65.el7 will be an update --> Processing Dependency: libsmartcols = 2.23.2-65.el7 for package: util-linux-2.23.2-65.el7.x86_64 --> Running transaction check ---> Package libsmartcols.x86_64 0:2.23.2-63.el7 will be updated ---> Package libsmartcols.x86_64 0:2.23.2-65.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================================================================================================================================================================== Installing: bzip2-devel x86_64 1.0.6-13.el7 os 218 k c-ares x86_64 1.10.0-3.el7 os 78 k freetype-devel x86_64 2.8-14.el7_9.1 updates 447 k gdbm-devel x86_64 1.10-8.el7 os 47 k icu x86_64 50.2-4.el7_7 os 187 k libcurl-devel x86_64 7.29.0-59.el7_9.1 updates 303 k libdb4-devel x86_64 4.8.30-13.el7 epel 32 k libffi-devel x86_64 3.0.13-19.el7 os 23 k libicu-devel x86_64 50.2-4.el7_7 os 703 k libjpeg-turbo-devel x86_64 1.2.90-8.el7 os 99 k libpcap-devel x86_64 14:1.5.3-12.el7 os 118 k libpng-devel x86_64 2:1.5.13-8.el7 os 122 k libwebp-devel x86_64 0.3.0-7.el7 os 23 k libxml2-devel x86_64 2.9.1-6.el7.5 os 1.1 M libxslt x86_64 1.1.28-6.el7 os 242 k libxslt-devel x86_64 1.1.28-6.el7 os 309 k libxslt-python x86_64 1.1.28-6.el7 os 59 k ncurses-devel x86_64 5.9-14.20130511.el7_4 os 712 k openssl-devel x86_64 1:1.0.2k-19.el7 os 1.5 M pcre-devel x86_64 8.32-17.el7 os 480 k readline-devel x86_64 6.2-11.el7 os 139 k sqlite-devel x86_64 3.7.17-8.el7_7.1 os 104 k tk-devel x86_64 1:8.5.13-6.el7 os 488 k xz-devel x86_64 5.2.2-1.el7 os 46 k zlib-devel x86_64 1.2.7-18.el7 os 50 k Updating: freetype x86_64 2.8-14.el7_9.1 updates 380 k gcc x86_64 4.8.5-44.el7 os 16 M libxml2 x86_64 2.9.1-6.el7.5 os 668 k Installing for dependencies: dejavu-fonts-common noarch 2.33-6.el7 os 64 k dejavu-sans-fonts noarch 2.33-6.el7 os 1.4 M expat-devel x86_64 2.1.0-12.el7 os 57 k fontconfig x86_64 2.13.0-4.3.el7 os 254 k fontconfig-devel x86_64 2.13.0-4.3.el7 os 138 k fontpackages-filesystem noarch 1.44-8.el7 os 9.9 k keyutils-libs-devel x86_64 1.5.8-3.el7 os 37 k krb5-devel x86_64 1.15.1-50.el7 os 273 k libX11 x86_64 1.6.7-3.el7_9 updates 607 k libX11-common noarch 1.6.7-3.el7_9 updates 164 k libX11-devel x86_64 1.6.7-3.el7_9 updates 981 k libXau x86_64 1.0.8-2.1.el7 os 29 k libXau-devel x86_64 1.0.8-2.1.el7 os 14 k libXft x86_64 2.3.2-2.el7 os 58 k libXft-devel x86_64 2.3.2-2.el7 os 19 k libXrender x86_64 0.9.10-1.el7 os 26 k libXrender-devel x86_64 0.9.10-1.el7 os 17 k libcom_err-devel x86_64 1.42.9-19.el7 os 32 k libdb4 x86_64 4.8.30-13.el7 epel 607 k libgcrypt-devel x86_64 1.5.3-14.el7 os 129 k libgpg-error-devel x86_64 1.12-3.el7 os 16 k libicu x86_64 50.2-4.el7_7 os 6.9 M libkadm5 x86_64 1.15.1-50.el7 os 179 k libselinux-devel x86_64 2.5-15.el7 os 187 k libsepol-devel x86_64 2.5-10.el7 os 77 k libuuid-devel x86_64 2.23.2-65.el7 os 93 k libverto-devel x86_64 0.2.5-4.el7 os 12 k libxcb x86_64 1.13-1.el7 os 214 k libxcb-devel x86_64 1.13-1.el7 os 1.1 M tcl x86_64 1:8.5.13-8.el7 os 1.9 M tcl-devel x86_64 1:8.5.13-8.el7 os 165 k tk x86_64 1:8.5.13-6.el7 os 1.4 M xorg-x11-proto-devel noarch 2018.4-1.el7 os 280 k Updating for dependencies: cpp x86_64 4.8.5-44.el7 os 5.9 M curl x86_64 7.29.0-59.el7_9.1 updates 271 k e2fsprogs x86_64 1.42.9-19.el7 os 701 k e2fsprogs-libs x86_64 1.42.9-19.el7 os 168 k expat x86_64 2.1.0-12.el7 os 81 k krb5-libs x86_64 1.15.1-50.el7 os 809 k libblkid x86_64 2.23.2-65.el7 os 183 k libcom_err x86_64 1.42.9-19.el7 os 42 k libcurl x86_64 7.29.0-59.el7_9.1 updates 223 k libgcc x86_64 4.8.5-44.el7 os 103 k libgomp x86_64 4.8.5-44.el7 os 159 k libmount x86_64 2.23.2-65.el7 os 184 k libpng x86_64 2:1.5.13-8.el7 os 213 k libsmartcols x86_64 2.23.2-65.el7 os 142 k libss x86_64 1.42.9-19.el7 os 47 k libuuid x86_64 2.23.2-65.el7 os 84 k libxml2-python x86_64 2.9.1-6.el7.5 os 247 k util-linux x86_64 2.23.2-65.el7 os 2.0 M Transaction Summary ==================================================================================================================================================================================================================================================================================================================================== Install 25 Packages (+33 Dependent packages) Upgrade 3 Packages (+18 Dependent packages) Total download size: 53 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/79): c-ares-1.10.0-3.el7.x86_64.rpm | 78 kB 00:00:00 (2/79): bzip2-devel-1.0.6-13.el7.x86_64.rpm | 218 kB 00:00:00 (3/79): dejavu-fonts-common-2.33-6.el7.noarch.rpm | 64 kB 00:00:00 (4/79): dejavu-sans-fonts-2.33-6.el7.noarch.rpm | 1.4 MB 00:00:00 (5/79): curl-7.29.0-59.el7_9.1.x86_64.rpm | 271 kB 00:00:00 (6/79): e2fsprogs-1.42.9-19.el7.x86_64.rpm | 701 kB 00:00:00 (7/79): e2fsprogs-libs-1.42.9-19.el7.x86_64.rpm | 168 kB 00:00:00 (8/79): expat-2.1.0-12.el7.x86_64.rpm | 81 kB 00:00:00 (9/79): expat-devel-2.1.0-12.el7.x86_64.rpm | 57 kB 00:00:00 (10/79): fontconfig-2.13.0-4.3.el7.x86_64.rpm | 254 kB 00:00:00 (11/79): fontconfig-devel-2.13.0-4.3.el7.x86_64.rpm | 138 kB 00:00:00 (12/79): fontpackages-filesystem-1.44-8.el7.noarch.rpm | 9.9 kB 00:00:00 (13/79): freetype-2.8-14.el7_9.1.x86_64.rpm | 380 kB 00:00:00 (14/79): freetype-devel-2.8-14.el7_9.1.x86_64.rpm | 447 kB 00:00:00 (15/79): gcc-4.8.5-44.el7.x86_64.rpm | 16 MB 00:00:00 (16/79): gdbm-devel-1.10-8.el7.x86_64.rpm | 47 kB 00:00:00 (17/79): icu-50.2-4.el7_7.x86_64.rpm | 187 kB 00:00:00 (18/79): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm | 37 kB 00:00:00 (19/79): krb5-devel-1.15.1-50.el7.x86_64.rpm | 273 kB 00:00:00 (20/79): cpp-4.8.5-44.el7.x86_64.rpm | 5.9 MB 00:00:00 (21/79): krb5-libs-1.15.1-50.el7.x86_64.rpm | 809 kB 00:00:00 (22/79): libX11-common-1.6.7-3.el7_9.noarch.rpm | 164 kB 00:00:00 (23/79): libX11-1.6.7-3.el7_9.x86_64.rpm | 607 kB 00:00:00 (24/79): libX11-devel-1.6.7-3.el7_9.x86_64.rpm | 981 kB 00:00:00 (25/79): libXau-1.0.8-2.1.el7.x86_64.rpm | 29 kB 00:00:00 (26/79): libXau-devel-1.0.8-2.1.el7.x86_64.rpm | 14 kB 00:00:00 (27/79): libXft-2.3.2-2.el7.x86_64.rpm | 58 kB 00:00:00 (28/79): libXft-devel-2.3.2-2.el7.x86_64.rpm | 19 kB 00:00:00 (29/79): libXrender-0.9.10-1.el7.x86_64.rpm | 26 kB 00:00:00 (30/79): libXrender-devel-0.9.10-1.el7.x86_64.rpm | 17 kB 00:00:00 (31/79): libcom_err-1.42.9-19.el7.x86_64.rpm | 42 kB 00:00:00 (32/79): libblkid-2.23.2-65.el7.x86_64.rpm | 183 kB 00:00:00 (33/79): libcom_err-devel-1.42.9-19.el7.x86_64.rpm | 32 kB 00:00:00 (34/79): libdb4-devel-4.8.30-13.el7.x86_64.rpm | 32 kB 00:00:00 (35/79): libgcc-4.8.5-44.el7.x86_64.rpm | 103 kB 00:00:00 (36/79): libcurl-7.29.0-59.el7_9.1.x86_64.rpm | 223 kB 00:00:00 (37/79): libffi-devel-3.0.13-19.el7.x86_64.rpm | 23 kB 00:00:00 (38/79): libgcrypt-devel-1.5.3-14.el7.x86_64.rpm | 129 kB 00:00:00 (39/79): libcurl-devel-7.29.0-59.el7_9.1.x86_64.rpm | 303 kB 00:00:00 (40/79): libgpg-error-devel-1.12-3.el7.x86_64.rpm | 16 kB 00:00:00 (41/79): libgomp-4.8.5-44.el7.x86_64.rpm | 159 kB 00:00:00 (42/79): libdb4-4.8.30-13.el7.x86_64.rpm | 607 kB 00:00:00 (43/79): libicu-devel-50.2-4.el7_7.x86_64.rpm | 703 kB 00:00:00 (44/79): libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm | 99 kB 00:00:00 (45/79): libkadm5-1.15.1-50.el7.x86_64.rpm | 179 kB 00:00:00 (46/79): libmount-2.23.2-65.el7.x86_64.rpm | 184 kB 00:00:00 (47/79): libpcap-devel-1.5.3-12.el7.x86_64.rpm | 118 kB 00:00:00 (48/79): libpng-1.5.13-8.el7.x86_64.rpm | 213 kB 00:00:00 (49/79): libpng-devel-1.5.13-8.el7.x86_64.rpm | 122 kB 00:00:00 (50/79): libselinux-devel-2.5-15.el7.x86_64.rpm | 187 kB 00:00:00 (51/79): libicu-50.2-4.el7_7.x86_64.rpm | 6.9 MB 00:00:00 (52/79): libsmartcols-2.23.2-65.el7.x86_64.rpm | 142 kB 00:00:00 (53/79): libss-1.42.9-19.el7.x86_64.rpm | 47 kB 00:00:00 (54/79): libuuid-2.23.2-65.el7.x86_64.rpm | 84 kB 00:00:00 (55/79): libuuid-devel-2.23.2-65.el7.x86_64.rpm | 93 kB 00:00:00 (56/79): libverto-devel-0.2.5-4.el7.x86_64.rpm | 12 kB 00:00:00 (57/79): libwebp-devel-0.3.0-7.el7.x86_64.rpm | 23 kB 00:00:00 (58/79): libxcb-1.13-1.el7.x86_64.rpm | 214 kB 00:00:00 (59/79): libsepol-devel-2.5-10.el7.x86_64.rpm | 77 kB 00:00:00 (60/79): libxcb-devel-1.13-1.el7.x86_64.rpm | 1.1 MB 00:00:00 (61/79): libxml2-2.9.1-6.el7.5.x86_64.rpm | 668 kB 00:00:00 (62/79): libxml2-python-2.9.1-6.el7.5.x86_64.rpm | 247 kB 00:00:00 (63/79): libxslt-1.1.28-6.el7.x86_64.rpm | 242 kB 00:00:00 (64/79): libxslt-devel-1.1.28-6.el7.x86_64.rpm | 309 kB 00:00:00 (65/79): libxml2-devel-2.9.1-6.el7.5.x86_64.rpm | 1.1 MB 00:00:00 (66/79): libxslt-python-1.1.28-6.el7.x86_64.rpm | 59 kB 00:00:00 (67/79): ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm | 712 kB 00:00:00 (68/79): openssl-devel-1.0.2k-19.el7.x86_64.rpm | 1.5 MB 00:00:00 (69/79): readline-devel-6.2-11.el7.x86_64.rpm | 139 kB 00:00:00 (70/79): pcre-devel-8.32-17.el7.x86_64.rpm | 480 kB 00:00:00 (71/79): sqlite-devel-3.7.17-8.el7_7.1.x86_64.rpm | 104 kB 00:00:00 (72/79): tcl-devel-8.5.13-8.el7.x86_64.rpm | 165 kB 00:00:00 (73/79): tk-8.5.13-6.el7.x86_64.rpm | 1.4 MB 00:00:00 (74/79): tcl-8.5.13-8.el7.x86_64.rpm | 1.9 MB 00:00:00 (75/79): tk-devel-8.5.13-6.el7.x86_64.rpm | 488 kB 00:00:00 (76/79): xorg-x11-proto-devel-2018.4-1.el7.noarch.rpm | 280 kB 00:00:00 (77/79): xz-devel-5.2.2-1.el7.x86_64.rpm | 46 kB 00:00:00 (78/79): zlib-devel-1.2.7-18.el7.x86_64.rpm | 50 kB 00:00:00 (79/79): util-linux-2.23.2-65.el7.x86_64.rpm | 2.0 MB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 25 MB/s | 53 MB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : libcom_err-1.42.9-19.el7.x86_64 1/100 Updating : libuuid-2.23.2-65.el7.x86_64 2/100 Updating : libxml2-2.9.1-6.el7.5.x86_64 3/100 Updating : libgcc-4.8.5-44.el7.x86_64 4/100 Installing : xorg-x11-proto-devel-2018.4-1.el7.noarch 5/100 Installing : zlib-devel-1.2.7-18.el7.x86_64 6/100 Updating : libblkid-2.23.2-65.el7.x86_64 7/100 Updating : krb5-libs-1.15.1-50.el7.x86_64 8/100 Updating : libcurl-7.29.0-59.el7_9.1.x86_64 9/100 Installing : libicu-50.2-4.el7_7.x86_64 10/100 Installing : libxslt-1.1.28-6.el7.x86_64 11/100 Updating : expat-2.1.0-12.el7.x86_64 12/100 Updating : 2:libpng-1.5.13-8.el7.x86_64 13/100 Updating : freetype-2.8-14.el7_9.1.x86_64 14/100 Installing : fontpackages-filesystem-1.44-8.el7.noarch 15/100 Installing : 1:tcl-8.5.13-8.el7.x86_64 16/100 Installing : libXau-1.0.8-2.1.el7.x86_64 17/100 Installing : libxcb-1.13-1.el7.x86_64 18/100 Installing : libXau-devel-1.0.8-2.1.el7.x86_64 19/100 Installing : libxcb-devel-1.13-1.el7.x86_64 20/100 Installing : 1:tcl-devel-8.5.13-8.el7.x86_64 21/100 Installing : dejavu-fonts-common-2.33-6.el7.noarch 22/100 Installing : dejavu-sans-fonts-2.33-6.el7.noarch 23/100 Installing : fontconfig-2.13.0-4.3.el7.x86_64 24/100 Installing : 2:libpng-devel-1.5.13-8.el7.x86_64 25/100 Installing : freetype-devel-2.8-14.el7_9.1.x86_64 26/100 Installing : expat-devel-2.1.0-12.el7.x86_64 27/100 Installing : libkadm5-1.15.1-50.el7.x86_64 28/100 Updating : libmount-2.23.2-65.el7.x86_64 29/100 Updating : libxml2-python-2.9.1-6.el7.5.x86_64 30/100 Installing : libuuid-devel-2.23.2-65.el7.x86_64 31/100 Installing : fontconfig-devel-2.13.0-4.3.el7.x86_64 32/100 Updating : e2fsprogs-libs-1.42.9-19.el7.x86_64 33/100 Updating : libss-1.42.9-19.el7.x86_64 34/100 Installing : libcom_err-devel-1.42.9-19.el7.x86_64 35/100 Updating : libsmartcols-2.23.2-65.el7.x86_64 36/100 Installing : libdb4-4.8.30-13.el7.x86_64 37/100 Installing : libX11-common-1.6.7-3.el7_9.noarch 38/100 Installing : libX11-1.6.7-3.el7_9.x86_64 39/100 Installing : libXrender-0.9.10-1.el7.x86_64 40/100 Installing : libXft-2.3.2-2.el7.x86_64 41/100 Installing : libX11-devel-1.6.7-3.el7_9.x86_64 42/100 Installing : libXrender-devel-0.9.10-1.el7.x86_64 43/100 Installing : libXft-devel-2.3.2-2.el7.x86_64 44/100 Installing : 1:tk-8.5.13-6.el7.x86_64 45/100 Installing : xz-devel-5.2.2-1.el7.x86_64 46/100 Installing : libxml2-devel-2.9.1-6.el7.5.x86_64 47/100 Installing : ncurses-devel-5.9-14.20130511.el7_4.x86_64 48/100 Installing : pcre-devel-8.32-17.el7.x86_64 49/100 Updating : libgomp-4.8.5-44.el7.x86_64 50/100 Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 51/100 Installing : libgpg-error-devel-1.12-3.el7.x86_64 52/100 Installing : libgcrypt-devel-1.5.3-14.el7.x86_64 53/100 Installing : libsepol-devel-2.5-10.el7.x86_64 54/100 Installing : libselinux-devel-2.5-15.el7.x86_64 55/100 Updating : cpp-4.8.5-44.el7.x86_64 56/100 Installing : libverto-devel-0.2.5-4.el7.x86_64 57/100 Installing : krb5-devel-1.15.1-50.el7.x86_64 58/100 Installing : 1:openssl-devel-1.0.2k-19.el7.x86_64 59/100 Updating : gcc-4.8.5-44.el7.x86_64 60/100 Installing : libxslt-devel-1.1.28-6.el7.x86_64 61/100 Installing : readline-devel-6.2-11.el7.x86_64 62/100 Installing : 1:tk-devel-8.5.13-6.el7.x86_64 63/100 Installing : libdb4-devel-4.8.30-13.el7.x86_64 64/100 Updating : util-linux-2.23.2-65.el7.x86_64 65/100 Updating : e2fsprogs-1.42.9-19.el7.x86_64 66/100 Installing : libxslt-python-1.1.28-6.el7.x86_64 67/100 Installing : libicu-devel-50.2-4.el7_7.x86_64 68/100 Installing : icu-50.2-4.el7_7.x86_64 69/100 Updating : curl-7.29.0-59.el7_9.1.x86_64 70/100 Installing : libcurl-devel-7.29.0-59.el7_9.1.x86_64 71/100 Installing : sqlite-devel-3.7.17-8.el7_7.1.x86_64 72/100 Installing : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 73/100 Installing : libwebp-devel-0.3.0-7.el7.x86_64 74/100 Installing : gdbm-devel-1.10-8.el7.x86_64 75/100 Installing : c-ares-1.10.0-3.el7.x86_64 76/100 Installing : bzip2-devel-1.0.6-13.el7.x86_64 77/100 Installing : 14:libpcap-devel-1.5.3-12.el7.x86_64 78/100 Installing : libffi-devel-3.0.13-19.el7.x86_64 79/100 Cleanup : e2fsprogs-1.42.9-17.el7.x86_64 80/100 Cleanup : util-linux-2.23.2-63.el7.x86_64 81/100 Cleanup : gcc-4.8.5-39.el7.x86_64 82/100 Cleanup : libmount-2.23.2-63.el7.x86_64 83/100 Cleanup : libblkid-2.23.2-63.el7.x86_64 84/100 Cleanup : e2fsprogs-libs-1.42.9-17.el7.x86_64 85/100 Cleanup : libss-1.42.9-17.el7.x86_64 86/100 Cleanup : curl-7.29.0-57.el7.x86_64 87/100 Cleanup : libcurl-7.29.0-57.el7.x86_64 88/100 Cleanup : krb5-libs-1.15.1-46.el7.x86_64 89/100 Cleanup : freetype-2.8-14.el7.x86_64 90/100 Cleanup : libxml2-python-2.9.1-6.el7.4.x86_64 91/100 Cleanup : libxml2-2.9.1-6.el7.4.x86_64 92/100 Cleanup : 2:libpng-1.5.13-7.el7_2.x86_64 93/100 Cleanup : libcom_err-1.42.9-17.el7.x86_64 94/100 Cleanup : libuuid-2.23.2-63.el7.x86_64 95/100 Cleanup : cpp-4.8.5-39.el7.x86_64 96/100 Cleanup : libgcc-4.8.5-39.el7.x86_64 97/100 Cleanup : libgomp-4.8.5-39.el7.x86_64 98/100 Cleanup : libsmartcols-2.23.2-63.el7.x86_64 99/100 Cleanup : expat-2.1.0-11.el7.x86_64 100/100 Verifying : libXrender-0.9.10-1.el7.x86_64 1/100 Verifying : libffi-devel-3.0.13-19.el7.x86_64 2/100 Verifying : 14:libpcap-devel-1.5.3-12.el7.x86_64 3/100 Verifying : libkadm5-1.15.1-50.el7.x86_64 4/100 Verifying : bzip2-devel-1.0.6-13.el7.x86_64 5/100 Verifying : libverto-devel-0.2.5-4.el7.x86_64 6/100 Verifying : zlib-devel-1.2.7-18.el7.x86_64 7/100 Verifying : xorg-x11-proto-devel-2018.4-1.el7.noarch 8/100 Verifying : cpp-4.8.5-44.el7.x86_64 9/100 Verifying : c-ares-1.10.0-3.el7.x86_64 10/100 Verifying : 1:tk-8.5.13-6.el7.x86_64 11/100 Verifying : libXrender-devel-0.9.10-1.el7.x86_64 12/100 Verifying : libxml2-devel-2.9.1-6.el7.5.x86_64 13/100 Verifying : libX11-1.6.7-3.el7_9.x86_64 14/100 Verifying : dejavu-sans-fonts-2.33-6.el7.noarch 15/100 Verifying : libcurl-7.29.0-59.el7_9.1.x86_64 16/100 Verifying : libsepol-devel-2.5-10.el7.x86_64 17/100 Verifying : libxml2-python-2.9.1-6.el7.5.x86_64 18/100 Verifying : libblkid-2.23.2-65.el7.x86_64 19/100 Verifying : libXau-1.0.8-2.1.el7.x86_64 20/100 Verifying : libgpg-error-devel-1.12-3.el7.x86_64 21/100 Verifying : freetype-2.8-14.el7_9.1.x86_64 22/100 Verifying : libgcc-4.8.5-44.el7.x86_64 23/100 Verifying : libXau-devel-1.0.8-2.1.el7.x86_64 24/100 Verifying : 2:libpng-devel-1.5.13-8.el7.x86_64 25/100 Verifying : keyutils-libs-devel-1.5.8-3.el7.x86_64 26/100 Verifying : libicu-devel-50.2-4.el7_7.x86_64 27/100 Verifying : e2fsprogs-1.42.9-19.el7.x86_64 28/100 Verifying : libxslt-devel-1.1.28-6.el7.x86_64 29/100 Verifying : libicu-50.2-4.el7_7.x86_64 30/100 Verifying : e2fsprogs-libs-1.42.9-19.el7.x86_64 31/100 Verifying : curl-7.29.0-59.el7_9.1.x86_64 32/100 Verifying : krb5-libs-1.15.1-50.el7.x86_64 33/100 Verifying : libss-1.42.9-19.el7.x86_64 34/100 Verifying : libgomp-4.8.5-44.el7.x86_64 35/100 Verifying : libXft-devel-2.3.2-2.el7.x86_64 36/100 Verifying : 1:tcl-8.5.13-8.el7.x86_64 37/100 Verifying : libselinux-devel-2.5-15.el7.x86_64 38/100 Verifying : fontconfig-2.13.0-4.3.el7.x86_64 39/100 Verifying : pcre-devel-8.32-17.el7.x86_64 40/100 Verifying : libX11-devel-1.6.7-3.el7_9.x86_64 41/100 Verifying : libuuid-2.23.2-65.el7.x86_64 42/100 Verifying : gdbm-devel-1.10-8.el7.x86_64 43/100 Verifying : fontpackages-filesystem-1.44-8.el7.noarch 44/100 Verifying : libwebp-devel-0.3.0-7.el7.x86_64 45/100 Verifying : fontconfig-devel-2.13.0-4.3.el7.x86_64 46/100 Verifying : libdb4-devel-4.8.30-13.el7.x86_64 47/100 Verifying : libxml2-2.9.1-6.el7.5.x86_64 48/100 Verifying : ncurses-devel-5.9-14.20130511.el7_4.x86_64 49/100 Verifying : gcc-4.8.5-44.el7.x86_64 50/100 Verifying : 1:openssl-devel-1.0.2k-19.el7.x86_64 51/100 Verifying : 2:libpng-1.5.13-8.el7.x86_64 52/100 Verifying : libgcrypt-devel-1.5.3-14.el7.x86_64 53/100 Verifying : libcurl-devel-7.29.0-59.el7_9.1.x86_64 54/100 Verifying : xz-devel-5.2.2-1.el7.x86_64 55/100 Verifying : krb5-devel-1.15.1-50.el7.x86_64 56/100 Verifying : libcom_err-devel-1.42.9-19.el7.x86_64 57/100 Verifying : 1:tcl-devel-8.5.13-8.el7.x86_64 58/100 Verifying : expat-2.1.0-12.el7.x86_64 59/100 Verifying : libxslt-python-1.1.28-6.el7.x86_64 60/100 Verifying : libuuid-devel-2.23.2-65.el7.x86_64 61/100 Verifying : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 62/100 Verifying : libcom_err-1.42.9-19.el7.x86_64 63/100 Verifying : dejavu-fonts-common-2.33-6.el7.noarch 64/100 Verifying : 1:tk-devel-8.5.13-6.el7.x86_64 65/100 Verifying : libxcb-1.13-1.el7.x86_64 66/100 Verifying : libXft-2.3.2-2.el7.x86_64 67/100 Verifying : libX11-common-1.6.7-3.el7_9.noarch 68/100 Verifying : icu-50.2-4.el7_7.x86_64 69/100 Verifying : freetype-devel-2.8-14.el7_9.1.x86_64 70/100 Verifying : readline-devel-6.2-11.el7.x86_64 71/100 Verifying : expat-devel-2.1.0-12.el7.x86_64 72/100 Verifying : libxcb-devel-1.13-1.el7.x86_64 73/100 Verifying : sqlite-devel-3.7.17-8.el7_7.1.x86_64 74/100 Verifying : libxslt-1.1.28-6.el7.x86_64 75/100 Verifying : libdb4-4.8.30-13.el7.x86_64 76/100 Verifying : libsmartcols-2.23.2-65.el7.x86_64 77/100 Verifying : util-linux-2.23.2-65.el7.x86_64 78/100 Verifying : libmount-2.23.2-65.el7.x86_64 79/100 Verifying : 2:libpng-1.5.13-7.el7_2.x86_64 80/100 Verifying : libxml2-python-2.9.1-6.el7.4.x86_64 81/100 Verifying : libmount-2.23.2-63.el7.x86_64 82/100 Verifying : util-linux-2.23.2-63.el7.x86_64 83/100 Verifying : libsmartcols-2.23.2-63.el7.x86_64 84/100 Verifying : freetype-2.8-14.el7.x86_64 85/100 Verifying : e2fsprogs-libs-1.42.9-17.el7.x86_64 86/100 Verifying : gcc-4.8.5-39.el7.x86_64 87/100 Verifying : libxml2-2.9.1-6.el7.4.x86_64 88/100 Verifying : cpp-4.8.5-39.el7.x86_64 89/100 Verifying : libcom_err-1.42.9-17.el7.x86_64 90/100 Verifying : libcurl-7.29.0-57.el7.x86_64 91/100 Verifying : e2fsprogs-1.42.9-17.el7.x86_64 92/100 Verifying : libgomp-4.8.5-39.el7.x86_64 93/100 Verifying : libblkid-2.23.2-63.el7.x86_64 94/100 Verifying : krb5-libs-1.15.1-46.el7.x86_64 95/100 Verifying : curl-7.29.0-57.el7.x86_64 96/100 Verifying : libgcc-4.8.5-39.el7.x86_64 97/100 Verifying : libuuid-2.23.2-63.el7.x86_64 98/100 Verifying : libss-1.42.9-17.el7.x86_64 99/100 Verifying : expat-2.1.0-11.el7.x86_64 100/100 Installed: bzip2-devel.x86_64 0:1.0.6-13.el7 c-ares.x86_64 0:1.10.0-3.el7 freetype-devel.x86_64 0:2.8-14.el7_9.1 gdbm-devel.x86_64 0:1.10-8.el7 icu.x86_64 0:50.2-4.el7_7 libcurl-devel.x86_64 0:7.29.0-59.el7_9.1 libdb4-devel.x86_64 0:4.8.30-13.el7 libffi-devel.x86_64 0:3.0.13-19.el7 libicu-devel.x86_64 0:50.2-4.el7_7 libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7 libpcap-devel.x86_64 14:1.5.3-12.el7 libpng-devel.x86_64 2:1.5.13-8.el7 libwebp-devel.x86_64 0:0.3.0-7.el7 libxml2-devel.x86_64 0:2.9.1-6.el7.5 libxslt.x86_64 0:1.1.28-6.el7 libxslt-devel.x86_64 0:1.1.28-6.el7 libxslt-python.x86_64 0:1.1.28-6.el7 ncurses-devel.x86_64 0:5.9-14.20130511.el7_4 openssl-devel.x86_64 1:1.0.2k-19.el7 pcre-devel.x86_64 0:8.32-17.el7 readline-devel.x86_64 0:6.2-11.el7 sqlite-devel.x86_64 0:3.7.17-8.el7_7.1 tk-devel.x86_64 1:8.5.13-6.el7 xz-devel.x86_64 0:5.2.2-1.el7 zlib-devel.x86_64 0:1.2.7-18.el7 Dependency Installed: dejavu-fonts-common.noarch 0:2.33-6.el7 dejavu-sans-fonts.noarch 0:2.33-6.el7 expat-devel.x86_64 0:2.1.0-12.el7 fontconfig.x86_64 0:2.13.0-4.3.el7 fontconfig-devel.x86_64 0:2.13.0-4.3.el7 fontpackages-filesystem.noarch 0:1.44-8.el7 keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.15.1-50.el7 libX11.x86_64 0:1.6.7-3.el7_9 libX11-common.noarch 0:1.6.7-3.el7_9 libX11-devel.x86_64 0:1.6.7-3.el7_9 libXau.x86_64 0:1.0.8-2.1.el7 libXau-devel.x86_64 0:1.0.8-2.1.el7 libXft.x86_64 0:2.3.2-2.el7 libXft-devel.x86_64 0:2.3.2-2.el7 libXrender.x86_64 0:0.9.10-1.el7 libXrender-devel.x86_64 0:0.9.10-1.el7 libcom_err-devel.x86_64 0:1.42.9-19.el7 libdb4.x86_64 0:4.8.30-13.el7 libgcrypt-devel.x86_64 0:1.5.3-14.el7 libgpg-error-devel.x86_64 0:1.12-3.el7 libicu.x86_64 0:50.2-4.el7_7 libkadm5.x86_64 0:1.15.1-50.el7 libselinux-devel.x86_64 0:2.5-15.el7 libsepol-devel.x86_64 0:2.5-10.el7 libuuid-devel.x86_64 0:2.23.2-65.el7 libverto-devel.x86_64 0:0.2.5-4.el7 libxcb.x86_64 0:1.13-1.el7 libxcb-devel.x86_64 0:1.13-1.el7 tcl.x86_64 1:8.5.13-8.el7 tcl-devel.x86_64 1:8.5.13-8.el7 tk.x86_64 1:8.5.13-6.el7 xorg-x11-proto-devel.noarch 0:2018.4-1.el7 Updated: freetype.x86_64 0:2.8-14.el7_9.1 gcc.x86_64 0:4.8.5-44.el7 libxml2.x86_64 0:2.9.1-6.el7.5 Dependency Updated: cpp.x86_64 0:4.8.5-44.el7 curl.x86_64 0:7.29.0-59.el7_9.1 e2fsprogs.x86_64 0:1.42.9-19.el7 e2fsprogs-libs.x86_64 0:1.42.9-19.el7 expat.x86_64 0:2.1.0-12.el7 krb5-libs.x86_64 0:1.15.1-50.el7 libblkid.x86_64 0:2.23.2-65.el7 libcom_err.x86_64 0:1.42.9-19.el7 libcurl.x86_64 0:7.29.0-59.el7_9.1 libgcc.x86_64 0:4.8.5-44.el7 libgomp.x86_64 0:4.8.5-44.el7 libmount.x86_64 0:2.23.2-65.el7 libpng.x86_64 2:1.5.13-8.el7 libsmartcols.x86_64 0:2.23.2-65.el7 libss.x86_64 0:1.42.9-19.el7 libuuid.x86_64 0:2.23.2-65.el7 libxml2-python.x86_64 0:2.9.1-6.el7.5 util-linux.x86_64 0:2.23.2-65.el7 Complete! Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package libxslt-1.1.28-6.el7.x86_64 already installed and latest version Package libxslt-devel-1.1.28-6.el7.x86_64 already installed and latest version Package libxslt-python-1.1.28-6.el7.x86_64 already installed and latest version Nothing to do Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package libjpeg-turbo-devel-1.2.90-8.el7.x86_64 already installed and latest version Nothing to do Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile No package vixie-cron available. Error: Nothing to do Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package libdb4-devel-4.8.30-13.el7.x86_64 already installed and latest version Nothing to do Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:7-13 will be installed --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================================================================================================================================================================== Installing: epel-release noarch 7-13 epel 15 k Transaction Summary ==================================================================================================================================================================================================================================================================================================================================== Install 1 Package Total download size: 15 k Installed size: 25 k Downloading packages: epel-release-7-13.noarch.rpm | 15 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : epel-release-7-13.noarch 1/1 Verifying : epel-release-7-13.noarch 1/1 Installed: epel-release.noarch 0:7-13 Complete! https://mirrors.aliyun.com/pypi/simple OS: el - 7 --2020-12-08 13:16:06-- http://dg1.bt.cn/install/pyenv/pyenv-el7-x64.tar.gz Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 69984787 (67M) [application/octet-stream] Saving to: ‘/www/pyenv.tar.gz’ 100%[==========================================================================================================================================================================================================================================================================================>] 69,984,787 1.08MB/s in 54s 2020-12-08 13:17:00 (1.23 MB/s) - ‘/www/pyenv.tar.gz’ saved [69984787/69984787] Install python env... --2020-12-08 13:17:02-- http://dg1.bt.cn/install/src/panel6.zip Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6776607 (6.5M) [application/zip] Saving to: ‘panel.zip’ 100%[==========================================================================================================================================================================================================================================================================================>] 6,776,607 1.21MB/s in 4.3s 2020-12-08 13:17:06 (1.49 MB/s) - ‘panel.zip’ saved [6776607/6776607] --2020-12-08 13:17:06-- http://dg1.bt.cn/install/src/bt6.init Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9873 (9.6K) [application/octet-stream] Saving to: ‘/etc/init.d/bt’ 100%[==========================================================================================================================================================================================================================================================================================>] 9,873 --.-K/s in 0.001s 2020-12-08 13:17:07 (8.60 MB/s) - ‘/etc/init.d/bt’ saved [9873/9873] --2020-12-08 13:17:07-- http://dg1.bt.cn/install/public.sh Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4634 (4.5K) [application/octet-stream] Saving to: ‘/www/server/panel/install/public.sh’ 100%[==========================================================================================================================================================================================================================================================================================>] 4,634 --.-K/s in 0.001s 2020-12-08 13:17:07 (4.42 MB/s) - ‘/www/server/panel/install/public.sh’ saved [4634/4634] --2020-12-08 13:17:07-- http://dg1.bt.cn/install/src/bt7.init Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10312 (10K) [application/octet-stream] Saving to: ‘/etc/init.d/bt’ 100%[==========================================================================================================================================================================================================================================================================================>] 10,312 --.-K/s in 0.001s 2020-12-08 13:17:07 (8.58 MB/s) - ‘/etc/init.d/bt’ saved [10312/10312] --2020-12-08 13:17:07-- http://dg1.bt.cn/install/src/bt7.init Resolving dg1.bt.cn (dg1.bt.cn)... 183.235.223.101, 2001:19f0:4400:5138:5400:2ff:fe1f:10f2 Connecting to dg1.bt.cn (dg1.bt.cn)|183.235.223.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10312 (10K) [application/octet-stream] Saving to: ‘/www/server/panel/init.sh’ 100%[==========================================================================================================================================================================================================================================================================================>] 10,312 --.-K/s in 0s 2020-12-08 13:17:07 (29.0 MB/s) - ‘/www/server/panel/init.sh’ saved [10312/10312] Starting Bt-Panel.... done Starting Bt-Tasks... done username: g2lker52 Stopping Bt-Tasks... done Stopping Bt-Panel... done Starting Bt-Panel.... done Starting Bt-Tasks... done Loaded plugins: fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package firewalld.noarch 0:0.6.3-8.el7_8.1 will be updated ---> Package firewalld.noarch 0:0.6.3-12.el7 will be an update --> Processing Dependency: python-firewall = 0.6.3-12.el7 for package: firewalld-0.6.3-12.el7.noarch --> Processing Dependency: firewalld-filesystem = 0.6.3-12.el7 for package: firewalld-0.6.3-12.el7.noarch --> Running transaction check ---> Package firewalld-filesystem.noarch 0:0.6.3-8.el7_8.1 will be updated ---> Package firewalld-filesystem.noarch 0:0.6.3-12.el7 will be an update ---> Package python-firewall.noarch 0:0.6.3-8.el7_8.1 will be updated ---> Package python-firewall.noarch 0:0.6.3-12.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================================================================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================================================================================================================================================================================================== Updating: firewalld noarch 0.6.3-12.el7 updates 448 k Updating for dependencies: firewalld-filesystem noarch 0.6.3-12.el7 updates 51 k python-firewall noarch 0.6.3-12.el7 updates 355 k Transaction Summary ==================================================================================================================================================================================================================================================================================================================================== Upgrade 1 Package (+2 Dependent packages) Total download size: 854 k Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/3): firewalld-filesystem-0.6.3-12.el7.noarch.rpm | 51 kB 00:00:00 (2/3): python-firewall-0.6.3-12.el7.noarch.rpm | 355 kB 00:00:00 (3/3): firewalld-0.6.3-12.el7.noarch.rpm | 448 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 5.8 MB/s | 854 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : python-firewall-0.6.3-12.el7.noarch 1/6 Updating : firewalld-filesystem-0.6.3-12.el7.noarch 2/6 Updating : firewalld-0.6.3-12.el7.noarch 3/6 Cleanup : firewalld-0.6.3-8.el7_8.1.noarch 4/6 Cleanup : firewalld-filesystem-0.6.3-8.el7_8.1.noarch 5/6 Cleanup : python-firewall-0.6.3-8.el7_8.1.noarch 6/6 Verifying : firewalld-0.6.3-12.el7.noarch 1/6 Verifying : firewalld-filesystem-0.6.3-12.el7.noarch 2/6 Verifying : python-firewall-0.6.3-12.el7.noarch 3/6 Verifying : python-firewall-0.6.3-8.el7_8.1.noarch 4/6 Verifying : firewalld-0.6.3-8.el7_8.1.noarch 5/6 Verifying : firewalld-filesystem-0.6.3-8.el7_8.1.noarch 6/6 Updated: firewalld.noarch 0:0.6.3-12.el7 Dependency Updated: firewalld-filesystem.noarch 0:0.6.3-12.el7 python-firewall.noarch 0:0.6.3-12.el7 Complete! Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service. Created symlink from /etc/systemd/system/multi-user.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service. success ================================================================== Congratulations! Installed successfully! ================================================================== 外网面板地址: http://81.71.23.110:8888/6cf7524e 内网面板地址: http://172.16.0.10:8888/6cf7524e username: g2lker52 password: 846d5138 If you cannot access the panel, release the following panel port [8888] in the security group 若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口 ================================================================== Time consumed: 2 Minute! [root@VM-0-10-centos /]# 根据提示访问宝塔后台:http://81.71.23.110:8888/6cf7524eusername: g2lker52password: 846d5138
2020年12月08日
31 阅读
0 评论
0 点赞
2020-06-05
VPS常用测试脚本
经常买VPS的人一般买来个新VPS都会跑一遍脚本,这里整理出来方便自己也方便看官。主要是测试vps的性能和网速:Bench.sh秋水逸冰大佬的写的Bench.sh脚本特点显示当前测试的各种系统信息;取自世界多处的知名数据中心的测试点,下载测试比较全面;支持 IPv6 下载测速;IO 测试三次,并显示平均值。使用wget -qO- bench.sh | bash # OR curl -Lso- bench.sh | bash # OR wget -qO- 86.re/bench.sh | bash 示例效果:SuperBench.sh老鬼大佬的SuperBench测试脚本特点改进了显示的模式,基本参数添加了颜色,方面区分与查找。I/O测试,更改了原来默认的测试的内容,采用小文件,中等文件,大文件,分别测试IO性能,然后取平均值。速度测试替换成了 Superspeed 里面的测试,第一个默认节点是,Speedtest 默认,其他分别测试到中国电信,联通,移动,各三个不同地区的速度。使用wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash # OR curl -Lso- -no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bashLemonBench.shLemonBench工具(别名LBench、柠檬Bench),是一款针对Linux服务器设计的服务器性能测试工具。通过综合测试,可以快速评估服务器的综合性能,为使用者提供服务器硬件配置信息。特点服务器基础信息(CPU信息/内存信息/Swap信息/磁盘空间信息等)Speedtest网速测试 (本地到最近源及国内各地域不同线路的网速)磁盘测试(4K块/1M块 直接写入测试)路由追踪测试(追踪到国内和海外不同线路的路由信息)Spoofer测试(获取详细网络信息,快速判断服务器接入线路)使用curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
2020年06月05日
13 阅读
0 评论
0 点赞
2019-04-13
git部分高级用法
Rebase 合并该命令可以让和 merge 命令得到的结果基本是一致的。通常使用 merge 操作将分支上的代码合并到 master 中,分支样子如下所示:使用 rebase 后,会将 develop 上的 commit 按顺序移到 master 的第三个 commit 后面,分支样子如下所示:rebase 对比 merge,优势在于合并后的结果很清晰,只有一条线,劣势在于如果一旦出现冲突,解决冲突很麻烦,可能要解决多个冲突,但是 merge 出现冲突只需要解决一次。使用 rebase 应该在需要被 rebase 的分支上操作,并且该分支是本地分支。如果 develop 分支需要 rebase 到 master 上去,那么应该如下操作## branch develop git rebase master git checkout master ## 用于将 `master` 上的 HEAD 移动到最新的 commit git merge developstashstash 用于临时保存工作目录的改动。开发中可能会遇到代码写一半需要切分支打包的问题,如果这时候你不想 commit 的话,就可以使用该命令。git stash使用该命令可以暂存你的工作目录,后面想恢复工作目录,只需要使用git stash pop这样你之前临时保存的代码又回来了reflogreflog 可以看到 HEAD 的移动记录,假如之前误删了一个分支,可以通过 git reflog 看到移动 HEAD 的哈希值从图中可以看出,HEAD 的最后一次移动行为是 merge 后,接下来分支 new 就被删除了,那么我们可以通过以下命令找回 new 分支git checkout 37d9aca git checkout -b newPS:reflog 记录是有时效性的,只会保存一段时间内的记录。reset如果你想删除刚写的 commit,就可以通过以下命令实现git reset --hard HEAD^但是 reset 的本质并不是删除了 commit,而是重新设置了 HEAD 和它指向的 branch。
2019年04月13日
60 阅读
0 评论
0 点赞
2017-11-08
Linux运维常用命令
查看某文件夹下所有的文件数量:# command 1 : find -type f -o -type s -o -type p -o -type d |wc -l # command 2 : ls -al|grep '^-'|wc -l # command 3 : find -type f |wc -l删除0字节文件find -type f -size 0 -exec rm -rf {} \; 查看进程# 按内存从大到小排列 ps -e -o "%C : %p : %z : %a"|sort -k5 -nr # 按cpu利用率从大到小排列 ps -e -o "%C : %p : %z : %a"|sort -nr打印说cache里的URLgrep -r -a jpg /data/cache/* | strings | grep "http:" | awk -F'http:' '{print "http:"$2;}' 查看http的并发请求数及其TCP连接状态:netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'快速替换# sed在这个文里Root的一行,匹配Root一行,将no替换成yes. sed -i '/Root/s/no/yes/' /etc/ssh/sshd_config 如何杀掉mysql进程:# commond 1 ps aux |grep mysql |grep -v grep |awk '{print $2}' |xargs kill -9 # commond 2 killall -TERM mysqld # commond 3 通过pid文件查杀进程PID kill -9 `cat /usr/local/apache2/logs/httpd.pid` 显示运行3级别开启的服务:ls /etc/rc3.d/S* |cut -c 15- 如何在编写SHELL显示多个信息,用EOFcat << EOF +--------------------------------------------------------------+ | === Welcome to Tunoff services === | +--------------------------------------------------------------+ EOFfor 的巧用(如给mysql建软链接)cd /usr/local/mysql/bin for i in * do ln /usr/local/mysql/bin/$i /usr/bin/$i done取IP地址:# commond 1 ifconfig eth0 |grep "inet addr:" |awk '{print $2}'|cut -c 6- # commond 2 ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'内存的大小:free -m |grep "Mem" | awk '{print $2}' 查看Apache的并发请求数及其TCP连接状态:netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 因为同事要统计一下服务器下面所有的jpg的文件的大小,写了个shell给他来统计.原来用xargs实现,但他一次处理一部分,搞的有多个总和....,下面的命令就能解决啦.find / -name *.jpg -exec wc -c {} \;|awk '{print $1}'|awk '{a+=$1}END{print a}' CPU的数量cat /proc/cpuinfo |grep -c processorCPU负载 cat /proc/loadavg检查前三个输出值是否超过了系统逻辑CPU的4倍。 查看CPU负载# 检查%idle是否过低(比如小于5%) mpstat 1 1 内存空间free # 检查free值是否过低 也可以用 # cat /proc/meminfo swap空间# 检查swap used值是否过高 free # 如果swap used值过高,进一步检查swap动作是否频繁: vmstat 1 5 # 观察si和so值是否较大磁盘空间df -h # 检查是否有分区使用率(Use%)过高(比如超过90%) 如发现某个分区空间接近用尽,可以进入该分区的挂载点,用以下命令找出占用空间最多的文件或目录: du -cks * | sort -rn | head -n 10 磁盘I/O负载iostat -x 1 2 # 检查I/O使用率(%util)是否超过100% 网络负载sar -n DEV # 检查网络流量(rxbyt/s, txbyt/s)是否过高网络传输情况netstat -i # 检查是否有网络错误(drop fifo colls carrier) 也可以用命令: cat /proc/net/dev网络连接数目netstat -an | grep -E "^(tcp)" | cut -c 68- | sort | uniq -c | sort -n查看端口占用sudo netstat -tunlp | grep 8401 # OR sudo lsof -i:8401 进程总数# 检查进程个数是否正常 (比如超过250) ps aux | wc -l进程# 观察是否有异常进程出现 top -id 1 用户who | wc -l # 检查登录用户是否过多 (比如超过50个) 也可以用命令:# uptime系统日志 cat /var/log/rflogview/*errors # 检查是否有异常错误记录 也可以搜寻一些异常关键字,例如: grep -i error /var/log/messages grep -i fail /var/log/messages 核心日志# 检查是否有异常错误记录 dmesg系统时间date 打开文件数目lsof | wc -l 日志# 需安装logwatch logwatch –print # 配置/etc/log.d/logwatch.conf,将 Mailto 设置为自己的email 地址,启动mail服务 (sendmail或者postfix),这样就可以每天收到日志报告了。 # 缺省logwatch只报告昨天的日志,可以用# logwatch –print –range all 获得所有的日志分析结果。 # 可以用# logwatch –print –detail high 获得更具体的日志分析结果(而不仅仅是出错日志)。杀掉80端口相关的进程lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh清除僵死进程。ps -eal | awk '{ if ($2 == "Z") {print $4}}' | kill -9tcpdump 抓包 ,用来防止80端口被人攻击时可以分析数据tcpdump -c 10000 -i eth0 -n dst port 80 > /root/pkts查看有多少个活动的php-cgi进程netstat -anp | grep php-cgi | grep ^tcp | wc -l chkconfig --list | awk '{if ($5=="3:on") print $1}' 在某个路径下查文件# 在/etc下查找“*.log”的文件 find /www/wwwlogs/ -name "*.log"列出某个路径下所有文件,包括子目录。find /etc -name "*"在某个路径下查找所有包含“hello abcserver”字符串的文件。find /etc -name "*" | xargs grep "hello zhuzl" # 或者 find /etc -name "*" | xargs grep "hello zhuzl" > ./zhuzltest.txt 拷贝远程文件# 拷贝远程(192.168.1.3)的/home2/backup/ 到本地的 /home/mover00/shadow_bak/sites/ scp -P 4400 -r root@192.168.1.3:/home2/backup/ /home/mover00/shadow_bak/sites/ # 拷贝本地的/home2/backup/ 到远程(192.168.1.3)的 /home/mover00/shadow_bak/sites/ scp -P 4400 -r /home2/backup/ root@192.168.1.3:/home/mover00/shadow_bak/sites/ # 格式如下: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2如何知道哪个应用锁定了文件lsof <文件全路径>
2017年11月08日
22 阅读
0 评论
0 点赞
30分钟教你入门Git
Git近些年的火爆程度非同一般,这个版本控制系统被广泛地用在大型开源项目(比如Linux),不同规模的团队开发,以及独立开发者,甚至学生之中。初学者非常容易被git里的 各种命令、参数 吓得不愿意继续去学。但实际上刚上手的时候,你并不需要了解所有命令的用途。你可以从掌握一些简单、常用又强大的命令开始,然后逐步去学习。这就是我们这篇文章要讲的内容。让我们快开始吧!基本了解Git是一些命令行工具的集合,可以用来跟踪、记录文件的变动,经常用于开源代码。比如你可以进行旧版本恢复、比对、分析、合并等等。这个过程被称之为版本控制。已经有一系列的版本控制系统,比如SVN、Mercurial、Perforce、CVS、Bitkeepe等等。Git是分布式的,这意味着它并不依赖于中心服务器来保存你文件的旧版本。任何一台机器都可以有一个本地版本的控制系统,其实就是一个硬盘上的文件,我们称之为仓库(repository)。如果是多人协作的话,你还需要一个线上仓库,用来同步代码等信息。这就是GitHub、Gitlab、Gittee、BitBucket等网站做的工作。安装Git在你的机器上安装git非常简单:Linux – 打开终端,然后通过包管理安装,在Ubuntu上命令是: sudo apt-get install gitWindows – 推荐使用 git for windows ,它包括了图形工具以及命令行模拟器。OS X – 最简单的方式是使用 homebrew 安装,命令行执行brew install git如果你是新手,推荐使用图形工具 Github desktop、 TortoiseGit 和 Sourcetree 。不过即使使用图形界面的应用,知道一些基本的git命令依然很重要。接下来的内容我们集中在命令行控制上。2.配置Git安装完git,首要任务是做一些简单的配置,最重要的是用户名及邮箱,打开终端,执行以下命令。$ git config --global user.name "My Name" $ git config --global user.email myEmail@example.com配置好这两项,Git就能记录下来是谁做的动作,一切都更有组织性了。3.创建一个新仓库 – git initgit会把所有文件以及历史记录直接记录成一个文件夹保存在你的项目中。创建一个新的仓库,首先要去到项目路径下,执行git init。这时Git会创建一个隐藏的文件夹.git,所有的历史和配置信息都储存在其中。比如我们在桌面创建一个文件夹 git_exercise, 打开终端,输入:$ cd Desktop/git_exercise/ $ git init命令行会出现类似于如下的提示信息Initialized empty Git repository in /home/user/Desktop/git_exercise/.git/这说明我们的仓库已经建立好了,但现在是空的,试着新建一个hello.txt文本文件到这个文件夹里。4.检查状态 – git statusGit status是另一个非常重要的命令,它反馈给我们仓库当前状态的信息:是否为最新代码,有什么更新等等。在我们新建的仓库中执行git status会得到以下内容:$ git status On branch master Initial commit Untracked files: (use "git add ..." to include in what will be committed) hello.txt反馈信息告诉我们,hello.txt尚未跟踪,这是说这个文件是新的,git不知道是应该跟踪它的变动还是直接忽略。为了跟踪我们的新文件,我们需要暂存它。5.暂存 – git addGit有个概念叫“暂存区“,你可以把它看成一块空白的画布,包裹着所有你可能会提交的变动。它一开始是空的,可以通过 git add 命令添加内容,最后使用 git commit 提交(创建一个快照)。这个例子中只有一个文件,让我们先add它:$ git add hello.txt如果需要提交目录下的所有内容,可以这样做:$ git add -A再次使用git status查看状态试试:$ git status On branch master Initial commit Changes to be committed: (use "git rm --cached ..." to unstage) new file: hello.txt我们的文件已经准备好可以提交了。状态信息还告诉我们暂存区文件发生了什么变动,这里我们新增了一个文件,同样可以做修改和删除。取决于我们在上一次git add之后发生了什么。6.提交 – git commit一次提交代表着我们的仓库到了一个新的状态,就像是一个快照,允许我们像使用时光机一样回到之前的某个时间点。创建提交,需要我们至少在到暂存区有一次修改(刚才我们做了git add),然后输入命令:$ git commit -m "Initial commit."这就创建了一次从暂存区的提交(加入hello.txt),-m “Initial commit.”是用户对这次提交的描述,建议写成有意义的描述性信息。远程仓库到目前为止,我们的操作都是在本地的——只存在于.git文件中。为了能够协同开发,我们需要把代码部署到远程仓库服务器上。1.链接远程仓库 – git remote add为了能够上传到远程仓库,我们需要先建立起链接。在这篇教程中,我们远程仓库的地址为:https://github.com/igeekbar/awesome-project。但你应该自己在Github、或BitBucket上搭建仓库,自己一步一步尝试。把本地仓库链接到Github上,在命令行执行以下内容:# This is only an example. Replace the URI with your own repository address. $ git remote add origin https://github.com/igeekbar/awesome-project.git一个项目可以同时拥有好几个远程仓库,为了区分通常会起不同的名字。通常主要的远程仓库被称为origin。2.上传到服务器 – git push把本地的提交传送到服务器的动作叫做push。每次我们要提交修改到服务器上时,都会使用到git push。git push命令有两个参数,远程仓库的名字,以及分支的名字:$ git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 212 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) To https://github.com/igeekbar/awesome-project.git * [new branch] master -> master取决于你使用的服务器,push过程中你可能需要验证身份(输入用户名、密码,请先在网站上进行注册)。如果没有出差错,现在用浏览器看你的远程仓库上已经有hello.txt了。3.克隆仓库 – git clone其他人可以看到你放在Github上的开源项目,他们可以用git clone命令下载到本地。$ git clone https://github.com/igeekbar/awesome-project.git本地也会创建一个新的仓库,并自动将github上的版本设为远程仓库。4.从服务器上获得修改 – git pull如果你更新了远程仓库上的内容,其他人可以通过git pull命令拉取你的变动:$ git pull origin master From https://github.com/igeekbar/awesome-project * branch master -> FETCH_HEAD Already up-to-date.因为在我们git clone之后还没有提交过修改,所有没有任何变动。分支当你在做一个新功能的时候,最好是在一个独立的区域上开发(原始项目的拷贝),通常称之为分支。分支之间相互独立,并且拥有自己的历史记录,直到你决定把他们合并到一起。这样做的原因是:已经可以运行的稳定版本的代码不会被破坏不同的功能可以由不同开发者同时开发开发者可以专注于自己的分支,不用担心被其他人破坏在不确定哪个版本更好之前,同一个特性可以在不同的分支上创建多个版本,便于比较1.创建新分支 – git branch每一个仓库的默认分支都叫master, 创建新分支可以用git branch <name>命令:$ git branch amazing_new_feature创建了一个名为amazing_new_feature的新分支,它目前和master分支是一样的内容。2.切换分支 – git checkout使用git branch,可以查看分支状态:$ git branch amazing_new_feature * master号表示当前活跃分支为master,现在我们想在新分支上开发新的特性,使用git checkout切换分支。有一个参数表示要切换到的分支。$ git checkout amazing_new_feature3.合并分支 – git merge我们在“amazing_new_feature”分支想添加一个feature.txt。和之前一样我们来创建文件、添加到暂存区、提交。$ git add feature.txt $ git commit -m "New feature complete."新分支任务完成了,回到master分支。$ git checkout master现在去查看文件夹内容,你会惊奇地发现之前刚刚创建的feature.txt文件不见了,因为我们现在回到了master分支上,这里并没有feature.txt。想把文件添加到这里,我们需要使用git merge把amazing_new_feature分支合并到master上。$ git merge amazing_new_feature现在master分支是最新的了,amazing_new_feature分支可以删掉了。$ git branch -d amazing_new_feature进阶功能在这篇教程的最后一节,我们来看一些高级并且实用的技巧。1.比对两个不同提交之间的差别每次提交都有一个标识id,查看所有历史提交和他们的id,可以使用 git log:$ git log commit ba25c0ff30e1b2f0259157b42b9f8f5d174d80d7 Author: igeekbar Date: Fri July 29 17:15:28 2016 +0300 New feature complete commit b10cc1238e355c02a044ef9f9860811ff605c9b4 Author: igeekbar Date: Fri July 29 16:30:04 2016 +0300 Added content to hello.txt commit 09bd8cc171d7084e78e4d118a2346b7487dca059 Author: igeekbar Date: Thu July 28 17:52:14 2016 +0300 Initial commitid很长,但是当使用它的时候你并不需要复制整个字符串,前几个字符就够了。查看某一次提交更新了什么,使用 git show [commit]:$ git show b10cc123 commit b10cc1238e355c02a044ef9f9860811ff605c9b4 Author: igeekbar Date: Fri July 29 16:30:04 2016 +0300 Added content to hello.txt diff --git a/hello.txt b/hello.txt index e69de29..b546a21 100644 --- a/hello.txt +++ b/hello.txt @@ -0,0 +1 @@ +Nice weather today, isn't it?查看两次提交的不同,可以使用git diff [commit-from]..[commit-to]:$ git diff 09bd8cc..ba25c0ff diff --git a/feature.txt b/feature.txt new file mode 100644 index 0000000..e69de29 diff --git a/hello.txt b/hello.txt index e69de29..b546a21 100644 --- a/hello.txt +++ b/hello.txt @@ -0,0 +1 @@ +Nice weather today, isn't it?比较首次提交和最后一次提交,我们可以看到中间所有的更改。使用git difftool命令可以用图形化界面查看所有更改。2.回滚某个文件到之前的版本Git允许我们将某个特定的文件回滚到特定的提交,使用的也是 git checkout命令。下面我们将hello.txt回滚到最初的状态,需要指定回滚到哪个提交(以id作为参数),以及文件的全路径。$ git checkout 09bd8cc1 hello.txt3.回滚提交如果你发现最新的一次提交忘记加入某个文件,或是信息输入的不正确,你可以通过 git commit --amend来改正,它会把最新的提交打回暂存区,并尝试重新提交。如果是更复杂的情况,比如不是最新的提交除了问题,你可以使用git revert。最新的一次提交别名也叫HEAD。$ git revert HEAD其他提交需要指明id:$ git revert b10cc123回滚提交时,发生冲突是非常频繁的。比如文件被指定回滚的提交之后的某次提交修改过,git不能正确回滚。4.解决合并冲突冲突经常出现在合并分支或者是拉取别人的代码。有些时候git能自动处理冲突,其他时候需要我们手动处理。我们来看以下的例子,John 和 Tim 分别在各自的分支上写了一段代码,来显示一个数组中所有的元素。John使用了for循环:// Use a for loop to console.log contents. for(var i=0; i<arr.length; i++) { console.log(arr[i]); }Tim使用forEach:// Use forEach to console.log contents. arr.forEach(function(item) { console.log(item); });它们都提交了代码到各自的分支上,现在假设John尝试合并Tim的代码:$ git merge tim_branch Auto-merging print_array.js CONFLICT (content): Merge conflict in print_array.js Automatic merge failed; fix conflicts and then commit the result.这时候git并不能自动解决冲突,于是它在代码中插入冲突标记。<<<<<<< HEAD // Use a for loop to console.log contents. for(var i=0; i<arr.length; i++) { console.log(arr[i]); } ======= // Use forEach to console.log contents. arr.forEach(function(item) { console.log(item); }); >>>>>>> Tim’s commit.==== 号上方是当前最新一次提交,下方是冲突的代码。这样我们可以清晰地看出区别,决定使用哪一个版本,或者重新写一个。假设我们对于这两个版本都不满意,我们把代码改成以下代码:// Not using for loop or forEach. // Use Array.toString() to console.log contents. console.log(arr.toString());好了,再提交一下:$ git add -A $ git commit -m "Array printing conflict resolved." ··· 在大型项目中,我们可能在合并过程中出现很多冲突,大部分开发者会借助GUI工具来获得帮助,运行推行界面可以使用git mergetool命令。 ### 5.配置 .gitignore 大部分项目中,会有些文件、文件夹是我们不想提交的。为了防止使用git add -A时不小心提交,我们可以利用.gitignore文件: - 在项目根目录创建.gitignore文件 - 在文件中列出不需要提交的文件名、文件夹名,每个一行 - .gitignore文件需要像普通文件一样add、commit和push 通常会被ignore的文件有: - log文件 - task runner builds - node.js项目中的node_modules文件夹 - IDEs比如NetBeans和IntelliJ生成的文件 - 个人笔记 以下是一个.gitignore文件的例子: *.logbuild/node_modules/.idea/my_notes.txt“/”说明是一个文件夹,里面的所有内容都被递归忽略 ------------ Git教程到这里就结束啦! Git很复杂,还有很多的特性和技巧等着你去挖掘,这篇教程只涵盖了冰山一角,希望你不要因为太多繁琐的命令而停下前进的脚步!加油! 再推荐一个学习git分支的在线交互网站: [Learn Git Branching](https://learngitbranching.js.org/?locale=zh_CN) via: [tutorialzine.com](https://tutorialzine.com/2016/06/learn-git-in-30-minutes)
2017年08月10日
34 阅读
0 评论
0 点赞
2017-04-23
git命令之git branch系列
1、git branch查看本地当前所在分支,并且在当前分支前面加“*”号标记2、git branch -r查看远程分支,r 是 remote 的简写3、git checkout -b production origin/production取远程分支 并 分化一个新的分支到本地;然后此刻,本地已经切换到了该新分支,执行 git pull ,将代码拉下来,本地才有了完整的对应分支;前提:先查看远程分支情况,执行 git branch -r例子:git checkout -b hotfix_v2003 origin/hotfix_v20034、git branch -a列出本地分支和远程分支5、git branch 分支名创建一个新的本地分支,需要注意,此处只是创建分支,不进行分支切换;git checkout -b 分支名 创建一个新的本地分支,同时切换到刚新建的分支上。6、git branch -m | -M oldbranch newbranch重命名分支,如果newbranch名字已经存在,则需要使用-M强制重命名,否则,使用-m进行重命名。7、git branch -d | -D branchname删除branchname分支,D表示强制删除7.1、git branch -d mybranch删除分支7.2、git branch -D mybranch强制删除分支8、git branch -d -r branchname删除远程 branchname 分支,通知还需要执行 push 命令,才能真正删除:git push origin:branchname补充:如果不执行 push 命令,虽然通过git branch -r已经看不到 branchname 了,但在GitHub的网页上依然能看到branchname,而且执行git fetch命令后,再git branch -r,由可以看到branchname,说明如果不push没有真正删除远程分支。9、git branch -v查看各个分支最后一次提交10、git branch -merged查看哪些分支合并入当前分支11、git branch -no-merged查看哪些分支未合并入当前分支12、git fetch origin更新远程库到本地13、git push origin mybranch推送分支14、git merged origin/mybranch去远程分支合并到本地15、git push origin:mybranch删除远程分支
2017年04月23日
23 阅读
0 评论
0 点赞
1
2
3