PhantomJS: Download and Install ããã«ãã¤ããªãããã¦ããã®ã§ãã¦ã³ãã¼ããã¦å±éãã¦ãã¹ãéãã ãã§å¤§ä¸å¤«ãqt ã¨ã webkit ãã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããªãã¦è¶ ç°¡åã å¤ãã·ã¹ãã ãªã©ã§ã½ã¼ã¹ããå ¥ãããå ´å㯠PhantomJS: Build Instructions ã«å¾ãã以ä¸ã®ã¹ãããã ãã§ããããã sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel git clone git://github.com/ariya/phantomjs.git cd phantomjs git checkout 1.9 ./build.sh ã½ã¼ã¹ããå ¥ããå ´åãåæ§ã« qt ãªã©ã¯å¿ è¦ãªãã¦ãbuild.sh ãå©ãã ãã§ããããã ãç°¡åã
CentOS6.2ãã¤ã³ã¹ãã¼ã«ãã¦åé¡ãªãstartxã§ãã¹ã¯ãããã使ãã¦ããã®ã§ããã yum updateã§6.4ã«ã¢ãããã¼ããåèµ·åã㦠startxããã¨ã¨ã©ã¼ãåºã¦X Window Systemãèµ·åããªããªãã¾ããã CentOS6.4 32bit ã«ã¼ãã«ã¯kernel-2.6.32-358.6.1.el6.i686ã§ãã X Window Systemã®ãã°ãã¡ã¤ã«ãéãã¦(EE)ã®é¨åã ãæåºãã¾ããã æããã«(EE) open /dev/fb0: No such deviceããæ°ã«ãªãã®ã§statxã¨ä¸ç·ã«ã°ã°ã£ã¦ã¿ã㨠http://kaki03.blog10.fc2.com/blog-entry-13.htmlããã®ãããªè¨äºãããã¾ãããæå³ãåããã¾ããã§ããã X Window Systemãèµ·åããªãæ¹ã®è¨äºãä»ã«ãããããè¦ã¤ããã¾ããããããã
Perlå ¥å¦å¼ å ¨6åã®Perlå ¥éè¬åº§ãæ±äº¬ã大éªãæ²ç¸ãæå¹ã§éå¬ã(æ±äº¬ã¯4æã¨10æã¹ã¿ã¼ãããã以å¤ã¯5æã¹ã¿ã¼ã) YAPC::Japan Perlã軸ã¨ããITã«é¢ããå ¨ã¦ã®äººã®ããã®ã«ã³ãã¡ã¬ã³ã¹ã æ±äº¬ å祥寺.pm äºåç°.pm å¤§éª ãªã«ãPerl æ²ç¸ æ²ç¸.pm
50ï¼èªä½ãµã¼ãã¹ãchkconfigã«ç»é²ããæ¹æ³ ã©ã³ã¬ãã«æ¯ã«ãµã¼ãã¹èµ·åã®è¨å®ãã§ããchkconfigã³ãã³ãã«èªä½ã®ãµã¼ãã¹ãç»é²ãã¦chkconfigã³ãã³ãã§è¨å®ã§ããããã«ããæ¹æ³ ã¾ãã¯ç»é²ãããã·ã§ã«ãä½æãã¾ãã ä¾ï¼testã·ã§ã« #!/bin/sh # #   /etc/rc.d/init.d/test # # Starts the test daemon(test version) # # chkconfig: 345 44 56 # description: test case $1 in start) echo "test service start!" ;; stop) echo "test service stop!" ;; status) echo "test service status!" ;; *)
ä¸ã®ä¸ãã¯ããã¸ã¼ã¯ã©ãã©ãé²åãã¦ãã¦ããã³ã£ããã§ãã CentOSã§Webã¢ããªã®ãµã¼ãç°å¢ãä½ãå ´åãyumã³ãã³ããå®è¡ãã¦ãé©å®è¨å®ãã¡ã¤ã«ãä¿®æ£ãã¦ããã¼ã¢ã³ãªã©ãåèµ·åããã£ã¦ãªãã¨ãæ¯åãã£ã¦ããã®ã§ãããä»ã¯chefã«ãããµã¼ãæ§ç¯èªååãã§ããããã§ãã ãã®chefãå©ç¨ããã«ã¯Rubyãã¤ã³ã¹ãã¼ã«ãã¦gemããchefã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããå¿ è¦ããã£ãã®ã§ããããããæè¿Omunibusã¨ããã³ãã³ãä¸çºã§ã§ããä»çµã¿ãã§ãã¦æ´ã«ããã¡ãã«ãªãã¾ããã ã¨ããããã§ãgitãªãã¸ããªã«chefã®cookbookãç½®ãã¦ç®¡çãããããã»ããã¢ãããããµã¼ãã¼ã«pullãchef-soloãå®è¡ãã¦ãç°å¢æ§ç¯ãèªååãã¦ãã¾ãæé ã®ãµã³ãã«ã以ä¸ã«ã¾ã¨ãã¦ã¿ã¾ããã https://github.com/kohkimakimoto/chef-for-cent
åºæ¬çã«ä»¥ä¸ã®è¨äºã«å¾ã£ã¦å ¥ããã TEPS æ¥ã ã®ã¢ã¬ã³ã¬: CentOS 5.5 ã« Ruby 1.8.7 + Passenger 3.0.0 ãå°å ¥ãã ãã§ã«ruby-1.8.5ãå ¥ã£ã¦ããã®ã§åé¤ãä¸ã®è¨äºã§ã¯ruby-libsã®åé¤ãæå®ããã¦ããªãã£ãã®ã§ããããã£ããã«åé¤ããã # yum remove ruby # yum remove ruby-libs rubygemsã®ã¤ã³ã¹ãã¼ã«ä¸ã«ã¨ã©ã¼çºç Installing with ruby setup.rb... ========================= Installation results =========================== RubyGems 1.3.7 installed ./lib/rubygems/custom_require.rb:31:in `gem_original_r
äºåæºå C/C++ã³ã³ãã¤ã©ã®ã¤ã³ã¹ãã¼ã« sudo yum -y install gcc gcc-c++ developç¨OpenSSLã®ã¤ã³ã¹ãã¼ã« sudo yum -y install openssl-devel sqlite使ãå ´åã¯developç¨sqlite3ã®ã¤ã³ã¹ãã¼ã« sudo yum -y install sqlite3-devel ruby 2.2.0ãã¤ã³ã¹ãã¼ã«ããå ´åã¯ã以ä¸ãã¤ã³ã¹ãã¼ã« sudo yum -y install libffi-devel sudo yum -y install patch 以ä¸æé ã¯ã»ã¼ä»¥ä¸ã®URLã®éãã åèURL -> https://github.com/sstephenson/rbenv https://github.com/sstephenson/ruby-build rbenvã®ã¤ã³ã¹ãã¼ã« $git clon
VPSã移è¡ãããgithubã«æ¥ç¶ã§ããªããªã£ã¦ãã¾ã£ãã®ã§ããããªãã¨ãããã¨ãã®ã¡ã¢ã ãããVPSã«æ¨æºã§å ¥ã£ã¦ããGitã使ã£ã¦githubã«pushãããã¨ãã㨠error: The requested URL returned error: 403 Forbidden while accessingãã£ã¦ã¨ã©ã¼ãåºãã åå ã¯gitã®ãã¼ã¸ã§ã³ãå¤ã(ã¤ã³ã¹ãã¼ã«ããã¦ããã®ã¯1.7.1ã ãã©ãgithubã®ãã«ããè¦ãã¨git 1.7.10 or later)ã¨ããããªã¨ã ãªã®ã§yumçµç±ã§ã¯ãªãã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ãã¦ããã 1. ç¾å¨ã¤ã³ã¹ãã¼ã«ããã¦ããå¤ããã¼ã¸ã§ã³ãåé¤ãã $ sudo yum -y remove git 2. æ°ããGitãå°å ¥ããã«ããã£ã¦ãä¾åã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ãã¦ãã èªåã®å ´åã¯ä»¥ä¸ã®ãã®ã ãã ã£ãã $ sudo yum
以ä¸ã®ãã¼ã¸ãåèã«ãã¦Redmineãã¤ã³ã¹ãã¼ã«ãããã ããã¨ããã©ããéãç®æãããã®ã§ã¡ã¢ã£ã¦ããã http://blog.redmine.jp/articles/2_3/installation_centos/ SELinuxãç¡å¹ã«ãã /etc/sysconfig/selinuxãéãç·¨éãã¦åèµ·å # vi /etc/sysconfig/selinux SELINUX=enforcing â SELINUX=disabled # reboot now 以ä¸ã®ã³ãã³ãã§SELinuxãç¡å¹(Disabled)ã«ãªã£ã¦ãããã¨ã確èªã # getenforce iptablesã§HTTPãè¨±å¯ ãã¡ã¤ã¢ã¦ã©ã¼ã«ã®ããã©å¤ã§ã¯å¤é¨ããHTTPã«æ¥ç¶ã§ããã ã¤ãããã§iptablesã®è¨å®ã以ä¸ã®éãã«å¤æ´ãã¦ãµã¼ãã¹åèµ·åã # vi /etc/sysconfig/iptab
ãã¤ãã®ããã«ããã±å°ï¼ Serversmanï¼ VPS ãã«ãgit ã¤ã³ã¹ãã¼ã«ãããã # cd /usr/local/src # wget http://git-core.googlecode.com/files/git-1.7.7.tar.gz # tar -xzvf git-1.7.7.tar.gz # cd git-1.7.7 # ./configure --prefix=/usr/local/ # make # make installprefix ã¯æå®ããªã㨠/usr ã«ãªãã£ã½ããï¼ ã¡ãªã¿ã« make ããã¨ãã«ãããªã¨ã©ã¼ãåºããã SUBDIR git-gui GITGUI_VERSION = 0.14.0 * new locations or Tcl/Tk interpreter GEN git-gui INDEX lib/ * tclsh failed; u
ãããã®VPSã«CentOSã®Xç°å¢ãæ§ç¯ãã¦ã¿ã Posted 2013å¹´3æ27æ¥ by keiji & filed under Linux. æå®ããURLãå ¥ãã¨ãã¨ãã¹ã¯ãªã¼ã³ã·ã§ãããåæã«åã£ã¦ããããµã¼ãã¹ã¨ãããã¾ããã©ãä»æ´ãªããèªåã§ä½ãããã¨ãæãåãã¦åå¼·ä¸ã ã¨ãã£ã¦ãã5å¹´ãããåããä»çµã¿ã¯å¤§ãã¦å¤ã£ã¦ãªãã¦ã大ä½ã¯ãµã¼ãã¼ä¸ã«Xãå°å ¥ãã¦ãä»®æ³ãã£ã¹ãã¬ã¤ï¼ãç«ã¡ä¸ãã¦ãããã«FirefoxãªãOperaãªã好ããªãã©ã¦ã¶ãèµ·åããã¦ãã¹ã¯ãªã¼ã³ã·ã§ãããåãã£ã¦ãã¤ã§ãã ä»åã¯ãããã®VPSã®2Gãå©ç¨ãã¾ããã å¤åUbuntu使ãæ¹ã楽ã ã¨æããã§ããã©ãCentOSã§ãåºæ¥ããã ã£ããã§ã¡ã¢ãã¦ããã£ã¦ã¿ã¾ããã â»CentOS6.4ã®x86_64ãããã©ã«ãã§ã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããi386ã§åã¤ã³ã¹ãã¼ã«ãã¦ããã¾ãã ã¾ãX Win
CentOS6.4ä¸ã¸Ruby on Railsã®ç°å¢ãæ§ç¯ããã [1]Rubyãã¤ã³ã¹ãã¼ã«ããã # yum -y install ruby # yum -y install ruby-devel [2]RubyGemsãã¤ã³ã¹ãã¼ã«ããã # yum -y install rubygems [3]å種ã³ã³ãã¤ã©ãã¤ã³ã¹ãã¼ã« # yum -y install gcc gcc-c++ openssl-devel zlib-devel make patch sqlite-devel [4]libyamlãåå¾ãmakeãmake install ã®å®è¡ # wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz # tar -zxf yaml-0.1.4.tar.gz # cd yaml-0.1.4 # ./configure
Jenkinsã使ã£ã¦ã¿ããï¼ã¨ãããã¨ã§ãCentOS6.3ä¸ã«Jenkinsãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã ã¤ã³ã¹ãã¼ã«å¾ã®NICã®æå¹åãDNSè¨å® CentOS6ããã¯ã¤ã³ã¹ãã¼ã«å¾ã«NICãæå¹ã«ãªã£ã¦ããªããããã ãªã®ã§ãæå¹ã«ããã # vi /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=âyesâãBOOTPROTO=âstaticâã«å¤æ´ãIPADDRãNETMASKãGATEWAYã追å DEVICE="eth0" BOOTPROTO="static" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" IPADDR="192.168.1.100" NETMASK="255.255.255.0" GATEWAY="192.168.1.1" resolvã®è¨å® # vi /et
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}