<?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"
	>

<channel>
	<title>Ubuntu</title>
	<atom:link href="http://ubuntu.surfcali.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu.surfcali.com</link>
	<description>Ubuntu Server Notes</description>
	<pubDate>Tue, 28 Oct 2008 04:53:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Upgrade Ubuntu Server</title>
		<link>http://ubuntu.surfcali.com/2008/10/27/upgrade-ubuntu-server/</link>
		<comments>http://ubuntu.surfcali.com/2008/10/27/upgrade-ubuntu-server/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 04:53:14 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<category><![CDATA[Installation]]></category>

		<category><![CDATA[distribution]]></category>

		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/?p=17</guid>
		<description><![CDATA[Upgrading the Ubuntu Server, e.g. from version 8.04 to 8.10:
Step 1. Make sure your current distribution is up-to-date.

# sudo aptitude update
# sudo aptitude upgrade
# sudo aptitude dist-upgrade

Step 2. Perform the upgrade!

sudo aptitude install update-manager-core
sudo do-release-upgrade

]]></description>
			<content:encoded><![CDATA[<p>Upgrading the Ubuntu Server, e.g. from version 8.04 to 8.10:</p>
<p>Step 1. Make sure your current distribution is up-to-date.</p>
<ol>
<li># sudo aptitude update</li>
<li># sudo aptitude upgrade</li>
<li># sudo aptitude dist-upgrade</li>
</ol>
<p>Step 2. Perform the upgrade!</p>
<ol>
<li>sudo aptitude install update-manager-core</li>
<li>sudo do-release-upgrade</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2008/10/27/upgrade-ubuntu-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Display Ubuntu Version</title>
		<link>http://ubuntu.surfcali.com/2008/10/27/display-ubuntu-version/</link>
		<comments>http://ubuntu.surfcali.com/2008/10/27/display-ubuntu-version/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 23:10:46 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/?p=14</guid>
		<description><![CDATA[To display the current Ubuntu version, issue this command from the terminal:
#lsb_release -a
]]></description>
			<content:encoded><![CDATA[<p>To display the current Ubuntu version, issue this command from the terminal:</p>
<p>#lsb_release -a</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2008/10/27/display-ubuntu-version/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Change IP Address</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/change-ip-address/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/change-ip-address/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:06:10 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/change-ip-address/</guid>
		<description><![CDATA[To change IP address, you&#8217;ll need to edit /etc/network/interfaces
#sudo vi /etc/network/interfaces

For static IP addresses:
auto eth0
iface eth0 inet static
address 192.168.0.250
netmask 255.255.255.0
network 192.168.0.0
gateway 192.68.0.1
broadcast 192.168.0.255
For dynamic IP addresses:
auto eth0
iface eth0 inet dhcp

#sudo /etc/init.d/networking restart
]]></description>
			<content:encoded><![CDATA[<p>To change IP address, you&#8217;ll need to edit /etc/network/interfaces<br />
#sudo vi /etc/network/interfaces</p>
<p><span id="more-13"></span></p>
<p>For static IP addresses:</p>
<blockquote><p>auto eth0<br />
iface eth0 inet static<br />
address 192.168.0.250<br />
netmask 255.255.255.0<br />
network 192.168.0.0<br />
gateway 192.68.0.1<br />
broadcast 192.168.0.255</p></blockquote>
<p>For dynamic IP addresses:</p>
<blockquote><p>auto eth0<br />
iface eth0 inet dhcp
</p></blockquote>
<p>#sudo /etc/init.d/networking restart</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/change-ip-address/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setup Admin Password</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/setup-admin-password/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/setup-admin-password/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:05:42 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/setup-admin-password/</guid>
		<description><![CDATA[#sudo passwd root
#su
]]></description>
			<content:encoded><![CDATA[<p>#sudo passwd root<br />
#su</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/setup-admin-password/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Secure MySQL</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/secure-mysql/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/secure-mysql/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:03:37 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/secure-mysql/</guid>
		<description><![CDATA[The default configuration has &#8220;root&#8221; with no password. The following shows you how to lock down MySQL by assigning a password to root and creating a super user with all privileges for administration use.
#sudo mysql -u root -p

mysql&#62; use mysql;
mysql&#62; select user, password, host from mysql.user;
Secure root account.
mysql&#62; set password for &#8216;root&#8217;@'localhost&#8217; = password(&#8217;password&#8217;);
mysql&#62; set [...]]]></description>
			<content:encoded><![CDATA[<p>The default configuration has &#8220;root&#8221; with no password. The following shows you how to lock down MySQL by assigning a password to root and creating a super user with all privileges for administration use.</p>
<p>#sudo mysql -u root -p</p>
<p><span id="more-11"></span></p>
<p>mysql&gt; use mysql;<br />
mysql&gt; select user, password, host from mysql.user;</p>
<p>Secure root account.</p>
<p>mysql&gt; set password for &#8216;root&#8217;@'localhost&#8217; = password(&#8217;password&#8217;);<br />
mysql&gt; set password for &#8216;root&#8217;@'hostname&#8217; = password(&#8217;password&#8217;);<br />
mysql&gt; set password for &#8216;root&#8217;@'127.0.1.1&#8242; = password(&#8217;password&#8217;);<br />
mysql&gt; flush privileges;</p>
<p>Create superuser &#8216;admin&#8217; with all privileges accessible from any host.</p>
<p>mysql&gt; grant all privileges on *.* to &#8216;admin&#8217;@'%&#8217; identified by &#8216;password&#8217; with grant option;<br />
mysql&gt; flush privileges;</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/secure-mysql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install phpMyAdmin</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/install-phpmyadmin/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/install-phpmyadmin/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:03:04 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/install-phpmyadmin/</guid>
		<description><![CDATA[#sudo apt-get install phpmyadmin
]]></description>
			<content:encoded><![CDATA[<p>#sudo apt-get install phpmyadmin</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/install-phpmyadmin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install ProFTP</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/install-proftp/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/install-proftp/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:02:11 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/install-proftp/</guid>
		<description><![CDATA[Install ProFTP
#sudo apt-get install proftpd
Assign no shell access to ftp user. Add to end of file.
#sudo vi /etc/shells
/bin/false

Create user called &#8216;userftp&#8217; with no shell access with default directory of /var/www. This is the home directory of the web server.
#sudo useradd userftp -d /var/www -s /bin/false
Set password to &#8216;userftp.&#8217;
#sudo passwd userftp
Give read and write permissions to [...]]]></description>
			<content:encoded><![CDATA[<p>Install ProFTP<br />
#sudo apt-get install proftpd</p>
<p>Assign no shell access to ftp user. Add to end of file.<br />
#sudo vi /etc/shells</p>
<blockquote><p>/bin/false</p></blockquote>
<p><span id="more-9"></span></p>
<p>Create user called &#8216;userftp&#8217; with no shell access with default directory of /var/www. This is the home directory of the web server.<br />
#sudo useradd userftp -d /var/www -s /bin/false</p>
<p>Set password to &#8216;userftp.&#8217;<br />
#sudo passwd userftp</p>
<p>Give read and write permissions to /var/www directory.<br />
#sudo chmod 777 /var/www</p>
<p>To speed up login, add the following to proftpd.conf.<br />
#sudo vi /etc/proftpd/proftpd.conf</p>
<blockquote><p>UseIPv6       off<br />
ServerType    standalone<br />
UseReverseDNS off<br />
IdentLookups off
</p></blockquote>
<p>Restart ProFTP<br />
#sudo /etc/init.d/proftpd restart</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/install-proftp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install PHP-5 GD Image Library</title>
		<link>http://ubuntu.surfcali.com/2007/06/28/install-php-5-gd-image-library/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/28/install-php-5-gd-image-library/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 07:01:05 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/28/install-php-5-gd-image-library/</guid>
		<description><![CDATA[Install PHP-5 GD Image Library
#sudo apt-get install php5-gd
Restart Apache after install
#sudo /etc/init.d/apache2 restart
]]></description>
			<content:encoded><![CDATA[<p>Install PHP-5 GD Image Library<br />
#sudo apt-get install php5-gd</p>
<p>Restart Apache after install<br />
#sudo /etc/init.d/apache2 restart</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/28/install-php-5-gd-image-library/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install SSH Server</title>
		<link>http://ubuntu.surfcali.com/2007/06/27/install-ssh-server/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/27/install-ssh-server/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 06:59:38 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/27/install-ssh-server/</guid>
		<description><![CDATA[#sudo apt-get install openssh-server
]]></description>
			<content:encoded><![CDATA[<p>#sudo apt-get install openssh-server</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/27/install-ssh-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Start Stop MySQL</title>
		<link>http://ubuntu.surfcali.com/2007/06/27/start-stop-mysql/</link>
		<comments>http://ubuntu.surfcali.com/2007/06/27/start-stop-mysql/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 06:58:44 +0000</pubDate>
		<dc:creator>ulyssesr</dc:creator>
		
		<category><![CDATA[Start Stop]]></category>

		<guid isPermaLink="false">http://ubuntu.surfcali.com/2007/06/27/start-stop-mysql/</guid>
		<description><![CDATA[#sudo /etc/init.d/mysql start
#sudo /etc/init.d/mysql stop
#sudo /etc/init.d/mysql restart
]]></description>
			<content:encoded><![CDATA[<p>#sudo /etc/init.d/mysql start<br />
#sudo /etc/init.d/mysql stop<br />
#sudo /etc/init.d/mysql restart</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.surfcali.com/2007/06/27/start-stop-mysql/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
