<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>潘锦的空间 &#187; ubtuntu系统安装</title>
	<atom:link href="https://www.phppan.com/tag/ubtuntu%e7%b3%bb%e7%bb%9f%e5%ae%89%e8%a3%85/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.phppan.com</link>
	<description>SaaS SaaS架构 团队管理 技术管理 技术架构 PHP 内核 扩展 项目管理</description>
	<lastBuildDate>Sat, 25 Apr 2026 00:56:17 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>ubuntu9.10安装 备忘</title>
		<link>https://www.phppan.com/2010/01/ubuntu9-10-install-backup/</link>
		<comments>https://www.phppan.com/2010/01/ubuntu9-10-install-backup/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 02:25:01 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[程序相关]]></category>
		<category><![CDATA[ubtuntu系统安装]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.phppan.com/?p=513</guid>
		<description><![CDATA[ubuntu9.10安装 备忘 人生的意义在于折腾，生命不止，折腾不止 于是在体验了一把window7后，又把 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>ubuntu9.10安装  备忘</p>
<p>人生的意义在于折腾，生命不止，折腾不止<br />
于是在体验了一把window7后，又把自己的开发环境换到了ubuntu下，安装完系统后安装一些常用软件及开发环境</p>
<p>1、安装kupfer:  sudo apt-get install kupfer<br />
2、终端命令 xfce下面是Alt+F2,输入 xfce4-terminal          GNOME下也是Alt+F2，输入gnome-terminal<br />
3、安装esvn:<br />
    sudo apt-get install esvn<br />
4、安装nginx+php  移步：<a href="http://www.linuxidc.com/Linux/2008-07/14419.htm">http://www.linuxidc.com/Linux/2008-07/14419.htm</a></p>
<p>QUOTE:<br />
php-cgi: /usr/bin/php-cgi<br />
php5-cgi: /usr/bin/php5-cgi<br />
cgi config: /etc/php5/cgi/php.ini</p>
<p>conf: /etc/nginx/nginx.conf<br />
bin：/usr/sbin/nginx<br />
vhost: /etc/nginx/sites-enable/default<br />
cgi-params: /etc/nginx/fastcgi-params</p>
<p>spawn-fcgi -a 127.0.0.1 -p 9000 -C 5 -u www-data -g www-data -f /usr/bin/php-cgi<br />
sudo /etc/init.d/nginx start</p>
<p>5、安装gvim :   sudo apt-get install gvim<br />
6、chm阅读器： sudo apt-get install chmsee (不支持索引查找，针对一些本身有乱码的，但是在window下可以正常查看的文件不能正常显示)</p>
<p>命令备忘：<br />
1、sudo fdisk -l 查看磁盘信息(此处需要使用sudo,否则权限不够，不会看到任何信息)<br />
2、mount -t vfat /dev/sda5 /media/windows -o codepage=936,iocharset=utf8</p>
]]></content:encoded>
			<wfw:commentRss>https://www.phppan.com/2010/01/ubuntu9-10-install-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu系统安装和lamp安装</title>
		<link>https://www.phppan.com/2009/08/ubuntu-install-and-lamp-install-config/</link>
		<comments>https://www.phppan.com/2009/08/ubuntu-install-and-lamp-install-config/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 11:24:15 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[程序相关]]></category>
		<category><![CDATA[apache mysql php]]></category>
		<category><![CDATA[lamp安装]]></category>
		<category><![CDATA[ubtuntu系统安装]]></category>

		<guid isPermaLink="false">http://www.phppan.com/?p=164</guid>
		<description><![CDATA[ubuntu系统安装和lamp安装 前些日子一直在XP和windows7下徘徊，觉得windows7很帅，但是 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>ubuntu系统安装和lamp安装<br />
前些日子一直在XP和windows7下徘徊，觉得windows7很帅，但是有些慢，特别是装了apache后运行PHP巨慢<br />
所以重装了系统，在周末给自己装了XP和utunbu双系统。总共整了两天，才算是系统装好，这还不包括那些特效之类的东东<br />
第一步，下载官方网站的iso文件，<a id="hp40" title="http://www.ubuntu.org.cn/getubuntu/download/" href="http://www.ubuntu.org.cn/getubuntu/download/">http://www.ubuntu.org.cn/getubuntu/download/</a><br />
第二步，可以选择硬盘安装，也可以选择光盘安装，<br />
硬盘安装，出于节省的目的，我开始选择的从硬盘安装，在google狂搜后找到相关的说明，使用CRUB等，参照<a id="srex" title="http://forum.ubuntu.org.cn/viewtopic.php?f=77&amp;t=217161" href="http://forum.ubuntu.org.cn/viewtopic.php?f=77&amp;t=217161">http://forum.ubuntu.org.cn/viewtopic.php?f=77&amp;t=217161</a><br />
依据这样做我可以看到安装的界面，并且到了第三步和第四步之间，即选择了键盘布局之后，就一直停在那，不动了，我以为安装失败了在  <a id="a1f1" title="http://hi.baidu.com/serial_story/blog/item/90ddb8946900f617d31b70ca.html" href="http://hi.baidu.com/serial_story/blog/item/90ddb8946900f617d31b70ca.html">http://hi.baidu.com/serial_story/blog/item/90ddb8946900f617d31b70ca.html</a>有说是可能硬盘文件太多导致的。所以我选择从光盘安装，结果失败<br />
光盘安装，  在这里我选择使用nero烧录，光盘录制好后，重启，从光盘启动安装，与从硬盘安装一样，到了扫描硬盘后就无法进行下去了，结果失败<br />
使用wubi安装，但是在进行在快要完成的时候，它又不动了，怎么办呢？google吧，网上有人说是语言，是网络的问题，于是我把网络关掉，语言换成English<sub>,</sub>结果仍然是失败，与硬盘安装<br />
如出一辙。但是在一次次尝试过程中，有一次使用wubi时，没有把光盘拿出来，结果它装好了，而且还跑得不错。RP啊</p>
<p>安装好ubuntu后，咱得搞点开发环境了，于是lamp就提上了日程，一开始我使用源码安装，那个痛苦啊，不好说，主要是以前没有用过linux,所以。。。<br />
痛定思痛后，改使用apt-get安装</p>
<h2>buntu下安装 apache+php+mysql</h2>
<p>sudo apt-get install mysql-server mysql-client</p>
<p><span style="font-family: Courier New;">sudo apt-get install apache2</span></p>
<p><span style="font-family: Courier New;">sudo apt-get install php5 libapache2-mod-php5</span></p>
<p><span style="font-family: Courier New;">sudo /etc/init.d/apache2 restart</span></p>
<p>在地址栏中输入http://loalhost/<br />
如果可以看到显示</p>
<h1>It works!</h1>
<p>则表示apache安装成功！</p>
<p>在/var/www/目录下新建一个PHP文件，在里面写入</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="php" style="font-family:monospace;">＜?PHP
phppath<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>如果有显示PHP相关信息，则表示php和apache安装整合成功，</p>
<p>如果要把mysql的datadir换一个地方，请移步<a id="a66c" title="http://forum.ubuntu.org.cn/viewtopic.php?f=44&amp;t=172891" href="http://forum.ubuntu.org.cn/viewtopic.php?f=44&amp;t=172891" target="_blank">http://forum.ubuntu.org.cn/viewtopic.php?f=44&amp;t=172891</a>的第6楼</p>
<p>附：</p>
<p><span style="font-family: Courier New;">sudo /etc/init.d/apache2 restart （重启 apache）</span></p>
<p><span style="font-family: Courier New;">sudo /etc/init.d/mysql restart (重启mysql)<br />
</span></p>
<p><span style="font-family: Courier New;">sudo gedit /etc/php5/apache2/php.ini （配置 php.ini）</span></p>
<p><span style="font-family: Courier New;">sudo gedit /etc/apache2/apache2.conf （配置 apache2.conf）</span></p>
<p><span style="font-family: Courier New;">/var/www/（主目录位置）</span></p>
<p>另：<br />
ubuntu发行版本的主配置文件是：</p>
<p>apache2.conf</p>
<p>在apache2.conf引用到了以下文件：</p>
<p># 包含动态模块的配置:</p>
<p>Include /etc/apache2/mods-enabled/*.load</p>
<p>Include /etc/apache2/mods-enabled/*.conf</p>
<p># 包含用户自己的配置:</p>
<p>Include /etc/apache2/httpd.conf</p>
<p># 包含端口监听的配置:</p>
<p>Include /etc/apache2/ports.conf</p>
<p># 包含一般性的配置语句片断:</p>
<p>Include /etc/apache2/conf.d/</p>
<p># 包含虚拟主机的配置指令:</p>
<p>Include /etc/apache2/sites-enabled/</p>
<p>修改httpd.conf</p>
<p>增加以下内容：</p>
<p>ServerName 127.0.0.1:80</p>
]]></content:encoded>
			<wfw:commentRss>https://www.phppan.com/2009/08/ubuntu-install-and-lamp-install-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
