<?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>FamousPhil.com Admin Blog and More &#187; administration</title>
	<atom:link href="http://famousphil.com/blog/tag/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://famousphil.com</link>
	<description>My Personal Blog</description>
	<lastBuildDate>Tue, 08 May 2012 03:26:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MySQL Command Line Admin Cheat Sheet</title>
		<link>http://famousphil.com/blog/2010/08/mysql-command-line-admin-cheat-sheet/</link>
		<comments>http://famousphil.com/blog/2010/08/mysql-command-line-admin-cheat-sheet/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 01:28:11 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[cheat]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[interpreter]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://famousphil.com/?p=515</guid>
		<description><![CDATA[Phil created a MySQL Administrator cheat sheet for basic - intermediate command line MySQL administration.]]></description>
			<content:encoded><![CDATA[<h2>Introduction:</h2>
<p>This topic plagues me to death every time I need to do some administrative function MySQL simply because I don&#8217;t do it every day.  I have 3 servers that I manage entirely via the command line now and all 3 require me to know at least some MySQL.  Unfortunately, I always end up going to several sources to get all the information I need.  So instead of doing that in the future, I&#8217;m writing this blog as a centralized reference for everything I need.  Hopefully you can use this blog as much as I will!</p>
<p>Note: You will need to click the &#8220;show code&#8221; icon in the top right corner to view the code entirely for some of the blocks that are longer than the code box.</p>
<p><strong><span style="text-decoration: underline;">POST UPDATED 6/5/2011 (deleting a user / listing users)</span></strong></p>
<p><span id="more-515"></span></p>
<h2>A few side notes:</h2>
<ol>
<li>Hosts: Mysql allows access to certain hosts.  % means allow the user to connect from any computer on the internet that can reach the database server, localhost / 127.0.0.1 both will allow the user to connect only from the local database server.</li>
<li> means you need need to put in the appropriate information</li>
</ol>
<h2>Basic User Commands:</h2>
<pre class="brush: bash; title: Logging into MySQL interpreter via the console (SSH); notranslate">
mysql -u &lt;username&gt; -p
</pre>
<ul>
<li>Login may require -h <server address).  If remotely connecting, verify that port 3306 is allowed through the firewall on your end and the remote database server.</li>
<li>This is done through SSH / the console, not within the MySQL interpreter!</li>
</ul>
<pre class="brush: sql; title: Update a user&#039;s password; notranslate">

update mysql.user set password=PASSWORD(&quot;&lt;new password&gt;&quot;) where User='&lt;username&gt;';
</pre>
<ul>
<li>You don&#8217;t want to use % or other mysql special characters in the password as they will cause you grief when using other commands.</li>
<li>This should be done within the MySQL Interpreter</li>
</ul>
<h2>Backup / Restore Commands:</h2>
<p><strong>These should be done through SSH / the console!  NOT within MySQL&#8217;s interpreter!!!<br />
</strong></p>
<pre class="brush: bash; title: Backup the database server entirely (done as root); notranslate">
mysqldump -u root -p'&lt;mysql root's password&gt;' --all-databases &gt; &lt;filename&gt;.sql
</pre>
<pre class="brush: bash; title: Restore a full MySQL database server backup; notranslate">
mysql -u root -p&lt;Root's Password&gt; &lt; &lt;filename to restore backup with .sql extension&gt;
</pre>
<pre class="brush: bash; title: Backup a single database; notranslate">
mysqldump --user=&lt;username&gt; --password=&lt;password&gt; --databases &lt;database&gt; --opt --quote-names --allow-keywords --complete-insert &gt; &lt;filename&gt;.sql
</pre>
<pre class="brush: bash; title: Restore a single database; notranslate">
mysql -u &lt;username&gt; -p&lt;User's Password&gt; &lt; &lt;filename&gt;.sql
</pre>
<h2>General Administration Commands:</h2>
<p>NOTE: All of these commands should be done within the MySQL interpreter!</p>
<pre class="brush: sql; title: Create a Database; notranslate">

create database &lt;database name&gt;;
</pre>
<pre class="brush: sql; title: Delete a Database; notranslate">

drop database &lt;database name&gt;;
</pre>
<pre class="brush: sql; title: Create a valid username; notranslate">

create user '&lt;username&gt;'@'&lt;allowed hosts&gt;' identified by '&lt;user's password&gt;';
</pre>
<pre class="brush: sql; title: Allow a valid username to connect to a database; notranslate">

grant all on &lt;database name&gt;.* to '&lt;username&gt;'@'&lt;allowed hosts&gt;';
</pre>
<pre class="brush: sql; title: Show valid users on the MySQL Server; notranslate">

select host, user, password from mysql.user;
</pre>
<pre class="brush: sql; title: Delete a valid user from the MySQL Server; notranslate">

delete from mysql.user where user='&lt;username&gt;';
delete from mysql.db where user='&lt;username&gt;';
</pre>
<pre class="brush: sql; title: Flush All the MySQL Privileges (done after any modifications typically); notranslate">

flush privileges;
</pre>
<pre class="brush: sql; title: Exit the Interpreter; notranslate">

exit;
</pre>
<pre class="brush: sql; title: Change a user&#039;s valid connecting hosts; notranslate">

update mysql.user set host=’&lt;allowed hosts&gt;’ where user=’&lt;username&gt;’;
</pre>
<pre class="brush: sql; title: Change the valid connecting hosts on a database; notranslate">

update mysql.db set Host='&lt;allowed host&gt;' where Db='&lt;database name&gt;';
</pre>
<pre class="brush: sql; title: Change the valid connecting hosts on a  database; notranslate">

update mysql.db set Host='&lt;allowed host&gt;' where  Db='&lt;database name&gt;';
</pre>
<pre class="brush: sql; title: Select a Database; notranslate">

use &lt;database name&gt;;
</pre>
<pre class="brush: sql; title: View all the databases on the server; notranslate">

show databases;
</pre>
<pre class="brush: sql; title: List the tables within a selected database; notranslate">

show tables;
</pre>
<pre class="brush: sql; title: Show the format of a table; notranslate">

describe &lt;table name&gt;;
</pre>
<h2><strong>Disclaimer</strong>:</h2>
<p>I may have got a few of these commands incorrect (typo).  If I did, please let me know so I can fix them asap.  If I missed a command that you&#8217;d like, please comment and I will add it.</p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2010/08/mysql-command-line-admin-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Got Exchange Hosting?</title>
		<link>http://famousphil.com/blog/2009/06/got-exchange-hosting/</link>
		<comments>http://famousphil.com/blog/2009/06/got-exchange-hosting/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 04:37:40 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[Mobile Technology]]></category>
		<category><![CDATA[My Site]]></category>
		<category><![CDATA[1and1]]></category>
		<category><![CDATA[3dgwebhosting]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[Admin Reference]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Elite data hosting]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[exchange 2003]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[fsckvps]]></category>
		<category><![CDATA[mailxchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Exchange]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[outlook web access]]></category>
		<category><![CDATA[owa]]></category>
		<category><![CDATA[server 2003]]></category>
		<category><![CDATA[vaserv]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=215</guid>
		<description><![CDATA[In this post, Phil promotes Adminreference.com among other websites.  He also details his exchange installation experience with Microsoft Exchange 2003 and Windows Server 2003.]]></description>
			<content:encoded><![CDATA[<p>First I guess I should apologize for not posting anything in the past week here!  I really hate it when I have to ignore my own blog for more important admin business elsewhere.  The good thing is, I always manage to learn a lot of new stuff that I can easily share <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Over the past week, I got a new server to host Microsoft Exchange which is a powerful email server from Microsoft.  Before you go all crazy on Microsoft (I know I typically do), <strong>Exchange is one of the few excellent products they mak</strong>e.  I am actually very hard pressed to find anything that compares to it that is open source and can easily run on Linux which 99% of  my hosting business up until now has ran off from.  Man, I never thought that I would say that <img src='http://famousphil.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><span id="more-215"></span></p>
<p>So the first logical question is, why move your email to exchange?  As you know, I&#8217;ve had <a href="http://1and1.com">1and1 mailxchange</a> now for quite some time.  I really wanted a solution that would sync my calendar, contacts, tasks, files, and email to every device I use on a daily basis.  <strong>Mailxchange was that solution but there are many problems.</strong> F<strong>irst the web client is very slow</strong>,  sure its flashy, but it takes 5 minutes to load on my connection (that is fairly fast).  I don&#8217;t have the time to wait on this client to load.  <strong>The next problem is it needs custom software to connect to Outlook and Mobile Devices</strong>, I&#8217;m not into installing &#8220;connectors&#8221; to software when it has functionality built in with other products.  <strong>Perhaps one of my biggest problems is the level of support I&#8217;ve gotten from 1and1</strong>.  My mail has gone down on a few occasions and I&#8217;ve been unable to easily send a support ticket in asking what is wrong.  <strong>I&#8217;m not even sure if 1and1 backs up my email</strong> and I have no method of backup, so I&#8217;m kind of stuck if they go down or don&#8217;t back up the server.  Its kind of scary actually since I save all of my email.</p>
<p>So about 2 weeks ago, I started talking to a few friends.  I know that I get a free msdn copy of Microsoft Exchange 2003 and Server 2003 from my University.  I figured if I could find a few friends who were interested in small mailboxes on exchange, I could cover the cost for the hardware to host my copies of this software.  I figured that I could host 4 people and handle a server that costs $25 a month from <a href="http://3dgwebhosting.com">3dgwebhosting</a> which I&#8217;ve had in the past and they run excellent hosting on Windows server 2003.  They cover the license cost, so I&#8217;d only be covering exchange.  The downfall was I would only have 10GB to work with which isn&#8217;t a lot for email and backups.  Because of this, I looked for alternate hosting. <strong> I decided that if I could find xen hosting, xen would support Windows.</strong></p>
<p>About this time when I was looking, I knew that <a href="http://fsckvps.com">http://fsckvps.com</a> who is a child company of <a href="http://vaserv.com">vaserv </a>in England hosted xen vps machines.  I went to that site to look up their support email and found out about the horrible hypervm owner hanging and they were down.  Anxious to get this hosting off the ground, I began looking at alternate places for hosting.  Shortly after, I found good reviews on other blogs of a new hosting company called <a href="http://elitedatahosting.com">Elite Data Hosting</a>.  I contacted them about a 10mbps plan to host exchange on and they got an account for me on a xen vps using my server key.  I&#8217;m basically paying $15 a month for ~325MB of ram and 30GB of hard disk space.  The server is a high end server and I have had no complaints.  They even took the time to install Windows for me from my disk!</p>
<p><strong>Elite Data Hosting is good news for me because I now can have my 2 guaranteed friends and myself have a guaranteed 5GB of space for files / mailboxes a piece</strong>.  It will also be very easy to automate backups of these mailboxes.  <strong>We all split the $5 a month cost for the server so I&#8217;m basically paying what I would be paying 1and1 but I control my backups and have a better piece of mind.</strong></p>
<p><strong>So now I started the daunting task of setting up the Exchange server.</strong> <strong>Normally with Microsoft products, it takes about 5 seconds and about 10 clicks of the next button to install software and another 3 minutes to say configure this software to do this</strong>.  By that point, <strong>everything normally works flawlessly</strong> (except for the occasional crashes of Microsoft Windows). <strong> On linux, there is always a lot of configuration, but linux always works without the crashes and instability.  Perhaps this is the way to tell what is good and bad??? </strong></p>
<p><strong>To get back to Exchange, I must say, this is the hardest piece of software I have ever had to install on both Linux and Windows</strong>.  Part of the reason is the way <strong>Exchange relies on existing Server 2003 infustructure</strong> to improve itself.  I&#8217;m not so sure if I&#8217;d rely on a Windows Server operating system, but I really have no choice with Exchange.  <strong>Exchange requires Active Directory among other server features to run correctly and the prerequisite list is a nightmare to get through in less than 5 hours if you ask me</strong>.  I started with a clean server a week from last Tuesday and didn&#8217;t get Exchange running until about Monday and I had 8 hours a day into it at the very least.  I will take part of the blame for not knowing what I was doing past Active Directory configuration, but<strong> Exchange was no day at the beach to figure out</strong>.  I also had a lot of errors that I spent hours reading about to find simple fixes.  <strong>Finally after all of the struggle, I got exchange fully working to the point where I wanted it about 2 days ago.</strong> During my struggle,<strong> I posted a lot about my solutions on<a href="http://forum.adminreference.com/viewforum.php?f=44"> Admin Reference</a> which is my site where I post solutions to all of my problems</strong>.  I picture it as another *free* experts exchange but more tutorial based than question based.  Maybe some day it will do a little of both <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   That is my goal anyways!</p>
<p>One side note that I should add is, when I first loaded Outlook Web Access, I got a crappy looking interface.  <strong>I found out quickly that Exchange only supports Internet Explorer in its premium interface</strong> (the one that looks nice and loads quick).  Sadly, this is the only reason why I have opened Internet Explorer, and I have found that Firefox can open an IE tab, so I&#8217;ve began using that.  I will also likely find a solution when I migrate completely to Linux (my next upcoming project).</p>
<p>S<strong>o now that Exchange works, what was so difficult? </strong> Most of my difficulty was from <strong>I never managed an exchange server in the past</strong>, and <strong>I couldn&#8217;t find any decent documentation on how to do it.</strong> That is why I posted a lot to Admin Reference unlike I normally would.  <strong>My biggest issue was the domain errors which were caused by firewalls and figuring out how to get Outlook Web Access and Outlook Mobile Access working with SSL encryption</strong>.  I also was not prepared to spend money on an SSL certificate (required by exchange) and provide antivirus / spam scanning to the server.  <strong>I was under the impression that spam/virus protection was built in, but it isn&#8217;t, and the freeware gfi version is no longer free</strong>.  I figured out how to migrate<strong> linux spamassassin to the server</strong> and that is adequate for spam protection <img src='http://famousphil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One last question that I should cover is<strong> why didn&#8217;t I go with Exchange 2007</strong>?  I will admit that Exchange 2007 is very nice software, but there are a few problems:</p>
<ul>
<li>My first issue would be, <strong>Exchange 2007 is really bloated</strong>.  If you compare the 2003 to 2007 installation disks, the 2003 install disk is about 300MB, the 2007 version is closer to 1.7GB.  That is a huge difference, one that I&#8217;m not willing to upgrade for.</li>
<li>My next issue is due to the bloat, <strong>I would need a much powerful server</strong>.  I could upgrade to the 600MB RAM server plan with a 50GB hard disk or so for 30 dollars a month, but then I would have to start hosting more mailboxes than I&#8217;d want to to cover the costs, and I&#8217;m not really into that idea.  I might upgrade for 2003 if people are interested and it won&#8217;t take too many server resources or hurt my rigged spam fighting solution, but that is a decision that I&#8217;d rather not make now since it works perfectly as is!</li>
<li>My final issue is, <strong>newer software normally sucks.  I always wait for at least Service Pack 1 (2 if possible) until I start using a product mainstream</strong>.  Exchange 2003 is at SP2 while Exchange 2007 is at SP1.  With other Microsoft software, I&#8217;ve found that when I compare a fresh install of Server 2003 to Server 2008:<strong> Microsoft Server 2003 with a GUI</strong> (Graphical User Interface or your windows desktop) <strong>uses 400MB on a new install</strong>, while the <strong>Microsoft Server 2008 Core Edition (no desktop, strictly command line to reduce bloat) uses 800MB</strong> <strong>on a new install with nothing configured</strong>.  This is a huge jump and <strong>I have a feeling that Exchange 2003-2007 will be very similar</strong> (<strong>the requirements for 2003 is 256MB of ram, 2007: 2GB of ram</strong>).  <strong>BIG DIFFERENCE, huh!</strong></li>
</ul>
<p>All in all, I figure I am paying about $200 bucks total for my new email solution, but my friends really do help cut the cost down to where I can happily afford it.  I still have 1 slot open but have a feeling that will be closed before long.  For a private email server, <strong>I consider it an excellent learning experience, and a good way to get some good content on Admin Reference! </strong>Hopefully you got some helpful tips out of this.</p>
<p><strong>One final note:  I&#8217;d like to put a plug out there to any other system admins</strong>.  <strong>If you are like me, you are always running into new problems that don&#8217;t have easy solutions</strong>.  <strong>Why not take a few minutes when you find the answer and post it to Admin Reference?  Maybe someday you will look back on it (I know I have) and say thats how to fix it</strong>!  Someday when it gets a little more material, I plan on integrating the forum into a wiki that is easily searachable for solutions to problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/06/got-exchange-hosting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>my biggest blunder as a system admin</title>
		<link>http://famousphil.com/blog/2009/04/my-biggest-blunder-as-a-system-admin/</link>
		<comments>http://famousphil.com/blog/2009/04/my-biggest-blunder-as-a-system-admin/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:57:00 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[blunder]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[var]]></category>
		<category><![CDATA[var/lib/mysql]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=98</guid>
		<description><![CDATA[Phil discusses the time when he removed mysql from a production server with over 100 clients on it.]]></description>
			<content:encoded><![CDATA[<p>A good place to introduce this topic is by stating that I consider myself a &#8220;good&#8221; system administrator.  I consider myself above average when it comes to Windows Server administration, and &#8220;average&#8221; when it comes to Linux server administration.  Normally, regardless of platform (Linux or Windows), I usually know enough not to get myself into trouble, yet rectify the problem that is presented to me.</p>
<p>Prior to last October (2008), I have solved a wide array of problems consisting of Apache malfunctions and complete Server Hard Drive failures requiring data recovery, to simply having to unblock a person&#8217;s ip address from the firewall because they tried to login to the server incorrectly too many times.  I never really messed a server up so badly that I couldn&#8217;t undo what I attempted to fix in the first place.</p>
<p><span id="more-98"></span></p>
<p>The biggest problem that I have ever had up until October 2008 was with an email server&#8217;s outgoing email queue.  All email that was sent from this server would always be refused by other popular mail servers on the internet due to it not having the correct configuration.  I never did figure out that error, and instead I changed the software that manages the email server from <a href="http://lxlabs.com">LXAdmin</a> to <a href="http://www.cpanel.net">CPanel</a>.  This fixed the problem, I never did understand why the server wouldn&#8217;t send, but CPanel fixed my mail problems and so many other problems that I sort of fixed on LXAdmin but didn&#8217;t really have a long term solution for.</p>
<p>Now that I have blabbed on enough about my experience, lets get to this blunder (I&#8217;m sure I&#8217;ve posted about it elsewhere, but I don&#8217;t recall putting it here).  In October, Justin, a good friend who runs <a href="http://www.amphosted.com">AmpHosted</a> came to me (this wasn&#8217;t the first time incase you are wondering) asking about some sort of tiny problem that he was somewhat unsure of how to fix, but he had the right idea and I confirmed it.  He also asked me how to free up space on the linux /var directory since his was getting pretty full.  I&#8217;m not sure how the conversation went anymore, however I know that there were a few possible solutions.</p>
<p>My first goal was to free up enough space so that the /var partition wouldn&#8217;t overflow and risk crashing the server.  Server crashes can be costly, and Justin was in no mood to lose money as a president of a strengthening hosting company.  So I began googling to figure out what log files were safe to delete.  I know that linux has a lot of log files that cannot be deleted safely, and I was finding these so I would know not to delete them.</p>
<p>My second goal was to have this partition expanded from free space on the other partitions so that the problem would have a more permanent solution (which did happen in November).</p>
<p>I then noticed that one of the mysql directories was using most of the space.  I quickly did a google search and read that it was safe to delete a mysql log directory.  Unfortunate for me, I only saw what I wanted to see, and didn&#8217;t read the article thoroughly. <strong> Needless to say, I wiped out the /var/lib/mysql directory from his server, effectively freeing up a lot of disk space on the /var partition, and also wiping out the mysql server and all of the database files. </strong>On top of this, when I began looking for the backup files to quickly restore the databases within an hour, I found out quickly that some of the <strong>backups were corrupt</strong> and others non existant.  After restoring most of the server, one client lost a month of data and I felt horrible!</p>
<p>Since then, my admin buddies still push that blunder in my face.  I&#8217;m not entirely sure why because I still feel sorry for Justin.  I have also started taking the time to read what is safe to remove and not so I don&#8217;t accidently do something that bad again.  A mistake like that could have costed me my job or a pay cut if I was working directly for a big time hosting company, even if I did have 10 to 15 years of experience.</p>
<p>Since then, when it comes to matthouse and my own hosting company, or when I&#8217;m helping Justin, I always make sure to double check that I&#8217;m right before I proceed.  I know that I&#8217;m now slower, but I also have made changes to my procedures to make them more safe, sacraficing speed in my repairs.</p>
<p>I feel that I should write this blog for 2 reasons, 1. to make it known that I DO make mistakes and I&#8217;m not perfect, and also, I hope that anyone who reads this blog will make sure to check twice before doing an operation that is not reversable (at least easily).</p>
<p>I will be taking a system administration course next semester which is linux based with a FreeBSD pioneer teaching that course.   The final reason why I wrote this was to say how good of an Admin I consider myself now, so that after that course, I can re-rate myself and hopefully talk about a lot of my experiences in that class.</p>
<p>One final note, I&#8217;m still working on adminreference.com, and I will probably start posting more recent knowledge that I&#8217;ve acquired in the near future after this final week of college classes and work.</p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/04/my-biggest-blunder-as-a-system-admin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Server Move Complete!</title>
		<link>http://famousphil.com/blog/2009/01/server-move-complete/</link>
		<comments>http://famousphil.com/blog/2009/01/server-move-complete/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 22:10:09 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[Hosting / Server Administration]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Server Hosting]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=13</guid>
		<description><![CDATA[Phil has moved his hosted websites successfully.  Phil also introduces a new website idea that will be taking off in a few weeks called http://adminreference.com]]></description>
			<content:encoded><![CDATA[<p>As expected, I completed moving all of the websites hosted on the former mthsweb1 (Matthouse Web Server 1) server over to the new mthsweb4 server.  I haven&#8217;t heard any complaints so far about the new server so far and don&#8217;t expect to hear of any problems.  Tonight I will be doing some testing on the old matthouse web 1 server before it expires later in February.  I hope to learn some new knowledge from my testing later tonight regarding apache optimization.</p>
<p>Earlier today, I helped a friend in the hosting business move a massive website (<a href="http://clevelandleader.com" target="_blank">http://clevelandleader.com</a>) from his server to a virtual server that will just host that website.  This website is ranked ~76,000 on the alexa scale which means that it gets an insane amount of traffic.  My best guess would be 300 to 1500 loads per second.  The site itself has a huge mysql database that is over 2GB and the sql move alone almost crashed a dedicated server with a quadcore processor (it did have a lot of other websites on it though).  Regardless, after the move, my friend didn&#8217;t realize that a default whm (cpanel, inc) installation doesn&#8217;t optimize the server nearly enough for a large website like this.  Heck, I don&#8217;t even know if whm was made for such a large website.  I did optimize the server and compile apache correctly just to handle the needs of clevelandleader.com.  I also did a lot to prevent apache from crashing with the high load.</p>
<p>Traditionally, with such a large website such as cleveland leader, the web server hosting the site would only run a web server, no overhead like cpanel.  I feel that cpanel has made the hosting process much easier, but I just don&#8217;t think it was made to handle such a large website.   Also, the fact that cpanel uses the root password directly means that if there is a security vulnerability and the user obtains that root password through hacking or whatever, the server could be compromised not only from cpanel&#8217;s whm but also from the terminal through ssh (or a rare occasion of console access, meaning sitting in front of the server physically).  This could present a major problem.  Most smart hosting companies use cpanel&#8217;s wheel group to give su access to certain cpanel uesrs that can then login to the terminal via ssh and then su root with the root password to gain root.  This provides a 2 password layer and adds an additional layer of security to the server.</p>
<p>Another pitfall that large websites face is the need for a dedicated mysql server, that is if mysql can even handle the load.  Mysql was made for small to medium sites and it was made for maybe 100 to 200 queries per second, but much more than that and it undergoes a massive strain.  Many large websites find themselves moving to more powerful database servers such as Microsoft SQL or Oracle which are much more powerful solutions that were made for high loads.</p>
<p>So why am I even talking about this!  I felt that this would be the best way to introduce a new idea that I&#8217;m going to begin working on within the next couple of weeks.  I have purchased the domain (<a href="http://adminreference.com">http://adminreference.com</a>) and will begin a forum where users can share their administration experience and knowledge to the world.  I am a seasoned Windows administrator and a somewhat experienced Linux admin.  I find myself knowledgable about both server operating systems and I post tutorials on multiple websites that don&#8217;t really aim for administration concepts.  I also hope that some day this can help me when I am stuck on a massive problem.</p>
<p>I encourage you to stay informed as I begin this new journey.  I will likely be ready to release the site sometime in the next couple of weeks.  I am not sure how to market such a website, however I&#8217;m sure as people begin coming, someone will have knowledge about that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/01/server-move-complete/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: famousphil.com @ 2012-05-22 18:24:54 by W3 Total Cache -->
