Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Ubuntu に MySQL と phpMyAdmin をインストールする
schneemoca
follow
0
8-1-2009 8:00 AM
214 views
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
What Cats Do When Left Home Alone
Hobbits Are a New Human Species, Study of Fossils Concludes
Fear of Fear Itself
A REAL AWWW MOMENT CAUSING PHOTO
The Plan
Rare Photo of Three Amur Leopards Offers Hope for World's Most Endangered Cat
People of Walmart
Heavy Petting
World's Smallest Orchid Discovered (By Accident)
The "Efficiency" of For-Profit Health Care
visit the
Top Clips page
View the Top Clips from
August 1, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/bf5ccb8b-0a77-4343-8adf-db624f272d33/380438D8-EA43-447F-8AFA-E820B90DC1CE/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://d.hatena.ne.jp/hiratake55/20090119/1232363523" href="http://d.hatena.ne.jp/hiratake55/20090119/1232363523" style="font-size: 11px;">d.hatena.ne.jp</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><H3 class="title"><A name="1232363523" href="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><SPAN class="highlight">Ubuntu</SPAN> に <SPAN class="highlight">MySQL</SPAN> と phpMyAdmin をインストールする</A><SPAN class="hatena-star-comment-container"><IMG src="http://s.hatena.ne.jp/images/comment.gif" tabindex="0" alt="Comments" title="Comments" class="hatena-star-comment-button" /></SPAN><SPAN class="hatena-star-star-container"><IMG src="http://s.hatena.ne.jp/images/add.gif" tabindex="0" alt="Add Star" title="Add Star" class="hatena-star-add-button" /><A href="http://s.hatena.ne.jp/F-name/"><IMG src="http://s.hatena.ne.jp/images/star.gif" tabindex="0" class="hatena-star-star" alt="F-name" title="" /></A><A href="http://s.hatena.ne.jp/ICOCO/"><IMG src="http://s.hatena.ne.jp/images/star.gif" tabindex="0" class="hatena-star-star" alt="ICOCO" title="" /></A><A href="http://s.hatena.ne.jp/kitokitoki/"><IMG src="http://s.hatena.ne.jp/images/star.gif" tabindex="0" class="hatena-star-star" alt="kitokitoki" title="" /></A></SPAN></H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><H4>1. <A href="http://d.hatena.ne.jp/keyword/Apache" class="keyword">Apache</A> と <A href="http://d.hatena.ne.jp/keyword/PHP" class="keyword">PHP</A> を<A href="http://d.hatena.ne.jp/keyword/%a5%a4%a5%f3%a5%b9%a5%c8%a1%bc%a5%eb" class="keyword">インストール</A></H4></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><P>すでに<A href="http://d.hatena.ne.jp/keyword/%a5%a4%a5%f3%a5%b9%a5%c8%a1%bc%a5%eb" class="keyword">インストール</A>している場合は 2. へ。</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><PRE>$ sudo apt-get install apache2 php5 libapache2-mod-php5 </PRE></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><H4>2. <A href="http://d.hatena.ne.jp/keyword/MySQL" class="keyword"><SPAN class="highlight">MySQL</SPAN></A> およびその関連パッケージをまとめて<A href="http://d.hatena.ne.jp/keyword/%a5%a4%a5%f3%a5%b9%a5%c8%a1%bc%a5%eb" class="keyword">インストール</A>。</H4></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><P>ついでに <A href="http://d.hatena.ne.jp/keyword/PHP" class="keyword">PHP</A> のよく使うパッケージ類もまとめて<A href="http://d.hatena.ne.jp/keyword/%a5%a4%a5%f3%a5%b9%a5%c8%a1%bc%a5%eb" class="keyword">インストール</A>。</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><PRE>$ sudo apt-get install <SPAN class="highlight">mysql</SPAN>-client <SPAN class="highlight">mysql</SPAN>-server php5-dev php5-cli php5-common php-pear php5-<SPAN class="highlight">mysql</SPAN> php5-mcrypt php5-dev php5-mhash php5-gd php5-xsl php5-xmlrpc </PRE></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><P>急に<A href="http://d.hatena.ne.jp/keyword/%a5%d6%a5%eb%a1%bc%a5%b9%a5%af%a5%ea%a1%bc%a5%f3" class="keyword">ブルースクリーン</A> になって <A href="http://d.hatena.ne.jp/keyword/root" class="keyword">root</A> の<A href="http://d.hatena.ne.jp/keyword/%a5%d1%a5%b9%a5%ef%a1%bc%a5%c9" class="keyword">パスワード</A>を設定するよう促されるので、設定しておく(同じものを 2 回入力)。</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><H4>3. <A href="http://d.hatena.ne.jp/keyword/MySQL" class="keyword"><SPAN class="highlight">MySQL</SPAN></A> の初期設定</H4></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><P><A href="http://d.hatena.ne.jp/keyword/root" class="keyword">root</A> でない一般ユーザを作っておく。</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://d.hatena.ne.jp/hiratake55/20090119/1232363523"><PRE>$ <SPAN class="highlight">mysql</SPAN> -u root -p Enter password: (パスワードを入力) <SPAN class="highlight">mysql</SPAN>> grant all privileges on *.* to (ユーザ名)@localhost identified by '(パスワード)'; Query OK, 0 rows affected (0.00 sec) <SPAN class="highlight">mysql</SPAN>> select user from <SPAN class="highlight">mysql</SPAN>.user where user='(ユーザ名)'; # 登録されたかどうか確認 +------------+ | user | +------------+ | (ユーザ名) | +------------+ 1 row in set (0.00 sec) <SPAN class="highlight">mysql</SPAN>> exit # <SPAN class="highlight">MySQL</SPAN>のコンソールから抜ける Bye </PRE></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/380438D8-EA43-447F-8AFA-E820B90DC1CE/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK