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

数据库网站建设找活做的网站

数据库网站建设,找活做的网站,管庄网站建设,wordpress离线字体服务器端#xff1a;1、 由于yum安装支持三种协议#xff1a;file://、ftp://和http://#xff0c;因此如果是使用本地文件作为源#xff0c;则可直接使用file:\\协议#xff0c;否则需要先准备好ftp或者http服务。这次测试的是ftp源#xff0c;因此需要配置好ftp服务…服务器端1、    由于yum安装支持三种协议file://、ftp://和http://因此如果是使用本地文件作为源则可直接使用file:\\协议否则需要先准备好ftp或者http服务。这次测试的是ftp源因此需要配置好ftp服务并且要把ftp服务配置为可匿名登录并且要把rpm包都放在ftp匿名登录的root目录下面。Vsftp匿名登录的配置为anonymous_enableYESanon_root/share(这个为vsftp匿名登录的root目录并且其属性不能为/etc/vsftp/ftpusers/etc/vsftp/user_list文件中所配置的用户否则不能匿名登录)如果不配置匿名登录或者匿名登录root目录设置不对会出现如下错误[rootsrcbdc yum.repos.d]# yum listLoaded plugins: aliases, rhnplugin, securityThis system is not registered with RHN.RHN support will be disabled.ftp://yumserver/RHEL/Server/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.Trying other mirror.Error: Cannot retrieve repository metadata (repomd.xml) for repository: RHEL-Server. Please verify its path and try again2、    先检查yum是否已安装如果没有安装可以从光盘里面安装[rootsrcbdc ~]# rpm -qa|grep yumyum-security-1.1.16-13.el5yum-rhn-plugin-0.5.4-13.el5yum-metadata-parser-1.1.2-3.el5yum-updatesd-0.9-2.el5yum-aliases-1.1.16-13.el5yum-3.2.22-20.el53、    安装另一个用于yum的包createrepo[rootsrcbdc Server]# rpm -ivh createrepo-0.4.11-3.el5.noarch.rpmwarning: createrepo-0.4.11-3.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186Preparing...                ########################################### [100%]1:createrepo             ########################################### [100%]这个工具主要是用来生产yum所需要用到的安装包关系的数据库。4、    把系统盘中的Server目录和VT目录拷贝到新的目录里面我的是从ISO文件里面复制出来的先挂载ISO文件[rootsrcbdc ~]# mount -o loop /instsvr/ISO/rhel-server-6.2-x86_64-dvd.iso /mntCopy文件[rootsrcbdc ~]# mkdir -p /instsvr/RHEL6.2/x64[rootsrcbdc ~]# cp -r /mnt/ /instsvr/RHEL6.2/x645、    创建rpm关系数据库[rootsrcbdc ~]# createrepo -g /instsvr/RHEL6.2/x64/Server/repodata/*comps-rhel6-Server.xml -o /instsvr/RHEL6.2/x64/Server -i /instsvr/RHEL6.2/x64/Server/listing /instsvr/RHEL6.2/x64/Packages/[rootsrcbdc ~]# createrepo -g /instsvr/RHEL6.2/x64/HighAvailability/repodata/*comps-rhel6-HighAvailability.xml -o /instsvr/RHEL6.2/x64/HighAvailability -i /instsvr/RHEL6.2/x64/HighAvailability/listing /instsvr/RHEL6.2/x64/Packages/[rootsrcbdc ~]# createrepo -g /instsvr/RHEL6.2/x64/LoadBalancer/repodata/*comps-rhel6-LoadBalancer.xml -o /instsvr/RHEL6.2/x64/LoadBalancer -i /instsvr/RHEL6.2/x64/LoadBalancer/listing /instsvr/RHEL6.2/x64/Packages/[rootsrcbdc ~]# createrepo -g /instsvr/RHEL6.2/x64/ResilientStorage/repodata/*comps-rhel6-ResilientStorage.xml -o /instsvr/RHEL6.2/x64/ResilientStorage -i /instsvr/RHEL6.2/x64/ResilientStorage/listing /instsvr/RHEL6.2/x64/Packages/[rootsrcbdc ~]# createrepo -g /instsvr/RHEL6.2/x64/ScalableFileSystem/repodata/*comps-rhel6-ScalableFileSystem.xml -o /instsvr/RHEL6.2/x64/ScalableFileSystem -i /instsvr/RHEL6.2/x64/ScalableFileSystem/listing /instsvr/RHEL6.2/x64/Packages/创建rpm包的link文件[rootsrcbdc ~]# cd /instsvr/RHEL6.2/x64/Server[rootsrcbdc ScalableFileSystem]# for i in cat listing; do ln -s ../Packages/$i $i; done[rootsrcbdc ~]# cd /instsvr/RHEL6.2/x64/HighAvailability[rootsrcbdc ScalableFileSystem]# for i in cat listing; do ln -s ../Packages/$i $i; done[rootsrcbdc ~]# cd /instsvr/RHEL6.2/x64/LoadBalancer[rootsrcbdc ScalableFileSystem]# for i in cat listing; do ln -s ../Packages/$i $i; done[rootsrcbdc ~]# cd /instsvr/RHEL6.2/x64/ResilientStorage[rootsrcbdc ScalableFileSystem]# for i in cat listing; do ln -s ../Packages/$i $i; done[rootsrcbdc ~]# cd /instsvr/RHEL6.2/x64/ScalableFileSystem[rootsrcbdc ScalableFileSystem]# for i in cat listing; do ln -s ../Packages/$i $i; done6、    清除yum缓存信息[rootsrcbdc yum.repos.d]# yum clean allLoaded plugins: aliases, rhnplugin, securityCleaning up Everything7、    再使用yum list名称查看rpm包正常的话会列出所有的rpm包客户端客户端就比较好配置了只需要在/etc/yum.d.repo/目录小添加本地yum源配置文件即可[rootinstsvr1 yum.repos.d]# cat rhel6.2-x64.repo[RHEL6.2-Server-X64]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/RHEL6.2/x64/Serverenabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release[RHEL6.2-HighAvailability-X64]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/RHEL6.2/x64/HighAvailability/enabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release[RHEL6.2-LoadBalancer-X64]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/RHEL6.2/x64/LoadBalancer/enabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release[RHEL6.2-ResilientStorage-X64]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/RHEL6.2/x64/ResilientStorage/enabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release[RHEL6.2-ScalableFileSystem-X64]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/RHEL6.2/x64/ScalableFileSystem/enabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release[RHEL-RPMS]nameRed Hat Enterprise Linux Install Serverbaseurlftp://192.168.220.46/rpmsenabled1gpgcheck0gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release【网摘】repodata 数据库介绍repodata 数据库中的文件主要是 XML 格式精确描述一个 rpm 包的详细信息如依赖关系包含文件校验码信息。目前这个格式被 apt-rpm,smartpm,red carpet 和 yum 支持。通常有以下几个文件repomd.xml (md 意思是 metadata)repomd.xml 是描述其他 metadata 文件的文件。相当于其他文件的索引。包含其他文件的时间戳和校验值(checksums)。这样客户端只要下载这一个文件(通常很小几KB)就可以知道其他文件中哪些有“更新”。这也意味只只要对这一个文件签名就可以达到对其他文件签名的作用。primary.xml.[gz]这个文件存储主要的 metadata 信息这些信息包括repomd.xml this is the file that describes the other metadata files. It is like an index file to point to the other files. It contains timestamps and checksums for the other files. This lets a client download this one, small file and know if anything else has changed. This also means that cryptographically (ex: gpg) signing this one file can ensure repository integrity.primary.xml.[gz] this file stores the primary metadata information. This includes information such as:name, epoch, version, release, architecturefile size, file location, description, summary, format, checksums header byte-ranges, etc.dependencies, provides, conflicts, obsoletes, suggests, recommendsfile lists for the package for CERTAIN files - specifically files matching: /etc*, *bin/*, /usr/lib/sendmail [1]filelists.xml.[gz] this file stores the complete file and directory listings for the packages. The package is identified by: name, epoch, version, release, architecture and package checksum id.other.xml.[gz] this file currently only stores the changelog data from packages. However, this file could be used for any other additional metadata that could be useful for clients.groups.xml.[gz] this file is tentatively described. The intention is for a common package-groups specification as well. There is still some sections for this format that need to be fleshed out.
http://www.pierceye.com/news/632446/

相关文章:

  • 传奇服务器网站如何建设官方网站下载zoom
  • 帮人做彩票网站支付接口电子商务网站名字
  • 怎么查询网站是否被收录网络推广软件有哪些
  • 福田我要做网站优化比较好wordpress美图模板
  • wordpress 分享可见湖南优化电商服务有限公司
  • 高培淇自己做的网站网站页面可以用什么框架做
  • 在线推广企业网站的方法有哪些门户网站例子
  • 网站集约化建设 技术优质网站建设是哪家
  • 网站技术制作广州番禺建设银行网站登录
  • 女同性怎么做的视频网站wordpress 文章 定时
  • 域名备案时网站名字wordpress mip主题
  • 旅行社服务网点能否做网站wordpress4.9.8 php版本
  • 网站名称 如何注册wordpress用户名的要求
  • 玉树州wap网站建设公司常州市工程建设招标网
  • 自助网站建设技术支持如何做网站代码
  • 企业数据查询网站word 没有安装wordpress
  • 注册一个设计公司需要多少钱重庆网站建设及优化
  • 青岛企业建设网站公司如何传图片做网站
  • 手机网站源码教程个人博客系统的设计与实现
  • 高端网站改版南京网站如何制作
  • 个人网站建设课程专业彩票网站开发 APP开发
  • 学网站开发首先学哪些基础兰州网站设计哪个平台好
  • 网站后台看不到部分内容桐庐建设局网站
  • 宁夏网站建设费用地址wordpress建站好用吗
  • 微信网站制作哪个好吕梁网站制作
  • 手机怎么制作自己的网站线上运营推广方案
  • 泉州企业制作网站wordpress上传顶部图像
  • php建立网站广州创意设计公司
  • 东营专业网站建设济南天桥区网站建设公司
  • 鹤壁做网站多少钱网站开发 简单留言板