¸®´ª½º apt-get ¸í·É¾î Áú¹® µå¸³´Ï´Ù.

   Á¶È¸ 5924   Ãßõ 0    

docker 을 사용해서 웹 개발 환경을 만드는 중인데 

php5-mysql 드라이버가 없어서 .. 설치 하려고

apt-get install php5-mysql 을 하니 ..

아파치에서 부터 별 이상한것들이 다 깔리는데 ...

전 필요한건 php5-mysql 입니다...

다른거 필요 없이 php5 만 설치 하는 방법이 있을까요 ?

소스를 다운받아서 .. 컴파일 이런건 안됩니다..

docker 가지고 하는거라 .. 그 안쪽에 컴파일 관련된걸 죄다 설치 해야 해서요 ...

apt-get 로 php5-mysql 만 설치 하는 방법은 없을까요? nginx에 php5-fpm 을 사용하고 있는데 

php5-mysql 을 설치하면 php5-fpm 도 삭제해버리고 아파치를 깔아버려서 난감하네요 .
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
°­Èñȯ 2015-04
ÀÌ»óÇϳ׿ä.
apt-get install php5-mysql Çϸé,
  libmysqlclient18 mysql-common php5-common php5-json php5-mysql
¿ä·¸°Ô À§¿¡°Í¸¸ ¼³Ä¡ÇÏ·Á°í Çϴµ¥¿ä...?
Á¦°¡ Å×½ºÆ®Çغ» ȯ°æÀº ¿ìºÐÅõ 14.04 64bitÀÔ´Ï´Ù.
¹èÆ÷ÆÇ ¹öÀü¿¡ µû¶ó¼­ ÆÐÅ°Áö ÀÇÁ¸¼ºÀÌ ´Ù¸£±â ¶§¹®¿¡ ¹öÀüÀ» ¾Ë·ÁÁÖ¼Å¾ß ÇÒ °Í °°½À´Ï´Ù.
ÀÇÁ¸¼ºÀÌ ¾ø´Â ¹öÀüÀ» »ç¿ëÇÏ½Ã¸é µÉ °Í °°Àºµ¥¿ä? docker·Î ±¸ÃàÇÏ¸é ±×·± ºÎºÐ¿¡¼­ Á¶±Ý ´õ ÀÚÀ¯·Î¿ï °Í °°±¸¿ä.

ÇÏÁö¸¸ »ç¿ëÇÏ·Á´Â ¹èÆ÷ÆÇÀÌ Á¤ÇØÁ® ÀÖ°í, °Å±â¿¡¼­´Â php5-mysqlÀÌ apache°ü·Ã ÆÐÅ°Áö¸¦ ÀÇÁ¸ÇÏ°í ÀÖ´Â °æ¿ì¶ó¸é ¸î°¡Áö ¹æ¹ýÀÌ ÀÖÀ»ÅÙµ¥¿ä.
ÀÏ´Ü ¹«½ÄÇÑ ¹æ¹ýÀ¸·Î ÀÇÁ¸¼ºÀ» ¹«½ÃÇÏ°í ¼³Ä¡ÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
(debÆÄÀÏÀ» ¹Þ¾Æ¼­, sudo dpkg --force-depends -i XXX.deb ÇÏ¸é µË´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº °Ë»öÀ̳ª manÀ» Âü°íÇϼ¼¿ä. ±Ùµ¥ ÀÌ°Ç Â÷ÈÄ¿¡ ¹®Á¦°¡ »ý±æ °¡´É¼ºÀÌ ¸¹½À´Ï´Ù.)

´Ù¸¥ ¹æ¹ýÀ¸·Î´Â ÇÊ¿äÇÑ ÆÄÀÏÀ» ÀçÆÐŰ¡ Çؼ­ .deb ÆÄÀÏÀ» ¸¸µå´Â ¹æ¹ýµµ ÀÖÀ» °Í °°½À´Ï´Ù.
     
±èÁ¦¿¬ 2015-04
oot@651425f76101:/etc# cat os-release
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
root@651425f76101:/etc#

Á¦°Íµµ 14.04ÀÔ´Ï´Ù.
±èÁ¦¿¬ 2015-04
root@651425f76101:/etc/apt# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following package was automatically installed and is no longer required:
  libsystemd-daemon0
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libmysqlclient18 mysql-common php5
  php5-cli php5-common php5-readline
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom ufw
  apache2-utils php-pear php5-user-cache
Recommended packages:
  ssl-cert
The following packages will be REMOVED:
  php5-fpm
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data libapache2-mod-php5 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libmysqlclient18 mysql-common
  php5-mysql
The following packages will be upgraded:
  php5 php5-cli php5-common php5-readline
4 upgraded, 11 newly installed, 1 to remove and 87 not upgraded.
Need to get 6772 kB of archives.
After this operation, 9834 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Àü ÀÌ·¸°Ô ³ª¿À³×¿ä.
     
°­Èñȯ 2015-04
Á¦°¡ Å×½ºÆ®Çغ¸¸é php5-mysql, php5-fpmÇÏ°í apache2´Â ¼­·Î Ãæµ¹ ¾È³ª°Åµç¿ä.
(±âº» OS¸¸ ¼³Ä¡ÇÑ ¿ìºÐÅõ 14.04.1 64bit ¼­¹ö ¹öÀüÀÔ´Ï´Ù.)
ÇöÀç ÆÐÅ°Áö ¼³Ä¡ »óŸ¦ Á¦°¡ ¾Ë ¼ö ¾ø±â ¶§¹®¿¡ ¿ÏÀüÇÑ ÇØ´äÀº ¸øµå¸± °Í °°°í,
¹æ¹ý¸¸ ¸»¾¸µå¸®¸é ¾î¶² ÆÐÅ°Áö ¶§¹®¿¡ ±×·¸°Ô µÇ´ÂÁö ÀÇÁ¸¼º Æ®¸®¸¦ »ìÆ캸¼Å¾ß ÇÒ °Í °°½À´Ï´Ù.
apt-cache show ÆÐÅ°Áö¸í ¸í·ÉÀ¸·Î ÀÇÁ¸¼º °ü°è¸¦ È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.

'4 upgraded, 11 newly installed, 1 to remove and 87 not upgraded.'
±×·±µ¥, À§ ¸Þ½ÃÁö¿¡ 87 not upgraded ¶ó´Â °ÍÀ» º¸´Ï, ÇöÀç ¼³Ä¡µÈ ÆÐÅ°ÁöµéÀÌ ¾÷µ¥ÀÌÆ® µÈÁö ¿À·¡µÈ °ÍÀ¸·Î º¸ÀÔ´Ï´Ù.
apt-get update && apt-get upgrade ¶Ç´Â apt-get dist-upgrade·Î ÆÐÅ°Áö¸¦ ÃֽŠ¹öÀüÀ¸·Î ¸ÂÃç ³õ°í ÇÏ½Ã´Â°Ô ÁÁ½À´Ï´Ù.
±è¼±µ¿ 2015-04
¼Ò½º·Î µû·Î ±ò¾Æ¾ßÇÒ°Å °°Àº´ë¿ä?


QnA
Á¦¸ñPage 3688/5688
2015-12   1537450   ¹é¸Þ°¡
2014-05   5001619   Á¤ÀºÁØ1
2008-04   5920   Á¤ÀºÁØ
2013-12   5920   ȸ¿øK
2005-04   5920   ¼­¿øÅÃ
2008-07   5920   ÀÌ´ëÈñ
2005-03   5920   À±È£¿ë
2012-04   5920   °¡·ç¼Ç
2005-07   5920   ¹ÎºÀ±â
2007-02   5920   À±±ÍÁø
2007-06   5920   ±èÁ¤¿í
2014-10   5920   ±è°Ç¿ì
2009-09   5921   ¾Æ¸§´Ù¿î³ëÀ»
2015-12   5921   Çʸ³
2016-10   5921   À嵿°Ç2014
2016-03   5921   ÃÊÂ¥ÀÔ´Ï´Ù
2005-10   5921   ±è¼ºÁø
2005-10   5921   Á¤¸íÇö
2005-10   5921   ÀÌÇýÁØ
2006-02   5921   ¹ÚÂù¹Î
2009-01   5921   ¾ÈÇü°ï
2011-06   5921   À嵿°Ç2014