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

   Á¶È¸ 5868   Ãßõ 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 2022/5683
2015-12   1491464   ¹é¸Þ°¡
2014-05   4954967   Á¤ÀºÁØ1
2008-02   5855   ¹æÈ¿¹®
2006-01   5855   ȲÀϱ¸
2005-11   5855   À̼ºÁØ
2007-09   5855   ¹æÈ¿¹®
2016-06   5855   Christopher
2019-04   5855   ±¼··¼è
2005-05   5855   ÃÖ¿ë¼®
2008-08   5855   À±¿µ¹è
2012-11   5855   ½ºÇÁ·¹ÀÌ
2006-06   5855   ¹Ú¿ë¼±
2013-04   5855   ¸Ó¶óÄ«´Âµ¥
2014-07   5855   Å×µ¹¾ÆÀÌ
2008-06   5855   Çѵ¿ÈÆ
2006-02   5855   ÀÌ»ó¿­
2016-02   5855   ÃÖÀçÀº
2016-04   5855   ±è¿ìÁø
2006-01   5855   ±è°Ç¿ì
2008-01   5855   ¹ÚÁØ¿ë
2005-10   5855   ±è¿µ±¤
2006-03   5855   ³ëÇϼ®