Mocking RPMs on CentOS Fri 26 Feb 2010 Tags: linux, rpm, centos Mock is a Fedora project that allows you to build RPM packages within a chroot environment, allowing you to build packages for other systems than the one you're running on (e.g. building CentOS 4 32-bit RPMs on a CentOS 5 64-bit host), and ensuring that all the required build dependencies are specified correctly in the RPM spec file.
CentOS6.5ã EC2ã«ã¤ã³ãã¼ãããæé ã®ã¡ã¢ã (  CentOS6.5 HVM AMI (SR-IOV対å¿) - aws memo ã®å ¬éã§ãã£ãæé ã®ã¡ã¢) æºå VirtualBoxãã¤ã³ã¹ãã¼ã«ãã¦ãã CentOS6.5 minimal CD ã®isoãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ãã EC2 API Tools ãã»ããã¢ãããã¦ãã(åè) æé VirtualBoxä¸ã«CentOS VMãä½æãããã£ã¹ã¯ã¤ã¡ã¼ã¸ãç¨æãã VM Importç¨ã®S3 Bucketãä½æãã VM Importå®è¡ ã¤ã³ãã¼ãããEC2ã¤ã³ã¹ã¿ã³ã¹(stopç¶æ )ãStartãå 容ã確èªããå¾ã«AMIãä½æãã ä½æããAMIããã¤ã³ã¹ã¿ã³ã¹ãèµ·åãã¦åä½ç¢ºèª æé 詳細 VirtualBoxã§CentOS6.5ãisoãã¡ã¤ã«ããæ®éã«OSã¤ã³ã¹ãã¼ã«ãã(ã¤ã³ã¹ãã¼ã«æé ã¯çç¥) L
VM Importã§æã£ã¦ããCentOS5.6ã®ã¤ã³ã¹ã¿ã³ã¹ãããã®ã¾ã¾AMIãä½æãã¦ãããããããã¤ãEC2ã½ããªãé¨åãããã®ã§ãAMIä½æåã«ããããæ½ãã key pairã®publickeyãããã¤ã¹ã¯ãªãããä»è¾¼ã rootãã¹ã¯ã¼ããèµ·åæã«ã©ã³ãã çæã»ã»ããããã¹ã¯ãªãã udev 㧠eth0ã®MACã¢ãã¬ã¹ãä¿æããªãããã«ãã sshd㧠rootã®ãã¹ã¯ã¼ããã°ã¤ã³ç¦æ¢ãDNS checksç¡å¹å ãã¹ããã¼ãã¢ãåé¤ historyãåé¤ ~/.ssh/ 以ä¸ãåé¤ cloud-init ã®ä»çµã¿ãå ¥ãã å¥ã¦ã¼ã¶(ä¾: ec2-user)ãä½æããrootãã°ã¤ã³ãç¦æ¢ãã åè : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/building-shared-amis.html æé rootãã¹ã¯
å°å ¥ã¬ã¤ã I. ã·ã¹ãã ã®åºæ¬è¨å® Expand section "I. ã·ã¹ãã ã®åºæ¬è¨å®" Collapse section "I. ã·ã¹ãã ã®åºæ¬è¨å®" 1. ãã¼ãã¼ãã®è¨å® Expand section "1. ãã¼ãã¼ãã®è¨å®" Collapse section "1. ãã¼ãã¼ãã®è¨å®" 1.1. ãã¼ãã¼ãã¬ã¤ã¢ã¦ãã®å¤æ´ 1.2. ãã¼ãã¼ãã¬ã¤ã¢ã¦ã表示å¨ã®è¿½å 1.3. ä¸ä¼ã¿ã®è¨å® 2. æ¥ä»ã¨æå»ã®è¨å® Expand section "2. æ¥ä»ã¨æå»ã®è¨å®" Collapse section "2. æ¥ä»ã¨æå»ã®è¨å®" 2.1. æ¥ä»/æå»ã®ããããã£ã®ãã¼ã« Expand section "2.1. æ¥ä»/æå»ã®ããããã£ã®ãã¼ã«" Collapse section "2.1. æ¥ä»/æå»ã®ããããã£ã®ãã¼ã«" 2.1.1. æ¥ä»ã¨æå»ã®ãããã㣠2.1.
ç³ãè¾¼ã¿ãå®äºããã¨ãã¡ã¼ã«ã§Webã³ã³ã½ã¼ã«(é»æºON/OFFããªãã¼ã)ã®ãã¹ã¯ã¼ãã¨ãã°ãã¼ãã«IPãrootã®ãã¹ã¯ã¼ããéããã¦ããã ã¾ãã¯Webã³ã³ã½ã¼ã«ããä»®æ³ãã·ã³ãèµ·åããã èµ·åã§ããããã¡ã¼ã«ã«è¨è¼ãããã°ãã¼ãã«IPã«sshã§ãã°ã¤ã³ããã®ã¿ã [root@cloudcore ~]# uname -a Linux cloudcore 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux [root@cloudcore ~]# cat /etc/redhat-release CentOS release 5.6 (Final) ç¾æç¹ã§ã¯CentOS5.6 x64ã®ã¿ã§ãå¾ã ã«ããããªOSã«å¯¾å¿ãã¦ããããã ã â CPU [root@cloudcore ~]
CVE-2011-3192 rpms for CentOS-4 are in the updates/ repo nowThu Sep 01 16:31:06 via webKaranbir Singh CentOS If you run CentOS-5, make sure you have the 'CR' repo installed and enabled { http://t.co/IcByHRv } â Karanbir Singh ð§ (@KaranOrg) September 1, 2011 ã¨ãããã¨ã§ãCentOS4/5ã§å¯¾ççãåºã¾ãããã¨ã®ãã¨ã§ãã CentOS4ã®æ¹ã¯ãã¤ãã©ããã yum update ã§é©ç¨ã§ããããã§ãããCentOS5ã®æ¹ã¯å°ãããªããã¼ã ã¾ãæé ã # 32bit ã®å ´å rpm -ivh http://mirror.centos
ãã©ãã·ã¥ã¡ã¢ãªããã¤ã¹ãªãã£ã¹ã¯ã« Linux ãã¤ã³ã¹ãã¼ã«ããã â æ¸ãæãé度åæ°ãå¿é ã ã â CDROM bootable 㪠OS ã«ããã°ããã â ã·ã¹ãã ã®å¤æ´ãã¢ãããã¼ãã®ã¨ããé¢åã ã â read only filesystem ã®ä¸ã«ãã¶ãããã¨ãã§ãã UnionFS ã使ãã°ããã â UnionFS ãã aufs ã®ã»ããããããã ã ã¨ãããã¨ã§ï¼CentOS 5.2 ã« aufs ãããã¦ã¿ã¾ãããã¡ãªã¿ã«ããã£ã¦ã¿ããã¬ãã«ã®ã話ã§ãã aufs ã¨ã¯ aufs ã¨ã¯ï¼ã¹ã¿ãã«ãã«ãªãåä¸åããã¡ã¤ã«ã·ã¹ãã ã§ããã¾ãã¼ã¤ã¾ãï¼åä¸ãã¡ã¤ã«ããªã¼ã«è¤æ°ã®ããã©ã³ãããééçã«éãåããããã¨ãã§ãã¾ãã KNOPPIX 5.1 以éã§ä½¿ããã¦ãã¾ãã ãã«ããã æ®å¿µãªãã RPM ããã±ã¼ã¸ã¯ç¨æããã¦ãªãã®ã§ï¼CVS ã§ææ°çããã¦ã³ãã¼ã
SystemTap on CentOS Install systemtap and the kernel-devel package: yum install systemtap kernel-develUnfortunately CentOS doesn't come with any yum repository for the necessary debuginfo files. You can sometimes find precompiled packages at http://debuginfo.centos.org/ Make sure you download the debuginfo files matching your kernel exactly. You can find out which kernel release and architecture y
MRTG ã¿ãããªãã¼ã«ã§æ¸©åº¦ã¨ããç°¡åã«ã°ã©ãåã§ããã£ã¦å°ãã®ãããã ã£ãã®ã§å ¥ãã¦ã¿ãã ãã¦ã³ãã¼ãã¯ããã http://munin.projects.linpro.no/ Download ãªã³ã¯ãã munin 㨠munin-node ã®ææ°ç RPM ããã±ã¼ã¸ãå ¥æã CentOS ã«ã¯åå¨ããªã (Redhat ã«ãåå¨ããªã) ããã±ã¼ã¸ãè¦æ±ãããããã¦çµæ§é¢åã§ããã å¿ è¦ãªããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« å¿ è¦ãªããã±ã¼ã¸ã¯ä»¥ä¸ã®ã¨ããã perl-Socket6 perl-Net-SNMP perl-Net-Server perl-Crypt-DES ... ç°å¢ã«ããããã§ä½ãå¿ è¦ãããããªãã®ã§ãããã±ã¼ã¸ã®ä¾åé¢ä¿ãªã©ã§å°ã£ãã¨ãã®å¯¾å¦æ¹æ³ãæ¸ãã¨ãã¾ãã ã¾ãã perl ã®ã¢ã¸ã¥ã¼ã«ç³»ã¯ãçã£ç«¯ãã cpan2rpm ã§ã¤ã³ã¹ãã¼ã«ãã¦ããã¾ããä¾ãã° N
ããããã¾ã«å¿ãã¦è¨å¤§ãªæéãæããã®ã§ãã¡ã¢æ¿ããã«æ¸ãã¦ããã¾ããCentOS 5.2(ã¨ãããyumã使ã£ãããã±ã¼ã¸ç®¡çãè¡ãLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³)ãªãã©ãã§ããªã®ã§ãããã¤ã³ã¹ãã¼ã«å¾ã«ãyum updateããè¡ãã¾ãã«ä»¥ä¸ã®ã³ãã³ãã§ãyumã®fastestmirrorãã©ã°ã¤ã³ããã¼ãããããã«ãããã¨ã yum install yum-fastestmirror æ®éã«ã¤ã³ã¹ãã¼ã«ããã¨ããã©ã«ãã§ã¯fastestmirrorãã©ã°ã¤ã³ããã¼ãããã¦ããªãã®ã§ããã¾ã«æ¿é ãµã¼ãã«ã¤ãªãã£ã¦ãã¾ãããªãæéãæãã¦ãã¡ãã£ã¨ãã«ã¼ãªæ°åã«ãªãã¾ããããã¤ãã¤ã³ã¹ãã¼ã«ããã¨åæã«ä¸çªæ©ããµã¼ãããããã±ã¼ã¸ãåå¾ãã¦ãããã®ã§ã¡ãã£ã¨ãããã¼ã§ãã
RHEL 5.1 ããªãªã¼ã¹ããã¦ãããã°ãããã¡ã¾ããï¼ãããã CentOS ã 5.1 ããªãªã¼ã¹ãããã®ã§ããã¦ã¿ã¾ããã RHEL 5 㯠4 ã¾ã§ã¨éããªãªã¼ã¹ããªã·ã¼ã«å¾ãï¼åç §âå³1 Red Hat Enterprise Linux 5ã§ã¯ã¢ãããã¼ãçã®æä¾ææãã¡ã³ããã³ã¹ã»ãµãã¼ãã®ææãå¤æ´ããã¦ãããæ§çã§ã18ã«æéã¯æ´æ°ã½ãããæä¾ãããã | æ¥çµ xTECHï¼ã¯ãã¹ããã¯ï¼ï¼ã¨ã®è©±ãããã¾ãããï¼å°ãªãã¨ã CentOS ã§ã¯4æ代ã®ããã«ï¼æ®éã« 5.0 ã yum update ããã ã㧠5.1 ã«ãªãã¾ãã*1ãWindows ã§ããã¨ããã® Service Packï¼ã¨ãããã HotFix ã® Rollup Packï¼ï¼é©ç¨æ¸ã¿ã¿ãããªæãã§ãã http://mirrorlist.centos.org/?release=5&arch=i386
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}