StandardOutput=syslog
ã¯ããããã¨ããã¨ãããã¨ãããã ã¾ã確ãã« syslog ã rsyslog ããªããªã£ã¦ journald ã«ãªã£ã¦ä¹
ããããªã
AWS ã³ã¹ãé åã¿ã°ã«éçãæãã¦ãã
ããã¯ãã¨ãããâ¯â¯ã¨â¯â¯ã ãã®ã¾ã¨ãã欲ããããã¹ã±ãï¼ãã¨è¨ããã¦ã対å¿ã§ãããã®ã§ãæªæ¥ãå èªã¿ãã¦ã¿ã°ã¤ãã¦ãããããããã対çããªãããã
ä¾ãã°ã1 ã¢ã«ã¦ã³ã ID å
ã«è¤æ°ç°å¢ããããªã env: staging
env: ${éç¨ãã¦ãããã¡ã¤ã³å}
ãªã©ã®ããã«ã
ã¢ã«ã¦ã³ã ID ã§ç°å¢åé¢ãã¦ã¦ããçµå±è²¡åæ¹é¢ãããã³ã³ãã¥ã¼ãã£ã³ã°ãªã½ã¼ã¹ (EC2, ECS,RDS: 常æåãã¦ããã®æ) 㨠SaaS ãµã¼ãã¹ (SES: é½åº¦åãåããã®æ) ã§åãã¦ã»ããããã¹ã±ãï¼ããªã©è¨ããããäºåã«è¨è¨ãã¦ããªãã¨äººéãæ°åã§ãããããªãã®ã§ä¸è½ã§ã¯ãªãã
äºåã«ããã£ã¦ãã°ãããã ãã©ãããããªãå ´åã¯ã¾ãç¡åã ãããã¨ããæ°æã¡ã«ãªã£ã¦ããã ãã®ãããã¯æåãã¨ãããéãæ¡ã£ã¦ãã人ã®ãæ°æã¡ãªã®ã§ããã¤ãé ãã¨ããå¼·ãæ°æã¡ãæã£ã¦ãããããªãã
ãããã¯éç¨å»ºä»ããäºåã«ãã£ã¦ããã¦ãä¾å¤ãçºçããå ´åã¯è²¡åå´ã§ãã£ã¦ãããããã¿ãããªã
ããããããã©ãã®ã AI ã«è§£æ±ºãã¦æ¬²ãããã ãã©è§£æ±ºã§ãããã®ï¼ ã¨ãªãã
ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ããã¡ãã£ã¨ã©ãã«ããªãããããªâ¦â¦ã¨ããã¤ã¶ãã
AmazonLinux2023 ã§éã« anyenv (rbenv) ç°å¢ãä½ã
asdf ã¨ãã **env
ãåå¥ã«ã¤ã³ã¹ãã¼ã«ããã¨ããä»ã¯é¸æè¢è²ã
ãããã©ã env ç³»ãæ
£ãã¦ããã®ã¨ anyenv ã 㨠**-build
ãå¥éå°å
¥ããªãã¦ãä¸ç·ã«ç¨æãã¦ããã¦æ¥½ãã¨ããåããããã®ã§ anyenv ãå°å
¥ãã¦ãã¾ãã
ãã¤ããªã¸ã®ãã¹ã¨ãã¤ã³ã¹ãã¼ã«å ã«ä¾åãã¦å¤æ´ããã¦ãã¾ãã®ã§ãéã«æ¬çªç°å¢ãªã©ã§æ¡ç¨ããã¨äºæ ã®å ãªãã§ãããããã§ã Docker æªæºã®ç°å¢ã§ã¯ãã¹ããã©ã¯ãã£ã¹ã«è¿ãåããã§ããã®ã§ãããããæãã§ããã¾ãã
äºåæºå
å¿ è¦ã«ãªãããã±ã¼ã¸ (ã©ã¤ãã©ãª) ãã¤ã³ã¹ãã¼ã«ããã
[ec2-user@localhost ~]$ sudo dnf groupinstall "Development Tools" [ec2-user@localhost ~]$ sudo dnf -y install zlib-devel bzip2 bzip2-devel readline-devel openssl-devel xz xz-devel libyaml libyaml-devel [ec2-user@localhost ~]$ sudo dnf swap libcurl-minimal libcurl-full [ec2-user@localhost ~]$ sudo dnf swap curl-minimal curl-full [ec2-user@localhost ~]$ sudo dnf install libcurl-devel.x86_64 [ec2-user@localhost ~]$ sudo dnf -y install jemalloc*
anyenv
anyenv ãã¤ã³ã¹ãã¼ã«ãã¾ãã
[ec2-user@localhost ~]$ git clone https://github.com/anyenv/anyenv ~/.anyenv [ec2-user@localhost ~]$ echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.bash_profile [ec2-user@localhost ~]$ ~/.anyenv/bin/anyenv init # Load anyenv automatically by adding # the following to ~/.bash_profile: eval "$(anyenv init -)" [ec2-user@localhost ~]$ vi ~/.bash_profile
.bash_profile
ã«ä»¥ä¸ã®å
容ã追è¨ããã
# Load anyenv automatically by adding # the following to ~/.bash_profile: eval "$(anyenv init -)"
[ec2-user@localhost ~]$ exec $SHELL -l ANYENV_DEFINITION_ROOT(/home/ec2-user/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by: > anyenv install --init [ec2-user@localhost ~]$ anyenv install --init Manifest directory doesn't exist: /home/ec2-user/.config/anyenv/anyenv-install Do you want to checkout https://github.com/anyenv/anyenv-install.git? [y/N]: y Cloning https://github.com/anyenv/anyenv-install.git master to /home/ec2-user/.config/anyenv/anyenv-install... Cloning into '/home/ec2-user/.config/anyenv/anyenv-install'... remote: Enumerating objects: 71, done. remote: Counting objects: 100% (14/14), done. remote: Compressing objects: 100% (13/13), done. remote: Total 71 (delta 4), reused 4 (delta 1), pack-reused 57 (from 1) Receiving objects: 100% (71/71), 13.15 KiB | 4.38 MiB/s, done. Resolving deltas: 100% (11/11), done. Completed!
anyenv plugin ã®ã¤ã³ã¹ãã¼ã«
ããæãã« anyenv ãå©ç¨ããããã«ããã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ãã
[ec2-user@localhost ~]$ mkdir -p ~/.anyenv/plugins;cd $_ [ec2-user@localhost plugins]$ git clone https://github.com/znz/anyenv-update.git ./anyenv-update Cloning into './anyenv-update'... remote: Enumerating objects: 87, done. remote: Total 87 (delta 0), reused 0 (delta 0), pack-reused 87 (from 1) Receiving objects: 100% (87/87), 13.33 KiB | 6.67 MiB/s, done. Resolving deltas: 100% (33/33), done. [ec2-user@localhost plugins]$ git clone https://github.com/znz/anyenv-git.git ./anyenv-git Cloning into './anyenv-git'... remote: Enumerating objects: 48, done. remote: Total 48 (delta 0), reused 0 (delta 0), pack-reused 48 (from 1) Receiving objects: 100% (48/48), 7.61 KiB | 7.61 MiB/s, done. Resolving deltas: 100% (15/15), done.
ã¯ãã§ããã
ãã®å¾ã¯ã·ã§ã«åèµ·åã§ãã®ã¾ã¾ä½¿ãããã§ãããç°å¢æ§ç¯ã¨ããæå³ã§ã¯ .bash_profile
èªã¿ç´ãã§åé¡ãããªãããã¨ãããã³ã確èªããæå³ããã㦠reboot
ãã¦ã¿ãã¨ããã§ãããã
[ec2-user@localhost plugins]$ sudo reboot
**env ã®ã¤ã³ã¹ãã¼ã«
ä»åã¯ä¾ã¨ã㦠rbenv 㨠nodenv ãã¤ã³ã¹ãã¼ã«ãã¾ãã
[ec2-user@localhost ~]$ anyenv install rbenv /tmp/rbenv.20241202222214.2838 ~ Cloning https://github.com/rbenv/rbenv.git master to rbenv... Cloning into 'rbenv'... remote: Enumerating objects: 3340, done. remote: Counting objects: 100% (490/490), done. remote: Compressing objects: 100% (267/267), done. remote: Total 3340 (delta 278), reused 376 (delta 207), pack-reused 2850 (from 1) Receiving objects: 100% (3340/3340), 685.53 KiB | 10.39 MiB/s, done. Resolving deltas: 100% (2068/2068), done. ~ ~/.anyenv/envs/rbenv/plugins ~ Cloning https://github.com/rbenv/ruby-build.git master to ruby-build... Cloning into 'ruby-build'... remote: Enumerating objects: 16582, done. remote: Counting objects: 100% (4298/4298), done. remote: Compressing objects: 100% (401/401), done. remote: Total 16582 (delta 4079), reused 4023 (delta 3885), pack-reused 12284 (from 1) Receiving objects: 100% (16582/16582), 3.20 MiB | 12.12 MiB/s, done. Resolving deltas: 100% (11783/11783), done. ~ Install rbenv succeeded! Please reload your profile (exec $SHELL -l) or open a new session. [ec2-user@localhost ~]$ exec $SHELL -l [ec2-user@localhost ~]$ anyenv install nodenv /tmp/nodenv.20241202222229.2993 ~ Cloning https://github.com/nodenv/nodenv.git master to nodenv... Cloning into 'nodenv'... remote: Enumerating objects: 4519, done. remote: Counting objects: 100% (516/516), done. remote: Compressing objects: 100% (268/268), done. remote: Total 4519 (delta 264), reused 473 (delta 237), pack-reused 4003 (from 1) Receiving objects: 100% (4519/4519), 885.40 KiB | 11.96 MiB/s, done. Resolving deltas: 100% (2895/2895), done. ~ ~/.anyenv/envs/nodenv/plugins ~ Cloning https://github.com/nodenv/node-build.git master to node-build... Cloning into 'node-build'... remote: Enumerating objects: 28219, done. remote: Counting objects: 100% (3685/3685), done. remote: Compressing objects: 100% (1374/1374), done. remote: Total 28219 (delta 2313), reused 2793 (delta 2233), pack-reused 24534 (from 1) Receiving objects: 100% (28219/28219), 5.23 MiB | 16.88 MiB/s, done. Resolving deltas: 100% (18053/18053), done. ~ ~/.anyenv/envs/nodenv/plugins ~ Cloning https://github.com/nodenv/nodenv-vars.git master to nodenv-vars... Cloning into 'nodenv-vars'... remote: Enumerating objects: 211, done. remote: Total 211 (delta 0), reused 0 (delta 0), pack-reused 211 (from 1) Receiving objects: 100% (211/211), 31.82 KiB | 7.96 MiB/s, done. Resolving deltas: 100% (76/76), done. ~ Install nodenv succeeded! Please reload your profile (exec $SHELL -l) or open a new session. [ec2-user@localhost ~]$ exec $SHELL -l
ã§ããã **-build
ãªã©ã®ãã©ã°ã¤ã³ãä¸ç·ã«ã¤ã³ã¹ãã¼ã«ããã¦ããã®ã§å¤§ä¸å¤«ããã§ããã
rbenv 㧠ruby ãã¤ã³ã¹ãã¼ã« (jemalloc æå¹åãã¦)
ãã£ãããªã®ã§ jemalloc æå¹åãã ruby ç°å¢ãç¨æãã¦ã¿ã¾ãããã env 系使ããã㦠Docker 移è¡ãã¦ããªããã¨ããæ³å®ã 㨠Ruby 2.x ç³»ãã¢ããã¼ã·ã§ã³ã¨ãã¦ä¸çªå¤ããã®ã§ããã®ãããã§é©å½ã«ã
[ec2-user@localhost ~]$ RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.7.5 ==> Downloading openssl-1.1.1w.tar.gz... -> curl -q -fL -o openssl-1.1.1w.tar.gz https://dqw8nmjcqpjn7.cloudfront.net/cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9661k 100 9661k 0 0 34.0M 0 --:--:-- --:--:-- --:--:-- 34.0M ==> Installing openssl-1.1.1w... -> ./config "--prefix=$HOME/.anyenv/envs/rbenv/versions/2.7.5/openssl" "--openssldir=$HOME/.anyenv/envs/rbenv/versions/2.7.5/openssl/ssl" --libdir=lib zlib-dynamic no-ssl3 shared -> make -j 2 -> make install_sw install_ssldirs ==> Installed openssl-1.1.1w to /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5 ==> Downloading ruby-2.7.5.tar.bz2... -> curl -q -fL -o ruby-2.7.5.tar.bz2 https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14.1M 100 14.1M 0 0 15.8M 0 --:--:-- --:--:-- --:--:-- 15.8M ==> Installing ruby-2.7.5... WARNING: ruby-2.7.5 is past its end of life and is now unsupported. It no longer receives bug fixes or critical security updates. -> ./configure "--prefix=$HOME/.anyenv/envs/rbenv/versions/2.7.5" "--with-openssl-dir=$HOME/.anyenv/envs/rbenv/versions/2.7.5/openssl" --enable-shared --with-ext=openssl,psych,+ --with-jemalloc -> make -j 2 -> make install ==> Installed ruby-2.7.5 to /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5 NOTE: to activate this Ruby version as the new default, run: rbenv global 2.7.5 [ec2-user@localhost ~]$ rbenv global 2.7.5 [ec2-user@localhost ~]$ ruby -v ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
ç¡äºã«ã¤ã³ã¹ãã¼ã«ã§ãã¾ãããã ãªãã¹ãã¯ããã« Docker ã«å¼ã£è¶ããããã«ãã¾ãããã
åè
é常 /usr/local/bin
以ä¸ãªã©ã«é
ç½®ããã gem ã¯ãæ¦ã以ä¸ã«é
ç½®ãããã®ã§ã capistrano-**
ãªã©ä½¿ã£ã¦ãããªãããã®ã³ãã³ãããã«ãã¹ã§æ¸ãã¦ããããªã©ã®å ´åã¯ãã©ãã¼ãå¿
è¦ãªã®ã§æ³¨æãã¾ããã (ä¸æ) ã
[ec2-user@localhost ~]$ ls -lha ~/.anyenv/envs/rbenv/shims/ total 68K drwxr-xr-x. 2 ec2-user ec2-user 168 Dec 5 21:05 . drwxr-xr-x. 14 ec2-user ec2-user 16K Dec 2 23:05 .. -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 bundle -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 bundler -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 erb -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 gem -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 irb -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 racc -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 racc2y -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 23:17 rackup -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 rake -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 rdoc -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 ri -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 ruby -rwxr-xr-x. 1 ec2-user ec2-user 423 Dec 2 22:43 y2racc
ï¼åè
systemd ã®èµ·åæé
systemd-analyze plot > plot.svg
ã¯ãããããªãµãã«åºãããã§ããããç¥ããªãã£ãã
åè
AmazonLinux2023 㧠Passenger ãã¤ã³ã¹ãã¼ã«æã« cURL ãã³ã±ã
ãã®ããã«Error: Cannot find the
curl-configcommand.
ãªãã®ã解決ããã
Checking for required software... * Checking for C compiler... Found: yes Location: /usr/bin/cc * Checking for C++ compiler... Found: yes Location: /usr/bin/c++ * Checking for Curl development headers with SSL support... Found: no Error: Cannot find the `curl-config` command. * Checking for Zlib development headers... Found: yes Location: /usr/include/zlib.h * Checking for Apache 2... Found: yes Location of httpd: /usr/sbin/httpd Apache version: 2.4.62 * Checking for Rake (associated with /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5/bin/ruby)... Found: yes Location: /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5/bin/ruby /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5/bin/rake * Checking for OpenSSL support for Ruby... Found: yes * Checking for RubyGems... Found: yes * Checking for Ruby development headers... Found: yes Location: /home/ec2-user/.anyenv/envs/rbenv/versions/2.7.5/include/ruby-2.7.0/ruby.h * Checking for rack... Found: yes * Checking for OpenSSL development headers... Found: yes Location: /usr/include/openssl/ssl.h * Checking for Apache 2 development headers... Found: yes Location of apxs2: /usr/bin/apxs * Checking for Apache Portable Runtime (APR) development headers... Found: yes Location: /usr/bin/apr-1-config Version: 1.7.2 * Checking for Apache Portable Runtime Utility (APU) development headers... Found: yes Location: /usr/bin/apu-1-config Version: 1.6.3
ã¾ããªãã§çºçããã®ã
libcurl-minimal ã¨ãããããã±ã¼ã¸ã«ãªã£ã¦ããããã
[ec2-user@localhost ~]$ dnf list curl* libcurl* Last metadata expiration check: 20:42:45 ago on Mon Dec 2 02:44:46 2024. Installed Packages curl-minimal.x86_64 8.5.0-1.amzn2023.0.4 @System libcurl-minimal.x86_64 8.5.0-1.amzn2023.0.4 @System Available Packages curl.x86_64 8.5.0-1.amzn2023.0.4 amazonlinux libcurl.x86_64 8.5.0-1.amzn2023.0.4 amazonlinux libcurl-devel.x86_64 8.5.0-1.amzn2023.0.4 amazonlinux
minimal is ãªã«
AWS ãè¨ãã«ã¯ä»¥ä¸ã®æ§åã
ããã«ãããã»ã¨ãã©ã®ã¦ã¼ã¶ã¼ã®ãã£ã¹ã¯ãã¡ã¢ãªãä¾åé¢ä¿ã®ãããããªã³ããåæ¸ãããAL2023 AMI ã¨ã³ã³ããã®ããã©ã«ãããã±ã¼ã¸ã¨ãªã£ã¦ãã¾ãã
https://docs.aws.amazon.com/ja_jp/linux/al2023/ug/curl-minimal.html
ã¡ãªã¿ã«éã« dnf ã§ä¸æ¸ããããã¨ãã㨠conflict ãã¦æ¢ã¾ãã
[ec2-user@localhost ~]$ sudo dnf install curl* Last metadata expiration check: 20:35:00 ago on Mon Dec 2 02:46:46 2024. Package curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 is already installed. Error: Problem: problem with installed package curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 ... [ec2-user@localhost ~]$ sudo dnf install libcurl* Last metadata expiration check: 20:36:59 ago on Mon Dec 2 02:46:46 2024. Package libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64 is already installed. Error: Problem: conflicting requests
ãããæ°ã«ãªããã ãã©ãã»ã¨ãã©ã®ã¦ã¼ã¶ã¼ãã£ã¦ã©ãã¾ã§ã®ç¯å²ãªãã ããã
解決æ¹æ³
å¼ç¨ã®ä¸è¨ URL è¨è¼æé ã§ãå¾æ¥ã®ãã«æ©è½çã«åãæ¿ãããããããã 試ãã¦ã¿ãã
ã¡ãªã¿ã« dnf swap
ã³ãã³ãã¯ãå¼æ°1ã¤ç®ã®ãªãã¸ããªãã2ã¤ç®ã®ãªãã¸ããªã«åãæ¿ããã³ãã³ããããã åãã¦ç¥ã£ãâ¦â¦ï¼
libcurl
[ec2-user@localhost ~]$ sudo dnf swap libcurl-minimal libcurl-full Last metadata expiration check: 20:43:40 ago on Mon Dec 2 02:46:46 2024. Dependencies resolved. ============================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================= Installing: libcurl x86_64 8.5.0-1.amzn2023.0.4 amazonlinux 346 k Installing dependencies: libssh x86_64 0.10.6-1.amzn2023.0.1 amazonlinux 217 k libssh-config noarch 0.10.6-1.amzn2023.0.1 amazonlinux 11 k Removing: libcurl-minimal x86_64 8.5.0-1.amzn2023.0.4 @System 611 k Transaction Summary ============================================================================================================================================================= Install 3 Packages Remove 1 Package Total download size: 574 k Is this ok [y/N]: y Downloading Packages: (1/3): libssh-config-0.10.6-1.amzn2023.0.1.noarch.rpm 123 kB/s | 11 kB 00:00 (2/3): libssh-0.10.6-1.amzn2023.0.1.x86_64.rpm 1.5 MB/s | 217 kB 00:00 (3/3): libcurl-8.5.0-1.amzn2023.0.4.x86_64.rpm 2.1 MB/s | 346 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.0 MB/s | 574 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libssh-config-0.10.6-1.amzn2023.0.1.noarch 1/4 Installing : libssh-0.10.6-1.amzn2023.0.1.x86_64 2/4 Installing : libcurl-8.5.0-1.amzn2023.0.4.x86_64 3/4 Erasing : libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64 4/4 Running scriptlet: libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64 4/4 Verifying : libcurl-8.5.0-1.amzn2023.0.4.x86_64 1/4 Verifying : libssh-0.10.6-1.amzn2023.0.1.x86_64 2/4 Verifying : libssh-config-0.10.6-1.amzn2023.0.1.noarch 3/4 Verifying : libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64 4/4 Installed: libcurl-8.5.0-1.amzn2023.0.4.x86_64 libssh-0.10.6-1.amzn2023.0.1.x86_64 libssh-config-0.10.6-1.amzn2023.0.1.noarch Removed: libcurl-minimal-8.5.0-1.amzn2023.0.4.x86_64 Complete!
curl
[ec2-user@localhost ~]$ sudo dnf swap curl-minimal curl-full Last metadata expiration check: 20:45:00 ago on Mon Dec 2 02:46:46 2024. Dependencies resolved. ============================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================= Installing: curl x86_64 8.5.0-1.amzn2023.0.4 amazonlinux 373 k Removing: curl-minimal x86_64 8.5.0-1.amzn2023.0.4 @System 284 k Transaction Summary ============================================================================================================================================================= Install 1 Package Remove 1 Package Total download size: 373 k Is this ok [y/N]: y Downloading Packages: curl-8.5.0-1.amzn2023.0.4.x86_64.rpm 3.2 MB/s | 373 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 2.0 MB/s | 373 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : curl-8.5.0-1.amzn2023.0.4.x86_64 1/2 Erasing : curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 2/2 Running scriptlet: curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 2/2 Verifying : curl-8.5.0-1.amzn2023.0.4.x86_64 1/2 Verifying : curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 2/2 Installed: curl-8.5.0-1.amzn2023.0.4.x86_64 Removed: curl-minimal-8.5.0-1.amzn2023.0.4.x86_64 Complete!
ã¾ã ãã¡
ãã¡ã ã£ãã
* Checking for Curl development headers with SSL support... Found: no Error: Cannot find the `curl-config` command.
ãªãã§ããªã¼ãã¨æ©ãã§ãããã©ãã©ãããã libcurl-devel
ãå¿
è¦ãªããããªãããã¨ããçæãåºã¦ããã ã®ã§ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã
[ec2-user@localhost ~]$ sudo dnf install libcurl-devel.x86_64 Last metadata expiration check: 20:54:29 ago on Mon Dec 2 02:46:46 2024. Dependencies resolved. ============================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================= Installing: libcurl-devel x86_64 8.5.0-1.amzn2023.0.4 amazonlinux 927 k Transaction Summary ============================================================================================================================================================= Install 1 Package Total download size: 927 k Installed size: 1.4 M Is this ok [y/N]: y Downloading Packages: libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64.rpm 8.4 MB/s | 927 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 5.3 MB/s | 927 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64 1/1 Running scriptlet: libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64 1/1 Verifying : libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64 1/1 Installed: libcurl-devel-8.5.0-1.amzn2023.0.4.x86_64 Complete!
ç¡äºã§ããã£ã½ãã passenger-install-apache2-module
ããã®éãã ã£ãã
* Checking for Curl development headers with SSL support... Found: yes curl-config location: /usr/bin/curl-config Header location: /usr/include/curl/curl.h Version: libcurl 8.5.0 Usable: yes Supports SSL: yes ... Checking whether there are multiple Apache installations... Only a single installation detected. This is good.
ã¨ã®ãã¨ã ã ãã¨ã¯ CPU ã¶ãåãã¦ã¤ã³ã¹ãã¼ã«ããã ããã¼ããã£ãããã£ãã
ãåãçã«ãªã£ãæãã¬ã¼ã³ãã¨è¨ããããã®ãæ°æã¡æ´ç
ç¥ç¶æ¯ããµãããã£ã¦ã¿ãã¨ã以ä¸ã®ãããªã¹ãã¼ã¿ã¹ã ã£ãã
- ç¶æ¹
- ç¥ç¶ï¼ã¹ã¼ãã¼ã«ãã§æ°´ç°ã«çªã£è¾¼ãã§å身ä¸éã®ã¡èè¡°ãå¿èãæªããé«è¡å§
- ç¥æ¯ï¼èè¡°ãé«è¡å§
- æ¯æ¹
- ç¥ç¶ï¼èã ãå¤§è ¸ã®æ¶åå¨ç³»ããã§éå»
- ç¥æ¯ï¼èããã§èå ¨æåºãåå½
ç¶æ¹ã®ç¥ç¶ãç¹ç°ç¹ããã (åããªããªã£ã¦åå¹´ãããã§ããã¯ãªéã£ã) ã®ã§ãããæ¦ãçã¯æ¶åå¨âçæ®å¨ã®é ã§é«ç¢ºçã§çºçããã ãããã¨ããè¦è¾¼ã¿ãªã®ã§ä»äººäºã§ã¯ãªãã®ã ã£ãã
ã¡ãªã¿ã«ç¶è¦ªããã£ããã¨å¿èãããã»é«è¡å§ãå¼ãç¶ãã§ãããèªåãæ¯å¹´èªè²»ã§åãã¦ããå¥åº·è¨ºæã§ä¸æ´èã»é«è¡å§ã¨ãªãã±ã§é«èè¡çãææããã¦ããã ã°ã¯ã¼ãï¼ï¼
æ¯è¦ªã«ã¤ãã¦ã40代ä¸é ã«åå®®ããï¼è¯æ§ï¼ã§æåºãã¦ããã¯ããªã®ã§ãã¾ãã¾ãåãç¶ãã§çºçãã¦ããã ã°ã¯ã¼ãï¼ï¼
ã¡ãªã¿ã«ç¶æ¹ã®ç¥ç¶æ¯ã¯ãã¡ããã¡ãè¦åè¯ãã£ããããã以å¤ã®è¦ªæã¯è¦åãçµãã£ã¦ããã ã¨ãããã¨ã§ããããã¢ã¸ã¢äººçç¹å¾´ã§ããè² ã®è¦ç´ ãåãç¶ãã§ãããããããã (å¥åº·è¨ºæã§ã) ããããããªâ¦â¦ãã¨ããçæã¯ã¡ãã£ã¨ããã
ã¨ããæãã åå¹´ãããæ´æ°ãé絶ãããå¯ãã¦ãã ããã
ä¿éº
ååè·¯ã«ãªãåã«è²ã å ¥ã£ã¦ããããï¼ ã¨æã£ããã©ãæãæ¨ã¦ã§ãé«ããã ããªâ¦â¦ã¨ããã®ãä¸éä¸è¬ã®ä¿éºä¼ç¤¾ã®å°è±¡ã§ã20代ã®çµããé ã«å¶æ¥ã§ãºã«ãºã«ã¨ãªãã£ã¹å ¥ã£ã¦ãã¦åé¡ã«ãªã£ãææ²»å®ç°ã®å§ã¡ãããæªå°è±¡ã®æºæ³ãªæ°ããã¦ããã
ãããã©ããããè¦ç©ããã ãåºããã¦ã¿ãããã¨ãé¡ãããããå½æã®æåã® 1.5 å²ãããã®ãã®ãåºã¦ãã¦ãããã§ãã ãã¶åã£ããã§ããï¼ãã¨è¨ããã¦è©±ã«ãªããªãã£ãè¨æ¶ãããã
ç¾ä»£ã«ããã¦ã¯é½æ°å ±æ¸ã«å ¥ã£ã¦ãããã©ãããéçã¾ã§èª²éãã¦ã 5000 åãããã®ã¯ããªã®ã§ãéçã¾ã§èª²éãã¦ããã¤ãã§ã«ããã¿ã (coop?) å ±æ¸ãéè¤ãã¦ãã¡ã¦ãããã®ããªãã¨ããæ°ããã¦ããã
é½æ°å ±æ¸ã®ãªã¼ãã¼ã¹ã¼ãã¨ãªã¼ãã¼ã·ã¥ã¼ãº
ã¤ã¼ã¸ã¼ããããã©ã
èå³ãããã®ã§ããããä¸çä½ãããã¨ããæãã§æ°å¹´å¯ããã¦ããã®ã§ãæ¬å½ã«ããï½â¦â¦ããã¼ã£æ°´æ¨æãå®ä¼æ¥ãªã®ã©ï¼ï¼ ã¨ããæãã§ãã£ãã