Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
VMwareã§ã²ã¹ãOSã«CentOS7ã使ç¨ãã¦VMwareã®æ©è½ã«ããå ±æãã©ã«ããä½æãã¦ãããã¾ãã CentOSãç°¡æã¤ã³ã¹ãã¼ã«ã§ã¤ã³ã¹ãã¼ã«ãã¦ãVMtoolsãå ¥ããã®ã«ãªããå ±æãã©ã«ããã§ãã¾ããã§ãã åå ã¯ã©ããopen-vm-toolsã¨ããç©ãããã¾ããããã«å ±æãã©ã«ãã®ãã¦ã³ãæ©è½ãç¡ãã®ã§ã¤ã³ã¹ãã¼ã«ãã¾ã åèéãã«ãã£ãã¨ããã§ãã¾ããï½ ã¤ã³ã¹ãã¼ã«å¿ è¦ãªãã®ãã¤ã³ã¹ãã¼ã«ãã¾ã(以ä¸å ¨é¨root権é) yum -y install kernel-headers-$(uname -r) gccããããå¿ è¦ãªãã¡ã¤ã«ãæã£ã¦ãã mkdir -p /usr/src/linux-headers-$(uname -r)/include/linux/ ln -s /usr/src/linux-headers-$(uname -r)/include/gener
ä½æ¥ç°å¢ CentOS7.3 ãã¾mariadb5.5ãå ¥ã£ã¦ãã 注æç¹ ååèµ·åæã«rootã®åæãã¹ã¯ã¼ããèªåè¨å®ãããï¼å¾è¿°ï¼ MySQL 5.7 ããã¦ã¼ã¶ã¼ã®ãã¹ã¯ã¼ãã®æå¹æéãããã©ã«ãã§360æ¥ã«ãªã£ãã®ã§æ³¨æï¼å¾è¿°ï¼ åèURL http://blog.ybbo.net/2016/12/18/install_mysql5-7-by-yum-to-centos7/ https://yoku0825.blogspot.jp/2015/03/mysql-576-mysqlinstalldbmysqld.html http://weblabo.oscasierra.net/mysql-57-init-setup/ 以ä¸ãæé 1. mariadb ãå ¥ã£ã¦ãããæ¶ã # 確èªãã rpm -qa | grep maria mariadb-libs-5.5.50-1.el7_2
以åæ¸ããã Chef Solo+Vagrantã§ãCentOSã«rbenvã§Rubyç°å¢æ§ç¯ ã¨åããã¨ããChef Soloã§ã¯ãªãItamaeãå©ç¨ãã¦è¡ã£ãã ryotarai/itamae Chefã®è¨æ³ã¨ã»ã¨ãã©åãããã«æ¸ããããããåãããªããã£ã¬ã¯ããªããã£ã±ãä½æããã¦æ··ä¹±ãããã¨ããªãã Chefã«ããã¾ã§æ £ãã¦ããªãèªåã¨ãã¦ã¯ãã·ã³ãã«ã«ç®¡çã§ããããªåãã£ã¡ã®æ¹ãè¯ãããããªããã¨ããå°è±¡ã§ããã Vagrantã§ä»®æ³ç°å¢ä½æ CentOS 6.6ã®ç°å¢ãVagrantã使ã£ã¦èµ·åããã $ vagrant box add opscode-centos-6.6 http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.6_chef-provisionerless.bo
3æã®æåPVã100è¶ãããããã¼ã ãã¡ã¤ã«å ±æè¨å®ã§ãããããªãã¨ãè¨ããããã§ããã WinSCPã§ãã¡ã¤ã«è»¢éããæ¹æ³ã®ã¡ã¢ã§ãã ã¤ã³ã¹ãã¼ã«ããã¦ã³ãã¼ããã https://ja.osdn.net/projects/winscp/ ã¤ã³ã¹ãã¼ã«ãããã¨ãexeå®è¡ã§ã¤ã³ã¹ãã¼ã«ããã ã»ãã·ã§ã³ã«ãã°ã¤ã³æ å ±ãããã ãã¹ãåããã¼ãçªå·ãã¦ã¼ã¶ã¼åããã¹ã¯ã¼ããå ¥åãã vagrantããåããã¦ããã®ã§ ãã¹ãå192.168.33.10 ãã¼ãçªå·22 ã¦ã¼ã¶ã¼åvagrant ãã¹ã¯ã¼ãvagrant æ¥ç¶ãã ä¸ã®æ å ±ãå ¥åãã¦ãã°ã¤ã³ã§ã¤ãªãã vagrantã®boxããã¹ã¯ã¼ãç¦æ¢ã«ãã¦ãã vagrantã®boxãcentos/7ã ã¨ãã¹ã¯ã¼ãç¦æ¢ã«ãªã£ã¦ãã®ã§ç§å¯éµã§ãã°ã¤ã³ã«ãªã (EFatal) Disconnected: No supported a
ã¯ããã« AngularJS 㨠Angular 2 ã«ã¤ã㦠AngularJS 㯠Google 主å°ã§éçºããã¦ããããã³ãã¨ã³ãç¨ã® JavaScript ãã¬ã¼ã ã¯ã¼ã¯ã§ãã GitHub ã®å±¥æ´ãè¦ã㨠v1.0.0 ããªãªã¼ã¹ãããã®ã¯2012å¹´ã§ã ããããæ¹è¯ãå ããããã¢ãããã¼ãããã¦ããã®ã§ããã 2015å¹´ã«æ°ãã Angular 2 ã® 2.0.0-beta.0 ãå ¬éããã¾ããã ã©ã¡ãã®ãã¬ã¼ã ã¯ã¼ã¯ãéçºãé²ãã§ããã ç¾è¡ãã¼ã¸ã§ã³ã¯ AngularJS ã v1.5.8 ã§ã Angular 2 ã 2.0.0-rc.5 ã§ãã AngularJS 㨠Angular 2 ã¯ãäºææ§ ( ã»ã¼ ) ç¡ãã®å¥ç©ãã¬ã¼ã ã¯ã¼ã¯ã«ãªã£ã¦ã¾ãã MVC ããã³ã³ãã¼ãã³ãæåã«ãªã£ãããSyntax ã¾ãã£ããå¤ãã£ã¦ããã»ã»ã» å°å ¥æ¹æ³ãããªãå¤ããã An
ååVagrantã¨VirtualBoxã使ç¨ããä»®æ³ç°å¢ãå®æããã®ã§ã ãã®ç°å¢ã«rubyã¨railsãå ¥ãã¦ããã¾ãã è²ã ã¨ã¤ã³ã¹ãã¼ã«ãããã®ã§root権éã§è¡ãã¾ãã sudo suã#root権é㸠yum updateã#ã¤ã³ã¹ãã¼ã«æ¸ããã±ã¼ã¸ã§æ´æ°ã§ãããã®ãæ´æ°ãã ä¸éãupdateãã¦ããã¾ãã yum install rubyã ã¨2.0.0ã¨ããå°ã å¤ããã¼ã¸ã§ã³ããinstallã§ããªãã£ãã®ã§ ä»åã¯rbenvã¨ããrubyã®ãã¼ã¸ã§ã³ç®¡çãã¼ã«ã使ç¨ãã¾ãã rbenvã使ç¨ãããããå¿ è¦ãªgitãå ã«ã¤ã³ã¹ãã¼ã«ãã¾ãã yum -y install git gitãã¤ã³ã¹ãã¼ã«ã§ããããrbenvãcloneã㦠git clone https://github.com/sstephenson/rbenv.git ~/.rbenv rbenvã®ãã©ã°ã¤
Perl ⺠ãã¼ã¿ãã¼ã¹ ⺠here CentOSä¸ã§Perlã®DBIã使ã£ã¦SQL Serverã«æ¥ç¶ããæé ã§ããFreeTDS, UnixODBCã¨ããUnix(Linux)ã®ã©ã¤ãã©ãªã¨Perlã®DBD::ODBCã¢ã¸ã¥ã¼ã«ãé©åã«ã¤ã³ã¹ãã¼ã«ãè¨å®ããå¿ è¦ãããã¾ãã (試ããç°å¢ã¯CentOS release 5.5 (Final)ããã®è¨äºã¯Red Hat Enterprise Linux, Fedoraã§ãæå¹ã§ããããããã¾ãããã¾ãä»ã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ãæå¹ã§ããããããã¾ãããSELinuxãç¡å¹åãã¦ãããªãã¨ãã¤ã³ã¹ãã¼ã«ããã¾ããããªãããããã¾ãããã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ããã®ã§gccãªã©ã®éçºãã¼ã«ã¯äºåã«ã¤ã³ã¹ãã¼ã«ããã¦ãããã¨ãæ³å®ãã¦ãã¾ãã) æ¥ç¶ã®ã¤ã¡ã¼ã¸ãæ¸ãã¨ä»¥ä¸ã®ããã«ãªãã¾ãã DBI - ODBC(éä¿¡ã«FreeT
ã¯ããã« CentOS6 ã§æ¯è¼çæ°ããã½ããã¦ã§ã¢ãå®è¡ãããã¨ããã¨ã /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by <new software>) ã®ãããªã¨ã©ã¼ãçºçããäºãããã¾ãããã㯠CentOS6 ã«ã¤ã³ã¹ãã¼ã«ããã¦ããã©ã¤ãã©ãªãå¤ããã½ããã¦ã§ã¢ãè¦æ±ãããã¼ã¸ã§ã³ã¨åããªãããã§ãã ä»åãlibstdc++ ã©ã¤ãã©ãªãä¾ã«ã¨ã£ã¦ãCentOS6 ã«æ°ãããã¼ã¸ã§ã³ã®ã©ã¤ãã©ãªãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ãã¾ãã ã¤ã³ã¹ãã¼ã«ããã¦ãã libstdc++ ã®ç¢ºèª ã¤ã³ã¹ãã¼ã«ããã¦ãã libstdc++ ã«çµã¿è¾¼ã¾ãã¦ãããã¼ã¸ã§ã³ã確èªãã¾ãã $ strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX GLIB
Rubyãç°¡åã«yumããã¤ã³ã¹ãã¼ã«ãããã®ã§ãããããã«ãå¤ããã¼ã¸ã§ã³ããããã¾ãããæéãåãã¾ãããã½ã¼ã¹ã¤ã³ã¹ãã¼ã«ãã¾ãã Rubyã«å¿ è¦ãªããã±ã¼ã¸ãæºåããã [html]# yum install gcc zlib-devel openssl-devel sqlite sqlite-devel[/html] ææ°ã®Rubyãå ¬å¼ãµã¤ãï¼https://www.ruby-lang.org/ja/downloads/ï¼ããã¤ã³ã¹ãã¼ã«ãã¾ããææ°ã®å®å®æ¿ãå ¥ããã¨è¯ãã§ãããã [html] # cd /usr/local/src # wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz # tar zxvf ruby-2.1.3.tar.gz # cd ruby-2.1.3 # ./configure
æ¦è¦ ã¿ãªããããã«ã¡ã¯candleã§ããä»åã¯centos6.5ã«emacs24ãrpmããã¤ã³ã¹ãã¼ã«ãã¾ãã åæ é©å½ãªcentos6.5ã®ç°å¢ããããç§ã¯vagrantã«ãã¾ãã å¿ è¦ãªããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã ã¾ãã¯yum updateãã¾ãã sudo yum update wgetã使ãã®ã§ãwgetãã¤ã³ã¹ãã¼ã«ãã¾ãã sudo yum install -y wget rpmãç»é²ãã centos6.5ã®emacsã®ã¬ãã¯å¤ãã®ã§å¥ã«æ°ããeamcsã®repoãç»é²ãã¾ãã 以ä¸ã®ã³ãã³ãã§ãæ°ããrpmãç»é²ãã¾ãã cd /etc/yum.repos.d sudo wget https://gist.githubusercontent.com/AaronTheApe/5540012/raw/5782a8d6a95f76daeed6073dc0c90612fef
PUIAS_6_computational | 3.3 kB 00:00 PUIAS_6_computational/primary_db | 2.1 MB 00:03 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python3.x86_64 0:3.3.0-1.puias6 will be installed --> Processing Dependency: python3-libs(x86-64) = 3.3.0-1.puias6 for package: python3-3.3.0-1.puias6.x86_64 --> Processing Dependency: libpython3.3m.so.1.0()(64bit) for pac
ä»äºä¸ã§ããã£ããã¨ã®ãã¡é¡§å®¢ã«é¢ããæ å ±ãç¡ãç©ãä¸è¬å ¬éãã¦å·®ãéãã®ãªããããªäºããã¾ã¼ã«æ稿ãã¦ãã¾ãã ã¡ãªã¿ã«ãè¨äºä¸ã«è¼ããç§ãæ¸ããã³ã¼ãã¯ãç¨éåããåå©ç¨ããã ãã¦ãã¾ãã¾ããããä¿éã¯ä¸åãããã¾ããã®ã§ããããããã ã§ãã¾ã調ã®è¨äºã¨ã§ãã調ã®è¨äºãæ··ããã¾ãã..ãã¡ããããããããã CloudStackãOpenStackã¨ããããDockerã«ãæãã¤ããªãã¨.. ã¨ããããããããªã強迫観念ã«ããã ç§ãã¤ãã« Docker ã«æãåºãã¾ããã ..ãããç°¡åã .. ã§ãããã¨ã¯VMware Playerã®NATã§ä»®æ³ã¤ã¡ã¼ã¸ä¸ãããã㪠æãã ãã©ããã¡ããã¡ã軽ãã OSã¯CentOS/ubuntuã ããªã®ãæ®å¿µã ã ããããã¾ã§ã®ãã¤ãã¼ãã¤ã¶åã®ä»®æ³åæè¡ã« å®å ¨ã«åã£ã¦ä»£ãããã¨ã¯ã§ããªããã©ã ã¢ããªéçºããã£ã¦ãã人ãã¡ãã㨠tomcat
æ¦è¦ yum ã®å¤é¨ãªãã¸ããªãå©ç¨ãã¦ä»»æã®ãã¼ã¸ã§ã³ã® PHP ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãã¾ã¨ããã2016å¹´7æ5æ¥èª¿æ»ã ç¹å¥ãªäºæ ããªãéã Remi's Repository ã® remi-php54 remi-php55 remi-php56 remi-php70 ã®åãªãã¸ããªãå©ç¨ããã®ãããã ããã PHP 7.1 ã試ãããå ´å㯠remi ãªãã¸ããªã® php71 ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã å人ã®ã¡ã³ããã³ã¹ã«ä¾åãã¦ããéè¯ãªãã¸ããªã ã¨åé¡ã«ãªãå ´åã¯ããã³ãã¼ã管çãã¦ãã SCL ãªãã¸ããªãå©ç¨ããã¨ããã ãããï¼ã¡ã³ããåã人ã ãã©ï¼ remiã®phpã§ã¤ããã¨ããã¯å¤ãããã±ã¼ã¸ãæ®ããã¦ãªãã®ã§ããã¨ããããã±ã¼ã¸è¿½å ãããã¨ããã¨å¿ ãphpã®ãã¼ã¸ã§ã³ã¢ããã«ãªãã¨ããã 1 Remi ãªãã¸ããªã¯åãã¤ãã¼ãã¼ã¸ã§ã³ã®ææ°çããæ®ã£ã¦ããªãã
# æå¹ãªè¨å®ãç¢ºèª >>> firewall-cmd --list-services --zone=public --permanent dhcpv6-client # è¨å®è¿½å (sshã¨mysqlã追å ) firewall-cmd --add-service=ssh --zone=public --permanent firewall-cmd --add-service=mysql --zone=public --permanent # è¨å®åé¤(sshãåé¤) firewall-cmd --remove-service=ssh --zone=public --permanent # è¨å®ä¸è¦§ã表示 ls -lta /usr/lib/firewalld/services/ # åè¨å®æ¯ã®å å®¹ç¢ºèª cat /usr/lib/firewalld/services/ssh.xml # è¨å®ã
Wordpressã®ç°å¢ãCentOSï¼ã«ä½ããã¨ã«ãªã£ãã®ã§ãããPHPï¼ã§Wordpressãåããã¦ãã人ã®è¨äºãã¡ãã»ãè¦ãããã®ã§ PHPï¼ãå ¥ãã¦ã¿ããããªãã¨æ©ãã§ã¾ããã ãã£ãç¥ã£ãã®ã§ããã©ãPHP7ã£ã¦ããyumã§å ¥ãããã¨ãã§ãããã§ããã æ©éå ¥ãã¦ã¿ã¾ããã ã¾ãã¯ãªãã¸ããªã®è¿½å rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpmããã¦PHP7ãå ¥ãã¾ã yum install php70w php70w-opcacheå ¥ã£ããã©ããç¢ºèª # php -v PHP 7.0.2 (cli) (built: Jan 9 2016
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}