Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
kickstart ã®ã¡ã¢æ¸ãã§ãã RHEL ã¨ã CentOS ã«ã¯ã OS ã®ã¤ã³ã¹ãã¼ã«ã»ã»ããã¢ãããèªååã§ãã¡ãã kickstart ã¨ããæ©è½ãããã¾ãã ãã®ããã便å©ãªã®ã§ããããå¿ããã¡ãªã®ã§èªåç¨ã«ã¡ã¢ãã¦ããã¾ãã æ¬å½ã¯ PXE Boot + DHCP + kickstart ãæå¼·ã ã¨æã£ã¦ã¾ãããä»å㯠PXE Boot ã¯å©ç¨ããªããã¿ã¼ã³ã§ãã ã¤ã³ã¹ãã¼ã«ã»ã»ããã¢ããã®æ¹éã¯ãããªæãã§ãã ååã® Boot 㯠Boot å°ç¨ã¡ãã£ã¢ãã ã¤ã³ã¹ãã¼ã«ããã±ã¼ã¸ã¯å¿ è¦æä½éã« ã¤ã³ã¹ãã¼ã«å®äºå¾ã«ã¯å ¨ã¦ã®ããã±ã¼ã¸ãã¢ãããã¼ã kickstartã®æºå kickstart ã使ãããã«æºåãããã®ã以ä¸ã«æ¸ãã¾ãã ks.cfgã®ä½æ æ¤è¨¼ç¨ãã·ã³ãç«ã¡ä¸ããæã¯ä»¥ä¸ã®æ§ãª kickstart ãå©ç¨ãã¦ãã¾ãã(swap å°ããã®ã§æ³¨æ) 以
ãã®URLã®ãã¼ã¸ã¯è¡¨ç¤ºãããã¨ãåºæ¥ã¾ããã§ããã IQãµã¼ãã¼
ãã¤ã®éã«ããããã®VPSã®æ¨æºOSãCentOS6ã«ãªã£ã¦ãã®ã§è¨å®ãè¦ç´ãã¦ã¿ã¾ããã æé¡980å/æããå©ç¨ã§ãã2é±éã®ã試ãæéãããã®ã§ãããæ©ä¼ã«ãµã¼ãè¨å®ã«è¶³ãè¸ã¿å ¥ãã¦ã¿ã¦ã¯ã©ãã§ãããï¼ æ £ããã¨10åãããã§ã¦ã§ããµã¼ããç«ã¡ä¸ãããããã«ãªãã¾ãã ãã¿ã¾ããããããªã«å¤ãã®äººãè¦ã¦ãã¨æããªãã£ããã§ãã ãä¸äººæ§ãµã¼ãåãã®ã¤ããã§æ¸ãã¦ã¾ãã ã¿ã¤ãã«ãã¿ã°ããã¿ã ã£ãã®ã«ããã³ã¾ãã¾ããã§æ¥ããããâ¦ å ¬ééµç»é²ããã ã©ããèªåãã触ããªããªãrootã§ä½æ¥ãã¡ãã£ã¦ãããããããªãï¼ ãªãã¼ã(ã¾ãã¯sshã®restart)以éç§å¯éµããªãã¨sshã§ãã°ã¤ã³åºæ¥ãªããªãã®ã§æ°ãã¤ãã¦ãã ããã mkdir ~/.ssh/ touch ~/.ssh/authorized_keys chmod 700 ~/.ssh/ chmod 600 ~/.ssh/au
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
F/Wã§å ¨ã¦ã®ãã¼ããéããããä¸çã®ä¸ã§ããã±ã¼ã¸ç®¡çããããã§ãããrpmãããããã£ã¦ãã¨ä¾åé¢ä¿ã«åãããã«ãªã£ã¦ãã¾ããã ããã§OSä»å±ã®æ¨æºrpméã®ãªãã¸ããªããã¼ã«ã«ã«ä½ã£ã¦ãã¾ããã¨æãã¾ãã¦ãã£ã¦ã¿ã¾ããã¨ãã話ã ãªãã¸ããªã®ãã¹ã¯ /usr/local/repository/ã§OSã¯CentOS4ã¨ããäºã«ãã¾ãã æºå ã¾ãã¯ä½ã¯ãªãã¨ãrpméãç¨æãã¾ãã ã¾ãOSã®isoãããã¼ã«ã«ã«ã³ãã¼ mount -t iso9660 -o loop /usr/local/src/CentOS-4.7-i386-binDVD.iso /mnt/iso/ cp -p /mnt/iso/CentOS/RPMS/*.rpmã/usr/local/repository/ ããã¦ããã ãã¯æä½æ¥ã§installããªãã¦ã¯ãªããªãcreaterepoãinstallãã¾ãã h
RPMforgeãªãã¸ããªãå°å ¥ãã¦ãæ¨æºãªãã¸ããªã§æä¾ãããªãããã±ã¼ã¸ãyumã§ã¤ã³ã¹ãã¼ã«ã§ããããã«ããã ãªããæ¨æºãªãã¸ããªã¨RPMforgeãªãã¸ããªã®ä¸¡æ¹ã§æä¾ãããããã±ã¼ã¸ã«ã¤ãã¦ãæ¨æºãªãã¸ããªã®ããã±ã¼ã¸ãRPMforgeãªãã¸ããªã®ããã±ã¼ã¸ã§ä¸æ¸ãããã¦ãã¾ããªãããã«ããã [root@centos ~]# yum -y install yum-prioritiesãâãyum-prioritiesã¤ã³ã¹ãã¼ã«â»CentOS5ã®å ´å [root@centos ~]# yum install yum-plugin-prioritiesãâãyum-prioritiesã¤ã³ã¹ãã¼ã«â»CentOS4ã®å ´å [root@centos ~]# vi /etc/yum.repos.d/CentOS-Base.repoãâãæ¨æºãªãã¸ããªè¨å®ãã¡ã¤ã«ç·¨é [base]
ååã«ã¹ã¿ã RPMããã±ã¼ã¸ãä½ã£ãã®ã§ãããä»ã®äººã«é å¸ããã«ããã£ã¦ãã©ãããã®ãããã§ããããï¼ ããã±ã¼ã¸ãå ±æãã£ã¬ã¯ããªãªã©ã¸å ¥ãã¦ããã使ããã人ã«ããããåå¾ãã¦ããã£ã¦ãããã®ã§ãããããã±ã¼ã¸ãã¢ãããã¼ããã度ã«åããã¨ãè¡ãã®ã¯é¢åã§ãããã ããã§ãyumã³ãã³ãã§æ¥½ã«ã¤ã³ã¹ãã¼ã«ã§ããããããªãã¸ããªãæ§ç¯ãããã¨ã«ãã¦ã¿ã¾ãã ã¾ãã¯ããªãã¸ããªä½æã«å¿ è¦ãªcreaterepoã³ãã³ããã¤ã³ã¹ãã¼ã«ãã¾ãã
http://dsas.blog.klab.org/archives/50664843.html ããããªã«ç°¡åï¼ Linuxã§ãã¼ããã©ã³ãµ (1)ããè¦ã¦å®éã«è©¦ããæã®ã¡ã¢ãå è¨äºã§ã¯Debianãªã®ã§æ £ãã¦ããCentOSã§è©¦ãã¦ã¿ããä»äºã§ä½¿ã£ã¦ããCentOS4.4ã使ç¨ããã¹ã¦ã®ã¢ã¸ã¥ã¼ã«ã¯RPMã§ãããããã¨ãã§ããã 以ä¸ãyumã«ã¦ã¤ã³ã¹ãã¼ã« ipvsadm keepalived iptables iproute Kernelã®ãã¼ã¸ã§ã³ã¨ãã£ã¦ããå¿ è¦ãããã®ã§æ³¨æã 以ä¸ã®å³ã¯å è¨äºã®ãã®ã®IPã¢ãã¬ã¹ã ãå¤æ´ãããã®ã <internet> â // â â[192.168.0.122] â{192.168.0.100} = example.org âââ´ââ â lv1 â âââ¬ââ â[10.0.7.122] â âââ¯ââââââ·âââââ¯âââââââ
ããã°ãããå°å ¤ã§ãã 社å ãµã¼ãå ¥ãæ¿ãã«ãããããµã¼ãã¡ã³ããã³ã¹ã容æã«ãã¦ããããããããæ°ãã試ã¿ããã¦ããã¨ããã§ãã ããã§ããã¾ã¾ã§ã使ã£ã¦ãã¾ãããããµã¼ãã®ããã¯ã¢ããã«ã¤ãã¦ã¡ã¢ã§ãã ãµã¼ãã®ä¸¸ãã¨ããã¯ã¢ãããã¨ã£ã¦ãããMondo Rescueã¨ããGPLã©ã¤ã»ã³ã¹ã®ãããã¯ããåå¨ãã¾ãã Mondo Rescueèªä½ã¯1992å¹´ããåå¨ããããã§ãããåã使ãå§ããã®ã¯ããæ°å¹´ã§ãã ãã¦ãLinuxãµã¼ãæ§ç¯ã ä½ãã ããªããçµæ§ããã°ãã°ãªãã¨ããªãã¾ããããããéç¨ãã¦ãããªãã§ãä»äºã®å¤§äºãªãã¼ã¿ãããã«ã¡ããã¨ããã¯ã¢ãããã¦ãããï¼ã¯ãæ¥åã«è¿½ãããã¨çµæ§é©å½ã«ãªããã¡ã§ãã ãå®ãã¡ã¤ã«ãå¥ãªã¹ãã¬ã¼ã¸ã«ã³ãã¼ãããã¨ããã®ãçµæ§æå¹çãªããã¯ã¢ããæ¹æ³ã§ãããä»åã¯OSãã¨ã¾ã¨ãã¦ããã¯ã¢ããããã¦ãä¸æ¸¬ã®äºæ ã«ã¯ãDVDããããã ãã§ãã¹ã¦
MySQLãã¼ã¿ãã¼ã¹ã®èªåããã¯ã¢ãããè¡ãªãã ããã§ã¯ããã¹ã¦ã®ã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³å½¢å¼ã«å¯¾å¿ããmysqldumpã³ãã³ãã使ç¨ãã¦ãMySQLå ¨ãã¼ã¿ãã¼ã¹ããµã¼ãã¼å ã®å¥ãã£ã¬ã¯ããªã¸ããã¯ã¢ããããã [root@centos ~]# vi mysql-backup.shãâãMySQLãã¼ã¿ãã¼ã¹ããã¯ã¢ããã¹ã¯ãªããä½æ #!/bin/bash PATH=/usr/local/sbin:/usr/bin:/bin # ããã¯ã¢ããå ãã£ã¬ã¯ã㪠BACKDIR=/backup/mysql # MySQLrootãã¹ã¯ã¼ã ROOTPASS=xxxxxxxx # ããã¯ã¢ããå ãã£ã¬ã¯ããªåä½æ rm -rf $BACKDIR mkdir -p $BACKDIR # ãã¼ã¿ãã¼ã¹ååå¾ DBLIST=`ls -p /var/lib/mysql | grep / | tr -d
Linuxãµã¼ãã¼å ãã¼ã¿ã®èªåããã¯ã¢ãããè¡ãã ããã§ã¯ããµã¼ãã¼å ãã¼ã¿ãtarã³ãã³ãã§å§ç¸®ãã¦ããã¯ã¢ããå ãã£ã¬ã¯ããªã¸éé¿ãã¦ãããæå®ã«ãããéé¿ããããã¯ã¢ããã管çè 以å¤ãåç §ã§ããªãããã«GnuPGã³ãã³ãã§æå·åãã§ããããã«ããã [root@centos ~]# vi backup.shãâãããã¯ã¢ããã¹ã¯ãªããä½æ #!/bin/bash # # ãã¼ã«ã«å ã§ããã¯ã¢ãã # LANG=C # # è¨å®éå§ # # ããã¯ã¢ãã対象ãªã¹ãå # â»ããã¯ã¢ãã対象ããã«ãã¹ã§è¨è¿°ãããªã¹ã BACKUPLIST=/root/backuplist [ ! -s ${BACKUPLIST} ] && echo "${BACKUPLIST} is not found" && error_exit # ããã¯ã¢ãã対象å¤ãªã¹ãå # â»ããã¯ã¢ãã対象å¤ããã«ãã¹
ãããã®VPS CentOSã§ãµã¼ãæ§ç¯ ä½æ¥ãã¼ã19åç®ã å®æããã¯ã¢ãããè¨å®ãã¾ããä»åã¯centossrvããã®ä½æ¥ãã®ã¾ã¾ãªã®ã§ãæ¬å½ã«ã¡ã¢ç¨åº¦ã«ãªãã¾ãã ã¾ãã¯ããã¯ã¢ãããã¡ã¤ã«ãå ¥ãã /backup ãã£ã¬ã¯ããªã¨MySQLã®ããã¯ã¢ãããå ¥ãã /backup/mysql ãã£ã¬ã¯ããªãä½ãã¾ãã [root@ ~]# mkdir /backup [root@ ~]# mkdir /backup/mysql MySQLã®ããã¯ã¢ãã MySQLã®ããã¯ã¢ãããè¨å®ãã¾ããããã¯ã¢ããæé ã¯centossrv â MySQLãã¼ã¿ãã¼ã¹èªåããã¯ã¢ããéç¨ãåèã«è¨å®ãã¦ããã¾ãã ã¾ããviã³ãã³ãã§æ°è¦ä½æãã¦ãå 容ãä¿åãã¾ãã [root@ ~]# vi mysql-backup.sh ã¹ã¯ãªããããã®ã¾ã¾ã³ããããããã«ããããªãã®ã§ãã½ã¼ã¹ã¯åèãµã¤ã
ãã®è¨äºã¯ããããã¤ã³ã¿ã¼ããã Advent Calendar 2024ã®22æ¥ç®ã®è¨äºã§ãã ã¯ããã« GitHub Actionsã§FreeBSDã使ãããå ´åãããã¾ãã ã¨ããã â¦
CentOS 5.6 ã Python 㯠2.4 ãªã®ï¼â Hajime Nakagami (@hajime_nakagami) 2011, 4æ 8 Twitter ãçºãã¦ããã¨ããããã£ã声ãã¡ãã»ãèãã®ã§ãã®å¯¾çãã¾ã¨ãã¦ã¿ã¾ãã èæ¯ CentOS 5.x ã§æ¨æºã¤ã³ã¹ãã¼ã«ããã¦ãã Python ã®ãã¼ã¸ã§ã³ã¯ 2.4.3 ã§ããç¾å¨ã® Python 2 ã®ææ°ãã¼ã¸ã§ã³ã¯ 2.7.1 ã§ãããGood night, Posterous ã§ã 2.6 以ä¸ã使ããã¨ãè¯ãããã ã¨ä¼ºãã¾ããç§ãå人çãªã¢ããªã±ã¼ã·ã§ã³ãæ¸ãã¨ãã¯ã2.4 ãè¦éã£ã¦ 2.6 以ä¸ã§æ¸ãã¦ãã¾ããç§ã 2.6 以ä¸ã§ä½¿ãããã«ãªã£ããã®ã¨ãã¦ã¯ãæ§æã§ã¯æ¨æºã§æä¾ãããããã«ãªã£ã with æ ããã¯ã©ã¹ãã³ã¬ã¼ã¿ ãªã©ãããã¾ããæ¨æºã©ã¤ãã©ãªã§ã¯ãabc, io, json, mult
CentOS 5.4 ã§ç®¡çããã¦ãã ImageMagick㯠6.2.8.0 ã¨å¤ãæ°ããRMagickããã使ãã¨ãä½ãã¨å°ããã¨ãããã ä»åã¯ææ°çã®ImageMagickãrpmã§ã¤ã³ã¹ãã¼ã«ããæ¹æ³ããç´¹ä»ãã¾ãã src.rpmããrpmãbuildãã¾ãã ã³ãã³ãã¨å®è¡çµæã交ãã¦æé ã示ãã¾ãã ãªããRPMForgeãå ¥ã£ã¦ããäºãåæã§ãã RPMForgeã¯ä»¥ä¸ã®ã³ãã³ãã§ä½¿ç¨å¯è½ã«ãªãã¾ãã $ sudo rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm ã¾ãSRCã®RPMãåå¾ wget ftp://ftp.kddlabs.co.jp/graphics/ImageMagick/linux/SRPMS/Image
æ°ããã¢ããªã±ã¼ã·ã§ã³ã®ãã¿ãæµ®ããã ã®ã§ããã£ããã ãã ruby on Rails ã§ãã£ã¦ã¿ããã¨æãã¨ããããã»ããã¢ããã¾ã§ãã¦ã¿ãã ä»å㯠CentOS 5 ã ãã©ããµã¼ã㯠4 ãªã®ã§ããã¡ããã»ããã¢ãããããéãã追è¨ããäºå®ã ã¨ããããã RPM ããã±ã¼ã¸ã§ã»ããã¢ããã§ãããã®ã¯ä»¥ä¸ã®ã¨ããã ruby ruby-devel rdoc mysql mysql-server mysql-devel and dependencies. RPM ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« ä¸è¨ã§ä¸ããããã±ã¼ã¸ãã¾ã㯠yum ã§çã£ç«¯ããã¤ã³ã¹ãã¼ã«ã # yum install ruby ruby-devel rdoc mysql mysql-server mysql-devel gem ã®ã¤ã³ã¹ãã¼ã« ã¾ã㯠gem ã¨ãã ruby ããã±ã¼ã¸ç®¡çã½ãããã¤ã³ã¹ãã¼ã«ããã ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}