This guide provides full instructions in building a LAMP stack on an Amazon Linux EC2 instance. Besides software installation & configuration, it includes steps on setting up storage, auto-start, security configuration and performance enhancement For developers looking for a CentOS 5 AMI, Amazon Linux provides one of the best CentOS implementation Building Amazon EC2 with Amazon Linux AMI (CentOS
I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using sudo apt-get phpmyadmin but the command apt-get is not recognized. I also tried sudo yum install phpmyadmin but that I get the message No package phpmyadmin available. Any suggestions on what I am doing wrong?
I am trying to install PHP APC with the following command with the new Amazon Linux AMI. Unfortunately, the build failed. sudo yum install php-devel php-pear httpd-devel sudo yum install gcc sudo pecl install apc sudo pecl install apc-beta (I also tried this) Error: /var/tmp/APC/php_apc.c:959: error: duplicate 'static' make: *** [php_apc.lo] Error 1 ERROR: `make' failed
CentOS5.5に用意されているPHPは5.1なので、phpMyadmin等のプログラムの最新版が利用できません。 よってPHPのバージョンを5.3に今回はあげます。 今回epelのレポジトリが壊れていたりして、苦戦したので、後の人のために顛末を書いておきます。 では早速とりかかりましょう。 既存のPHPがyum等でインストールされている場合は、 #yum remove php等をして削除しておきます。 まずはRPMのパッケージREMIを追加します。 wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release
Linux備忘録&ちょっと休憩しましょ PC-UNIX創成期はFreeBSDを使ったりしていました。今のように簡単に設置はできず、すべてソースからのコンパイルだったので、起動した時はちょっと感動。 その後、opensuselinux10.1を使ったりしましたが、現在はCentOSが基本です。やっぱり簡単・便利。でも、メジャーバージョンアップの度にsysconfigあたりが変わるのには閉口ですね。 そのCentosも終わったし、Alma?Rocky?MIRACLE? それともDebian系? yumではインストールできなかった(ない!)ので、RPMforgeリポジトリを使用する。 # rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 通常は使用
ホーム » CentOS 5.5 + memcached がインストールできないCentOS 5.5 + memcached がインストールできない2010/11/30 火曜日2021/01/03 日曜日5件のコメントDIY, Linux,freebsd CentOS release 5.5 (Final) Linux ******** 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux こんな環境下で memcached を yum で導入しようとするとエラーしてインストールがコケます。 Setting up Install Process Resolving Dependencies –> Running transaction check —> Package memc
yanzmさんのメルマガで紹介されていたアプリのソースを見ようとしたらよく知らない「hg」コマンド(通称:ハゲコマンド)が必要だったのでさくらVPSのCentOS5.5にインストールしてみたよ # wget http://peak.telecommunity.com/dist/ez_setup.py # ls ez_setup.py # python ez_setup.py # easy_install -U mercurial error: Setup script exited with Python headers are required to build Mercurial # yum install python-devel # easy_install -U mercurial # hg -v Mercurial Distributed SCM (version 1.8.4)
?か月ぶりのブログ1発目は軽めなところで git環境を作ってみます。 といっても、まずはインストールでつまづいたので そこからメモメモ gitは通常のcentosのリポジトリにはないので ググったら出てきたとおりにリポジトリを追加して入れてみました! 以下が手順です。 導入手順 DAGのリポジトリをyum設定ファイルに追加 vim /etc/yum.repos.d/CentOS-Base.repo [dag] name=Dag RPM Repository for Redhat EL5 baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt yumでインストール y
※要 php-devel、ImageMagick、ImageMagick-devel も必要。 imagick-0.9.11.tgz を http://pecl.php.net/package/imagick からダウンロードする。 # cd /usr/include/php/ext/ # tar zxvf imagick-0.9.11.tgz # cd /usr/include/php/ext/imagick-0.9.11 # phpize # ./configure # make # make installこれで、/usr/lib/php4/ の下に、imagick.so がコピーされる。 etc/php.ini を以下のように書き換える。 extension_dir = /usr/lib/php4 extension=imagick.so
centosplusの利用 リポジトリ情報を編集。 # vi /etc/yum.repos.d/CentOS-Base.repo 該当箇所を探して、「enabled=0」を「enabled=1」に変更 ... [centosplus] ... enabled=0 ← 1に変更 ... ▲ ▼ EPELの利用 EPEL(Extra Packages for Enterprise Linux)は、 Fedoraプロジェクトで開発・テストされたパッケージを RHELやCentOSで利用できるようにしたパッケージ群。 まずは公開鍵を取得。 # rpm --import http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL つぎに、EPELを導入。 # rpm -Uvh http://download.fedora.redhat.
[追記 2012/06/18] リンクが切れています。以下のページも参照ください。 yumでpgpool-IIをインストール - 2012年版 - ZeBeVogue別館 レンタルサーバでCentOSを使ってて、pgpool-IIをインストールする事になったのだけど、標準のyumのリポジトリだとyum installができない。 configure/make/make installでも良いのだけど、パッケージ管理ツールがあるのだから、それを使わない手はない。インストールだけじゃなく、色々楽できるしね。 という事でまとめておく。 リポジトリを追加する http://yum.pgsqlrpms.org/reporpms/repoview/letter_p.group.htmlからディストリビューションとバージョンに適合したRPMを取得する。 今回はPostgreSQLのバージョンは8.1系を
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]
■ fastestmirrorとは・・・ fastestmirrorとはパッケージダウンロードサイト(ミラーサイト)より最速サイトを自動検知して、そのサイトよりパッケージをダウンロードするプラグインです。 ■ yum plugin「fastestmirror」のインストール 「fastestmirror」のインストール 【FedoraCore5 から Fedora10 / CentOS5 の場合】 # yum -y install yum-fastestmirror 【Fedora11 以降 / CentOS4 / CentOS6 の場合】 # yum -y install yum-plugin-fastestmirror
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く