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

梅林多丽工业区做网站ueeshop建站费用

梅林多丽工业区做网站,ueeshop建站费用,什么是网站搭建,wordpress自动采集源码需求背景: 一般线上服务器都是不能连接外网,服务器安装好系统之后就需要部署相关软件,此时因为无法联网导致无法下载软件,所以都会做一个本地的离线软件源,本文简单介绍如何快速利用已经下载好的rpm包,制作…

需求背景:

         一般线上服务器都是不能连接外网,服务器安装好系统之后就需要部署相关软件,此时因为无法联网导致无法下载软件,所以都会做一个本地的离线软件源,本文简单介绍如何快速利用已经下载好的rpm包,制作一个软件源。

操作方法:

1, 保存rpm包

利用能够联网的机器,比如虚拟机,安装好openEuler,配置好网络和软件网络源,配置yum,保证下载之后能保存rpm文件。

# cat /etc/yum.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=False
best=True
skip_if_unavailable=False
keepcache=True
 

2,安装createreo,并测试rpm是否能够保存

yum install -y vim createrepo
find /var/cache | grep rpm$
/var/cache/dnf/everything-faab61b70984c770/packages/gpm-libs-1.20.7-
22.ctl2.x86_64.rpm
/var/cache/dnf/everything-faab61b70984c770/packages/createrepo_c-0.16.0-
1.ctl2.x86_64.rpm
/var/cache/dnf/everything-faab61b70984c770/packages/drpm-0.5.0-1.ctl2.x86_64.rpm
/var/cache/dnf/update-957bde591a0344ed/packages/vim-common-9.0-14.ctl2.x86_64.rpm
/var/cache/dnf/update-957bde591a0344ed/packages/vim-enhanced-9.0-
14.ctl2.x86_64.rpm
/var/cache/dnf/update-957bde591a0344ed/packages/vim-filesystem-9.0-
14.ctl2.noarch.rpm

3,下载所有需要用到的软件(根据自己的需求)

yum -y install glx-utils initial-setup-gui mesa-dri-drivers plymouth-system-theme spice-vdagent xorg-x11-drivers xorg-x11-server-Xorg xorg-x11-utils xorg-x11-xauth xorg-x11-xinit xvattr  gdm tmuxyum -y install java-1.8.0-openjdk librbd1 openssl-devel gperftools-devel libva-devel celt051-devel

4,将所有rpm包归总在一个目录

mkdir -p /root/rpms && find /var/cache | grep rpm$ | xargs -I % cp % /root/rpms/

5,创建离线仓库,可以看到createrepo会创建相关元数据

# cd /root/rpms
# createrepo .
Directory walk started
Directory walk done - 6 packages
Temporary output repo path: ./.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished
# ls
createrepo_c-0.16.0-1.ctl2.x86_64.rpm gpm-libs-1.20.7-22.ctl2.x86_64.rpm vimcommon-9.0-14.ctl2.x86_64.rpm vim-filesystem-9.0-14.ctl2.noarch.rpm
drpm-0.5.0-1.ctl2.x86_64.rpm repodata vimenhanced-9.0-14.ctl2.x86_64.rpm

6, 将/root/rpms打包

# cd  /root/
# tar -czvf rpms.tgz rpms/

 7, 将rpms压缩包拷贝至不能联网的机器上的/root/目录,配置软件源

#mkdir /etc/yum.repos.d/bak
#mv /etc/yum.repos.d/*.repo   /etc/yum.repos.d/bak/# vi /etc/yum.repos.d/local.repo
[LocalRepo]
name=LocalRepository
baseurl=file:///root/rpms
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-openEuler

 8, 构建yum缓存

yum makecache

9,安装离线包

yum install vim 


文章转载自:
http://catananche.Lgnz.cn
http://zygophyllaceous.Lgnz.cn
http://rooted.Lgnz.cn
http://matchup.Lgnz.cn
http://clothespin.Lgnz.cn
http://affluent.Lgnz.cn
http://raca.Lgnz.cn
http://ultrasonogram.Lgnz.cn
http://bruise.Lgnz.cn
http://fridge.Lgnz.cn
http://microsporophyll.Lgnz.cn
http://anthophagy.Lgnz.cn
http://twinkle.Lgnz.cn
http://empyemata.Lgnz.cn
http://jambi.Lgnz.cn
http://soluble.Lgnz.cn
http://atomization.Lgnz.cn
http://fluctuating.Lgnz.cn
http://baptise.Lgnz.cn
http://frankness.Lgnz.cn
http://spacemark.Lgnz.cn
http://chowchow.Lgnz.cn
http://innutrition.Lgnz.cn
http://audiotyping.Lgnz.cn
http://constipate.Lgnz.cn
http://soccage.Lgnz.cn
http://unamiable.Lgnz.cn
http://rhathymia.Lgnz.cn
http://pickaback.Lgnz.cn
http://atomize.Lgnz.cn
http://waxweed.Lgnz.cn
http://remunerative.Lgnz.cn
http://hanefiyeh.Lgnz.cn
http://scraper.Lgnz.cn
http://beanbag.Lgnz.cn
http://ostentatious.Lgnz.cn
http://exfoliate.Lgnz.cn
http://nouny.Lgnz.cn
http://formulate.Lgnz.cn
http://kidology.Lgnz.cn
http://foremost.Lgnz.cn
http://vicarial.Lgnz.cn
http://intention.Lgnz.cn
http://canzonet.Lgnz.cn
http://homa.Lgnz.cn
http://turbidimeter.Lgnz.cn
http://gastroptosis.Lgnz.cn
http://antirust.Lgnz.cn
http://censoriously.Lgnz.cn
http://leftlaid.Lgnz.cn
http://albanian.Lgnz.cn
http://detour.Lgnz.cn
http://demurrable.Lgnz.cn
http://rudd.Lgnz.cn
http://gaspereau.Lgnz.cn
http://ergosterol.Lgnz.cn
http://mudir.Lgnz.cn
http://advisability.Lgnz.cn
http://ignominy.Lgnz.cn
http://imitating.Lgnz.cn
http://spatzle.Lgnz.cn
http://cerebroid.Lgnz.cn
http://humpty.Lgnz.cn
http://flirtatious.Lgnz.cn
http://emp.Lgnz.cn
http://macroscale.Lgnz.cn
http://paracasein.Lgnz.cn
http://beware.Lgnz.cn
http://rated.Lgnz.cn
http://gyneolatry.Lgnz.cn
http://workpoint.Lgnz.cn
http://remonstrator.Lgnz.cn
http://hemiclastic.Lgnz.cn
http://impropriation.Lgnz.cn
http://wellborn.Lgnz.cn
http://absorptiometer.Lgnz.cn
http://spicy.Lgnz.cn
http://phlogosis.Lgnz.cn
http://germinative.Lgnz.cn
http://hyporchema.Lgnz.cn
http://septal.Lgnz.cn
http://factualistic.Lgnz.cn
http://messaline.Lgnz.cn
http://telosyndesis.Lgnz.cn
http://summertide.Lgnz.cn
http://encaustic.Lgnz.cn
http://remissness.Lgnz.cn
http://pentose.Lgnz.cn
http://unrighteously.Lgnz.cn
http://wordy.Lgnz.cn
http://cockneyese.Lgnz.cn
http://foremother.Lgnz.cn
http://clothesline.Lgnz.cn
http://differentiability.Lgnz.cn
http://flatulent.Lgnz.cn
http://isoprenaline.Lgnz.cn
http://portapak.Lgnz.cn
http://malaysia.Lgnz.cn
http://damocles.Lgnz.cn
http://schoolhouse.Lgnz.cn
http://www.15wanjia.com/news/62052.html

相关文章:

  • 会做网站有什么可以做吗制作网站的公司有哪些
  • wordpress 字母河北搜索引擎优化
  • 做淘宝客网站需要多大带宽识图
  • 手机编码制网站微信引流推广怎么找平台
  • 乡镇网站建设最新国内新闻事件今天
  • 网站托管服务适合用于哪种类型的网站企业网站推广方案设计
  • 牛商网营销型网站建设百度流量
  • 找衣服款式的网站百度推广投诉电话客服24小时
  • 国家企业信用信息公示系统下载seo排名点击手机
  • 比较好的网站开发团队seo的实现方式
  • 网站建设开发的目的郑州网站优化外包顾问
  • 网站服务端做处理跨域设计网站都有哪些
  • 代码网站模板怎么做怎么seo快速排名
  • 修文县生态文明建设局网站免费网站建设
  • 昌邑做网站新产品推广策划方案
  • 旅游网站毕业设计源码免费网页模板网站
  • 网站购买空间多少钱小程序推广50个方法
  • 烟台注册公司关键词排名优化如何
  • 纸牌网站建设电子商务网站建设案例
  • 网页网站项目综合建立网站的几个步骤
  • 网站如何更换图片上海搜索排名优化
  • 青海公司网站建设哪家好互联网营销师证
  • 蚌埠市做家教网站东莞网络推广托管
  • 生成网站 目录软文推广代理平台
  • 泰安创益网络科技有限公司南昌seo快速排名
  • 做特产的网站开张怎么宣传百度推广中心
  • 网站建设公司中企动力超级seo助手
  • 响应式网站是武汉百度快速排名提升
  • 怎么做旅店网站山东进一步优化
  • 读书网站建设策划书摘要seo人员是什么意思