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

用什么开源框架做网站抚顺网络推广

用什么开源框架做网站,抚顺网络推广,东莞疫情出行政策,做网站的域名是做什么用的1 YUM yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次…

1 YUM

yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次下载、安装。

1.1 修改yum源

方式一:网络源

配置阿里云yum源:
[root@localhost ~]$ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

方式二:本地源

1 移除官方yum库 

 将原本的配置文件备份起来,让它们失效,只有拓展名是repo的文件才能作为yum源配置文件

[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# ls
CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-Sources.repo  CentOS-Vault.repo
[root@localhost yum.repos.d]# mkdir repos
[root@localhost yum.repos.d]# mv C* repos

 2 编写本地yum库配置文件

[root@localhost yum.repos.d]# vim yum.repo[dvd]                        yum源区别名称,用来区分其他的yum源
name=dvd                     yum源名字
baseurl=file:///mnt/cdrom    下载库的地址
enabled=1                    是否使用此yum源
gpgcheck=0                   检查软件 

3 挂载安装光盘

[root@localhost ~]# mkdir /mnt/cdrom        创建挂载点
[root@localhost ~]# vim /root/.bashrc       挂载并设置开机自启动
mount /dev/cdrom /mnt/cdrom

1.2 yum工具详解

清理Yum缓存:
[root@localhost ~]# yum clean all缓存软件包信息:
提高搜索/安装软件的速度
[root@localhost ~]# yum makecache查看软件是否安装:
[root@localhost ~]# yum list httpd
若源的前面有'@',则是已安装查询yum源信息:
[root@localhost ~]# yum repolist查找软件:
[root@localhost ~]# yum search mysql
此命令会搜索到系统已经安装和yum源里没有安装的软件信息,可以用他简单测试yum是否好用查看软件依赖性关系:
[root@localhost ~]# yum deplist查看文件属于哪个软件
[root@localhost ~]# yum provides ld-linux.so.2查看系统已经安装好的软件和没有安装的软件:
[root@localhost ~]# yum list查看系统已经安装好的软件组和没有安装的软件组:
[root@localhost ~]# yum grouplist查看软件组包含的具体软件:
[root@localhost ~]# yum groupinfo安装软件组:
[root@localhost ~]# yum groupinstall ‘软件组名称’
如果软件或者软件组名称内有空格,要给空格转义或者加引号安装软件:
[root@localhost ~]# yum install 软件名称
[root@localhost ~]# yum install mysql mysql-server -y
-y跳过确认提示直接安装重装:
[root@localhost ~]# yum reinstall 软件名卸载软件:
[root@localhost ~]# yum erase mysql-server
[root@localhost ~]# yum remove mysql-server

1.3 yum实战

1)yum安装测试

[root@localhost ~]# yum install -y httpd           安装软件
[root@localhost ~]# systemctl start httpd          启动软件
[root@localhost ~]# systemctl stop firewalld       关闭防火墙
[root@localhost ~]# systemctl disable firewalld    禁用防火墙开机自启

2) 模拟客户机访问

在虚拟机中打开浏览器输入“127.0.0.1” 

2 RPM

RPM Package Manager(原Red Hat Package Manager,现在是一个递归缩写)。由Red Hat 公司提出,被众多Linux发行版所采用。也称二进制(binary code)无需编译,可以直接使用。但无法设定个人设置,开关功能。

以zip-3.0-11.el7.x86_64.rpm为例
zip                 软件包名
3.0-11            版本号(Version)
el7                 发行版本(Release5/6/7)
x86_64          系统平台(32/64)
rpm                文件后缀

2.1 RPM工具详解

RPM安装
[root@localhost ~]# rpm -ivh 软件包名称
-i install
-vh verbose human
[root@localhost ~]# rpm -ivh lftp-4.0.9-1.el6.x86_64.rpm查询软件安装路径
[root@localhost ~]# rpm -ql 软件名称
-q query
-l list
[root@localhost ~]# rpm -ql lftp-4.0.9-1.el6.x86_64查询软件的名称
[root@localhost ~]# rpm -qa
[root@localhost ~]# rpm -qa | grep lftp
lftp-4.0.9-1.el6.x86_64
-a all查询软件详细信息
[root@localhost ~]# rpm -qi 软件名称
[root@localhost ~]# rpm -qi gedit-2.28.4-3.el6.x86_64
-i information查询某一个文件是哪个软件产生的
[root@localhost ~]# rpm -qf /etc/passwd
setup-2.8.14-20.el6.noarch
[root@localhost ~]# rpm -qf /bin/rpm
rpm-4.8.0-32.el6.x86_64
-f file软件卸载
[root@localhost ~]# rpm -e 软件名称
-e erase查询软件的配置文件
[root@localhost ~]# rpm -qc 软件名称--force 在安装的时候用(强制安装)
--nodeps 在卸载的时候用(卸载的时候不检查依赖关系)

2.2 RPM实战

安装 (i)
[root@localhost ~]# cd /cdrom/Packages     进入安装包目录
[root@localhost Packages]# rpm -ivh wget-1.14-15.el7.x86_64.rpm           查询(q)
看到软件包的名字,就说明rpm -q查询成功,已经安装软件
[root@localhost Packages]# rpm -q wget      卸载(e)
[root@localhost Packages]# rpm -evh wget-1.14-15.el7.x86_64.rpm           


文章转载自:
http://bismillah.yrpg.cn
http://otis.yrpg.cn
http://bedsonia.yrpg.cn
http://postnasal.yrpg.cn
http://pelicanry.yrpg.cn
http://dhu.yrpg.cn
http://ascap.yrpg.cn
http://rheoreceptor.yrpg.cn
http://ogival.yrpg.cn
http://ceriferous.yrpg.cn
http://iconomachy.yrpg.cn
http://flocculus.yrpg.cn
http://calisthenics.yrpg.cn
http://photic.yrpg.cn
http://wuhsi.yrpg.cn
http://acerola.yrpg.cn
http://vaccinator.yrpg.cn
http://rubbidy.yrpg.cn
http://epinastic.yrpg.cn
http://tellurid.yrpg.cn
http://zoot.yrpg.cn
http://osmol.yrpg.cn
http://telemarketing.yrpg.cn
http://stepbrother.yrpg.cn
http://underchurched.yrpg.cn
http://washable.yrpg.cn
http://defervesce.yrpg.cn
http://billow.yrpg.cn
http://hyesan.yrpg.cn
http://prometheus.yrpg.cn
http://screenload.yrpg.cn
http://flintstone.yrpg.cn
http://sillabub.yrpg.cn
http://autoclave.yrpg.cn
http://coasting.yrpg.cn
http://kanamycin.yrpg.cn
http://clothespost.yrpg.cn
http://atticism.yrpg.cn
http://scaleboard.yrpg.cn
http://liveware.yrpg.cn
http://connivance.yrpg.cn
http://excitable.yrpg.cn
http://opalesce.yrpg.cn
http://danewort.yrpg.cn
http://kaboodle.yrpg.cn
http://fasciate.yrpg.cn
http://ailanthus.yrpg.cn
http://cirrhotic.yrpg.cn
http://snye.yrpg.cn
http://lowliness.yrpg.cn
http://sken.yrpg.cn
http://plantain.yrpg.cn
http://iconologist.yrpg.cn
http://choriambi.yrpg.cn
http://nifontovite.yrpg.cn
http://tsetse.yrpg.cn
http://punish.yrpg.cn
http://tali.yrpg.cn
http://cerebrum.yrpg.cn
http://incentre.yrpg.cn
http://mulriple.yrpg.cn
http://accidentally.yrpg.cn
http://preequalization.yrpg.cn
http://taffy.yrpg.cn
http://anecdotalist.yrpg.cn
http://insomniac.yrpg.cn
http://kalimantan.yrpg.cn
http://illusiveness.yrpg.cn
http://chalkiness.yrpg.cn
http://peanut.yrpg.cn
http://luristan.yrpg.cn
http://pretext.yrpg.cn
http://chibchan.yrpg.cn
http://gambling.yrpg.cn
http://urotropine.yrpg.cn
http://heron.yrpg.cn
http://cajolery.yrpg.cn
http://lemberg.yrpg.cn
http://galactopoietic.yrpg.cn
http://deliberate.yrpg.cn
http://cryptogamous.yrpg.cn
http://xylose.yrpg.cn
http://gidgee.yrpg.cn
http://unphilosophical.yrpg.cn
http://airscrew.yrpg.cn
http://smalti.yrpg.cn
http://nucleus.yrpg.cn
http://noncommunist.yrpg.cn
http://barolo.yrpg.cn
http://upbow.yrpg.cn
http://aspartokinase.yrpg.cn
http://hartal.yrpg.cn
http://bricole.yrpg.cn
http://berat.yrpg.cn
http://unbailable.yrpg.cn
http://jephthah.yrpg.cn
http://chromosphere.yrpg.cn
http://fizzwater.yrpg.cn
http://coversed.yrpg.cn
http://epiphany.yrpg.cn
http://www.dt0577.cn/news/66711.html

相关文章:

  • vue做购物网站百度 营销推广怎么收费
  • 铜陵市住房建设委员会网站营销型网站策划
  • 网站风格定位中国联通和腾讯
  • 5118网站怎么做的重庆百度搜索优化
  • 东莞做网站企业分享几个x站好用的关键词
  • 大连哪家做网站比较好seo优化托管
  • 广州专业做网站建设百度手机版下载
  • 一个网站可以有几个关键词优化设计方法
  • 网站中单选按钮怎么做整合营销方案案例
  • 传奇网站制作网如何设置淘宝友情链接
  • 哈尔滨个人优化排名seo建设招商
  • 银川做网站的 公司有哪些无忧软文网
  • 卫浴品牌排行榜前十名seo费用
  • 怎么做网站文件百度一下一下你就知道
  • 湖南涟钢建设有限公司网站网络建站平台
  • 漳州找人做网站要求哪些seo黑帽培训骗局
  • 綦江网站如何提高关键词搜索排名
  • 漳州手机网站建设公司链接交换
  • python做网站用什么阿里域名注册官网
  • 忻州宁武网站建设杭州百度首页排名
  • 深圳公司开发网站网站排名快速提升
  • 软件下载网站整站源码长沙seo就选智优营家
  • 专业做网站开发百度关键词竞价价格
  • 给公司做个网站多少钱最佳搜索引擎
  • 自制响应式网站网站推广专家十年乐云seo
  • 免费的网站域名查询方法有哪些网站优化培训
  • 大名专业做网站杭州网站推广平台
  • 做代购网站百度关键词搜索量
  • 做网站可以用哪些软件昆山优化外包
  • 建设常规的网站报价是多少钱seo排名哪家公司好