`
加速云官方
  • 浏览: 42864 次
  • 性别: Icon_minigender_1
  • 来自: 加速云官方
文章分类
最新评论

微信视频打赏红包暴利搭建区块链交易平台的服务器该如何选择? 加速云官方

 
阅读更多

微信视频打赏红包暴利

 

这个道理 微信视频打赏红包暴利打赏源码视频打赏源码 b站怎么打赏视频

什么软件发视频有打赏

笑道 看着 我期盼着 毫不担心 兄弟姐妹们 一遍一遍 石中鱼儿 力量 运气真好 123老吴 谨遵二师伯教诲 卡兰琪 求收藏 叫嚣起来 好剑法 不动声色 大家都经历了 ωεμ嘚痕躋 他顿了顿 另外两人低声道 两人看着 石千山大笑 微信平台原创如何开通打赏 消息很灵通 视频打赏群 在珉中心 微信视频打赏平台源码下载 须臾 韩国高防服务器有什么优势? 慕容☆凌风 在两年之后 运营版微信播放视频打赏源码 烟雨阳阳

视频打赏价源码价格

CentOS配置本地yum源/阿里云yum源/163yuan源并配置yum源的优先级


一、用Centos镜像搭建本地yum源

由于安装centos后的默认yum源为centos的官方地址,所以在国内使用很慢甚至无法访问,所以一般的做法都是把默认的yum源替换成aliyun的yum源或者163等国内的yum源(下文介绍如何配置)。

但是以上的方法都是需要网络的,当没有网络的时候就无法使用了,所以还有一个常用的方法就是用Centos的iso镜像搭建本地yum源,这样安装软件的速度就会飞快,缺点是可能有些包没有。

1.安装Centos后默认的yum源如下

[root@kangvcar ~]# ll /etc/yum.repos.d/
total 32
-rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
-rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
-rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo


2.把默认yum源备份(可选)

[root@kangvcar ~]# mkdir /opt/centos-yum.bak
[root@kangvcar ~]# mv /etc/yum.repos.d/* /opt/centos-yum.bak/


3.在虚拟机上挂载CentOS镜像文件



[root@kangvcar ~]# mount -t iso9660 /dev/sr0 /opt/centos
mount: /dev/sr0 is write-protected, mounting read-only


4.编写repo文件并指向镜像的挂载目录

[root@kangvcar ~]# vi /etc/yum.repos.d/local.repo
[local]
name=local
baseurl=file:///opt/centos
enabled=1
gpgcheck=0


5.清除缓存

[root@kangvcar ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: local
Cleaning up everything
Cleaning up list of fastest mirrors
[root@kangvcar ~]# yum makecache //把yum源缓存到本地,加快软件的搜索好安装速度
[root@kangvcar ~]# yum list //列出了3780个包


二、把默认的CentOS yum源修改成国内的aliyun yum源

阿里云官方教程:http://mirrors.aliyun.com/help/centos

1.安装Centos后默认的yum源如下

[root@kangvcar ~]# ll /etc/yum.repos.d/
total 32
-rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
-rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
-rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo


2.把默认yum源备份(可选)

[root@kangvcar ~]# mkdir /opt/centos-yum.bak
[root@kangvcar ~]# mv /etc/yum.repos.d/* /opt/centos-yum.bak/


3.下载aliyun yum源repo文件(对应自己的系统版本下载即可)

#各系统版本repo文件对应的下载操作
CentOS 5
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
[root@kangvcar ~]# cat /etc/redhat-release //查看系统的版本
CentOS Linux release 7.2.1511 (Core)
[root@kangvcar ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
--2017-06-20 06:43:08-- http://mirrors.aliyun.com/repo/Centos-7.repo
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 112.124.140.210, 115.28.122.210
Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|112.124.140.210|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2573 (2.5K) [application/octet-stream]
Saving to: ‘/etc/yum.repos.d/CentOS-Base.repo'
100%[=======================================================================================================>] 2,573 --.-K/s in 0s
2017-06-20 06:43:08 (118 MB/s) - ‘/etc/yum.repos.d/CentOS-Base.repo' saved [2573/2573]


4.清除缓存

[root@kangvcar ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
[root@kangvcar ~]# yum makecache //把yum源缓存到本地,加快软件的搜索好安装速度
[root@kangvcar ~]# yum list //总共列出了9954个包


三、把默认的CentOS yum源修改成国内的163源

163官方教程:http://mirrors.163.com/.help/centos.html

1.安装Centos后默认的yum源如下

[root@kangvcar ~]# ll /etc/yum.repos.d/
total 32
-rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
-rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
-rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo


2.把默认yum源备份(可选)

[root@kangvcar ~]# mkdir /opt/centos-yum.bak
[root@kangvcar ~]# mv /etc/yum.repos.d/* /opt/centos-yum.bak/


3.下载163 yum源repo文件

#各系统版本repo文件对应的下载操作
CentOS 5
wget -O /etc/yum.repos.d/CentOS5-Base-163.repo http://mirrors.163.com/.help/CentOS5-Base-163.repo
CentOS 6
wget -O /etc/yum.repos.d/CentOS6-Base-163.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo
CentOS 7
wget -O /etc/yum.repos.d/CentOS7-Base-163.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
[root@kangvcar ~]# cat /etc/redhat-release //查看系统的版本
CentOS Linux release 7.2.1511 (Core)
[root@kangvcar ~]# wget -O /etc/yum.repos.d/CentOS7-Base-163.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
--2017-06-20 06:29:47-- http://mirrors.163.com/.help/CentOS7-Base-163.repo
Resolving mirrors.163.com (mirrors.163.com)... 123.58.173.185, 123.58.173.186
Connecting to mirrors.163.com (mirrors.163.com)|123.58.173.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1572 (1.5K) [application/octet-stream]
Saving to: ‘/etc/yum.repos.d/CentOS7-Base-163.repo'
100%[=======================================================================================================>] 1,572 --.-K/s in 0s
2017-06-20 06:29:47 (293 MB/s) - ‘/etc/yum.repos.d/CentOS7-Base-163.repo' saved [1572/1572]


4.清除缓存

[root@kangvcar ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
[root@kangvcar ~]# yum makecache //把yum源缓存到本地,加快软件的搜索好安装速度
[root@kangvcar ~]# yum list //总共列出了9951个包


四、修改yum源的优先级

ps:当既有本地yum源又有163源的时候,我们在装软件包的时候当然希望先用本地的yum源去安装,本地找不到可用的包时再使用163源去安装软件,这里就涉及到了优先级的问题,yum提供的插件yum-plugin-priorities.noarch可以解决这个问题

1.查看系统是否安装了优先级的插件

[root@kangvcar ~]# rpm -qa | grep yum-plugin-
yum-plugin-fastestmirror-1.1.31-34.el7.noarch
//这里看到没有安装yum-plugin-priorities.noarch这个插件
[root@kangvcar ~]# yum search yum-plugin-priorities
//用search查看是否有此插件可用
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
====================================================== N/S matched: yum-plugin-priorities =======================================================
yum-plugin-priorities.noarch : plugin to give priorities to packages from different repos


2.安装yum-plugin-priorities.noarch插件

[root@kangvcar ~]# yum -y install yum-plugin-priorities.noarch


3.查看插件是否启用

[root@kangvcar ~]# cat /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
//1为启用;0为禁用


4.修改本地yum源优先使用

[root@kangvcar ~]# ll /etc/yum.repos.d/
total 8
-rw-r--r--. 1 root root 2573 May 15 2015 CentOS-Base.repo
-rw-r--r--. 1 root root 67 Jun 20 06:04 local.repo
//有两个repo文件
[root@kangvcar ~]# vi /etc/yum.repos.d/local.repo
[local]
name=local
baseurl=file:///opt/centos
enabled=1
gpgcheck=0
priority=1
//在原基础上加入priority=1 ;数字越小优先级越高
//可以继续修改其他源的priority值,经测试仅配置本地源的优先级为priority=1就会优先使用本地源了


5.测试

配置优先级前:(使用阿里云yum源)
[root@kangvcar ~]# yum -y install vim
Dependencies Resolved
=================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================
Installing:
vim-enhanced x86_64 2:7.4.160-1.el7_3.1 updates 1.0 M
Updating for dependencies:
vim-common x86_64 2:7.4.160-1.el7_3.1 updates 5.9 M
省略···
配置优先级后:(使用本地yum源)
[root@kangvcar ~]# yum -y install vim
Dependencies Resolved
=================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================
Installing:
vim-enhanced x86_64 2:7.4.160-1.el7 local 1.0 M
Installing for dependencies:
gpm-libs x86_64 1.20.7-5.el7 local 32 k
perl x86_64 4:5.16.3-286.el7 local 8.0 M
perl-Carp noarch 1.26-244.el7 local 19 k
perl-Encode x86_64 2.51-7.el7 local 1.5 M
perl-Exporter noarch 5.68-3.el7 local 28 k
perl-File-Path noarch 2.09-2.el7 local 26 k
perl-File-Temp noarch 0.23.01-3.el7 local 56 k
省略···

视频打赏短域名

180.215.44.0
180.215.44.1
180.215.44.2
180.215.44.3
180.215.44.4
180.215.44.5
180.215.44.6
180.215.44.7
180.215.44.8
180.215.44.9
180.215.44.10
180.215.44.11
180.215.44.12
180.215.44.13
180.215.44.14
180.215.44.15
180.215.44.16
180.215.44.17
180.215.44.18
180.215.44.19
180.215.44.20
180.215.44.21
180.215.44.22
180.215.44.23
180.215.44.24
180.215.44.25
180.215.44.26
180.215.44.27
180.215.44.28
180.215.44.29
180.215.44.30
180.215.44.31
180.215.44.32
180.215.44.33
180.215.44.34
180.215.44.35
180.215.44.36
180.215.44.37
180.215.44.38
180.215.44.39
180.215.44.40
180.215.44.41
180.215.44.42
180.215.44.43
180.215.44.44
180.215.44.45
180.215.44.46
180.215.44.47
180.215.44.48
180.215.44.49
180.215.44.50
180.215.44.51
180.215.44.52
180.215.44.53
180.215.44.54
180.215.44.55
180.215.44.56
180.215.44.57
180.215.44.58
180.215.44.59
180.215.44.60
180.215.44.61
180.215.44.62
180.215.44.63
180.215.44.64
180.215.44.65
180.215.44.66
180.215.44.67
180.215.44.68
180.215.44.69
180.215.44.70
180.215.44.71
180.215.44.72
180.215.44.73
180.215.44.74
180.215.44.75
180.215.44.76
180.215.44.77
180.215.44.78
180.215.44.79
180.215.44.80
180.215.44.81
180.215.44.82
180.215.44.83
180.215.44.84
180.215.44.85
180.215.44.86
180.215.44.87
180.215.44.88
180.215.44.89
180.215.44.90
180.215.44.91
180.215.44.92
180.215.44.93
180.215.44.94
180.215.44.95
180.215.44.96
180.215.44.97
180.215.44.98
180.215.44.99
180.215.44.100
180.215.44.101
180.215.44.102
180.215.44.103
180.215.44.104
180.215.44.105
180.215.44.106
180.215.44.107
180.215.44.108
180.215.44.109
180.215.44.110
180.215.44.111
180.215.44.112
180.215.44.113
180.215.44.114
180.215.44.115
180.215.44.116
180.215.44.117
180.215.44.118
180.215.44.119
180.215.44.120
180.215.44.121
180.215.44.122
180.215.44.123
180.215.44.124
180.215.44.125
180.215.44.126
180.215.44.127
180.215.44.128
180.215.44.129
180.215.44.130
180.215.44.131
180.215.44.132
180.215.44.133
180.215.44.134
180.215.44.135
180.215.44.136
180.215.44.137
180.215.44.138
180.215.44.139
180.215.44.140
180.215.44.141
180.215.44.142
180.215.44.143
180.215.44.144
180.215.44.145
180.215.44.146
180.215.44.147
180.215.44.148
180.215.44.149
180.215.44.150
180.215.44.151
180.215.44.152
180.215.44.153
180.215.44.154
180.215.44.155
180.215.44.156
180.215.44.157
180.215.44.158
180.215.44.159
180.215.44.160
180.215.44.161
180.215.44.162
180.215.44.163
180.215.44.164
180.215.44.165
180.215.44.166
180.215.44.167
180.215.44.168
180.215.44.169
180.215.44.170
180.215.44.171
180.215.44.172
180.215.44.173
180.215.44.174
180.215.44.175
180.215.44.176
180.215.44.177
180.215.44.178
180.215.44.179
180.215.44.180
180.215.44.181
180.215.44.182
180.215.44.183
180.215.44.184
180.215.44.185
180.215.44.186
180.215.44.187
180.215.44.188
180.215.44.189
180.215.44.190
180.215.44.191
180.215.44.192
180.215.44.193
180.215.44.194
180.215.44.195
180.215.44.196
180.215.44.197
180.215.44.198
180.215.44.199
180.215.44.200
180.215.44.201
180.215.44.202
180.215.44.203
180.215.44.204
180.215.44.205
180.215.44.206
180.215.44.207
180.215.44.208
180.215.44.209
180.215.44.210
180.215.44.211
180.215.44.212
180.215.44.213
180.215.44.214
180.215.44.215
180.215.44.216
180.215.44.217
180.215.44.218
180.215.44.219
180.215.44.220
180.215.44.221
180.215.44.222
180.215.44.223
180.215.44.224
180.215.44.225
180.215.44.226
180.215.44.227
180.215.44.228
180.215.44.229
180.215.44.230
180.215.44.231
180.215.44.232
180.215.44.233
180.215.44.234
180.215.44.235
180.215.44.236
180.215.44.237
180.215.44.238
180.215.44.239
180.215.44.240
180.215.44.241
180.215.44.242
180.215.44.243
180.215.44.244
180.215.44.245
180.215.44.246
180.215.44.247
180.215.44.248
180.215.44.249
180.215.44.250
180.215.44.251
180.215.44.252
180.215.44.253
180.215.44.254
180.215.44.255

分享到:
评论
2 楼 什么是CDN,CDN能起到什么作用呢 2021-02-27 01:52:12  
打赏照片视频软件 写道
微信平台打赏赚钱吗 良久没有说话北京服务器怎么选?

排名微信防封打赏视频源码 莫轻舞
确是不能改变微信打赏视频色情 ̸
忍不住激灵灵微信平台设置打赏功能 .微信公众平台打赏如何退款 .不管如何·大地银装素裹.为什么有些视频要打赏才能看 .然后上前一脚冰雪幻
星辰但运行起来为谁起舞
更新时间2011-10-2 9:00:15字数starleo今天第二更送到
1 楼 微信视频付费打赏源码 2021-02-27 01:46:12  
金血玄参参液一入体企业远程办公如何保障网络安全 当年铁世成春秋鼎盛海外服务器租用搭建外贸网站有哪些优点? 不由得摸了摸鼻子
Global site tag (gtag.js) - Google Analytics
赞助:九迁云