<?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>Jamie Le Souef&#187; All posts filed under Server</title> <atom:link href="http://jamielesouef.com/tag/server/feed/" rel="self" type="application/rss+xml" /><link>http://jamielesouef.com</link> <description>website . blog . graphic design</description> <lastBuildDate>Sat, 31 Jul 2010 17:48:00 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Linux Tip : Sorry, sudo must be setuid root</title><link>http://jamielesouef.com/linux/linux-tip-sorry-sudo-must-be-setuid-root/</link> <comments>http://jamielesouef.com/linux/linux-tip-sorry-sudo-must-be-setuid-root/#comments</comments> <pubDate>Fri, 19 Sep 2008 01:11:37 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Root]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[SSH]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Tips]]></category><guid isPermaLink="false">http://jamielesouef.com/?p=411</guid> <description><![CDATA[ This was driving me batty. I had an issue with one of my linux webservers and it needed to be restored from a backup. Upon restoring the linux server I found my account that I had setup for sudo access no longer would accept the &#8217;sudo su&#8217; command or any sudo command for that matter. [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Flinux-tip-sorry-sudo-must-be-setuid-root%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Flinux-tip-sorry-sudo-must-be-setuid-root%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>This was driving me batty. I had an issue with one of my linux webservers and it needed to be restored from a backup. Upon restoring the linux server I found my account that I had setup for sudo access no longer would accept the &#8217;sudo su&#8217; command or any sudo command for that matter. I was getting and error that read &#8220;<strong>Sorry, sudo must be setuid root</strong>&#8220;.</p><p>As I had <a title="Linux Security : Can you SSH as root?" href="http://jamielesouef.com/linux/linux-security-can-you-ssh-as-root/">removed the root account from accessing ssh</a> I had to log into the physical server (lucky it&#8217;s just next to me!)</p><p>It turns out for some reason after the restore sudo had the wrong permissions.</p><p>To fix it was quite simple but took me ages to track down! (Helps if you know exactly what to search for)</p><p>I logged in as root and entered the following</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">4111</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sudo</span></pre></div></div><p>All was fine in the land of oz after that!</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/linux/linux-tip-sorry-sudo-must-be-setuid-root/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Vim Editor : 100 commands every admin should know</title><link>http://jamielesouef.com/linux/vim-editor-100-commands-every-admin-should-know/</link> <comments>http://jamielesouef.com/linux/vim-editor-100-commands-every-admin-should-know/#comments</comments> <pubDate>Sat, 30 Aug 2008 22:30:41 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Code]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Vim Editor]]></category><guid isPermaLink="false">http://jamielesouef.com/linux/vim-editor-100-commands-every-admin-should-know/</guid> <description><![CDATA[First I must say that I do not like the Vi editor - I'm a Nano man myself. I might not be hardcore Linux enough (yet) to really appreciate it. One of the things that drives me nuts about it is that its not intuitive or like any other editor- but i guess that's what makes it so powerful!.I came accors this fanastic article by jbj over at Cats Who Code that details 100 Vi commands to help you get the most out of the editor and with there permission i've re produced it here.]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Fvim-editor-100-commands-every-admin-should-know%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Fvim-editor-100-commands-every-admin-should-know%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>First I must say that I do not like the Vi editor &#8211; I&#8217;m a Nano man myself. I might not be hardcore Linux enough (yet) to really appreciate it. One of the things that drives me nuts about it is that its not intuitive or like any other editor- but i guess that&#8217;s what makes it so powerful!.</p><p>I came across this fanatic article by <a title="100 Vim commands every programmer should know" href="http://www.catswhocode.com/blog/web-development/100-vim-commands-every-programmer-should-know-11" target="_top">jbj</a> over at <a title="Cats Who Code" href="http://www.catswhocode.com/blog/web-development/100-vim-commands-every-programmer-should-know-11" target="_top">Cats Who Code</a> that details 100 Vi commands to help you get the most out of the editor and with there permission I&#8217;ve re produced it here.</p><p>Enjoy</p><h3>Search</h3><ul><li><strong>/word</strong> Search “word” from top to bottom</li><li><strong>?word</strong> Search “word” from bottom to top</li><li><strong>/jo[ha]n</strong> Search “john” or “joan”</li><li><strong>/\&lt;the</strong>Search “the”, “theatre” or “then”</li><li><strong>/the\&gt;</strong> Search “the” or “breathe”</li><li><strong>/\&lt; the\&gt;</strong> Search “the”</li><li><strong>/\&lt; ….\&gt;</strong> Search all words of 4 letters</li><li><strong>/\/</strong> Search “fred” but not “alfred” or “frederick”</li><li><strong>/fred\|joe</strong> Search “fred” or “joe”</li><li><strong>/\&lt;\d\d\d\d\&gt;</strong> Search exactly 4 digits</li><li><strong>/^\n\{3}</strong> Find 3 empty lines</li><li><strong>:bufdo /searchstr/</strong> Search in all open files</li></ul><h3>Replace</h3><ul><li><strong>:%s/old/new/g</strong> Replace all occurences of “old” by “new” in file</li><li><strong>:%s/old/new/</strong>gw Replace all occurences with confirmation</li><li><strong>:2,35s/old/new/g</strong> Replace all occurences between lines 2 and 35</li><li><strong>:5,$s/old/new/g</strong> Replace all occurences from line 5 to EOF</li><li><strong>:%s/^/hello/g</strong> Replace the begining of each line by “hello”</li><li><strong>:%s/$/Harry/g</strong> Replace the end of each line by “Harry”</li><li><strong>:%s/onward/forward/gi</strong> Replace “onward” by “forward” , case unsensitive</li><li><strong>:%s/ *$//g</strong> Delete all white spaces</li><li><strong>:g/string/d</strong> Delete all lines containing “string”</li><li><strong>:v/string/d</strong> Delete all lines containing which didn’t contain “string”</li><li><strong>:s/Bill/Steve/</strong> Replace the first occurence of “Bill” by “Steve” in current line</li><li><strong>:s/Bill/Steve/g</strong> Replace “Bill” by “Steve” in current line</li><li><strong>:%s/Bill/Steve/g</strong> Replace “Bill” by “Steve” in all the file</li><li><strong>:%s/\r//g</strong> Delete DOS carriage returns (^M)</li><li><strong>:%s/\r/\r/g</strong> Transform DOS carriage returns in returns</li><li><strong>:%s#&lt;[^&gt;]\+&gt;##g</strong> Delete HTML tags but keeps text</li><li><strong>:%s/^\(.*\)\n\1$/\1/</strong> Delete lines which appears twice</li><li><strong>Ctrl+a</strong> Increment number under the cursor</li><li><strong>Ctrl+x</strong> Decrement number under cursor</li><li><strong>ggVGg</strong>? Change text to Rot13</li></ul><h3>Case</h3><ul><li><strong>Vu</strong> Lowercase line</li><li><strong>VU</strong> Uppercase line</li><li><strong>g~~</strong> Invert case</li><li><strong>vEU</strong> Switch word to uppercase</li><li><strong>vE~</strong> Modify word case</li><li><strong>ggguG</strong> Set all text to lowercase</li><li><strong>:set ignorecase</strong> Ignore case in searches</li><li><strong>:set smartcase</strong> Ignore case in searches excepted if an uppercase letter is used</li><li><strong>:%s/\&lt;./\u&amp;/g</strong> Sets first letter of each word to uppercase</li><li><strong>:%s/\&lt;./\l&amp;/g</strong> Sets first letter of each word to lowercase</li><li><strong>:%s/.*/\u&amp;</strong> Sets first letter of each line to uppercase</li><li><strong>:%s/.*/\l&amp;</strong> Sets first letter of each line to lowercase</li></ul><h3>Read/Write files</h3><ul><li><strong>:1,10 w outfile</strong> Saves lines 1 to 10 in outfile</li><li><strong>:1,10 w &gt;&gt; outfile</strong> Appends lines 1 to 10 to outfile</li><li><strong>:r infile</strong> Insert the content of infile</li><li><strong>:23r infile</strong> Insert the content of infile under line 23</li></ul><h3>File explorer</h3><ul><li><strong>:e .</strong> Open integrated file explorer</li><li><strong>:Sex</strong> Split window and open integrated file explorer</li><li><strong>:browse e</strong> Graphical file explorer</li><li><strong>:ls</strong> List buffers</li><li><strong>:cd ..</strong> Move to parent directory</li><li><strong>:args</strong> List files</li><li><strong>:args *.php</strong> Open file list</li><li><strong>:grep expression *.php</strong> Returns a list of .php files contening expression</li><li><strong>gf</strong> Open file name under cursor</li></ul><h3>Interact with Unix</h3><ul><li><strong>:!pwd</strong> Execute the “pwd” unix command, then returns to Vi</li><li><strong>!!pwd</strong> Execute the “pwd” unix command and insert output in file</li><li><strong>:sh</strong> Temporary returns to Unix</li><li><strong>$exit</strong> Retourns to Vi</li></ul><h3>Alignment</h3><ul><li><strong>:%!fmt</strong> Align all lines</li><li><strong>!}fmt</strong> Align all lines at the current position</li><li><strong>5!!fmt</strong> Align the next 5 lines</li></ul><h3>Tabs</h3><ul><li><strong>:tabnew</strong> Creates a new tab</li><li><strong>gt</strong> Show next tab</li><li><strong>:tabfirst</strong> Show first tab</li><li><strong>:tablast</strong> Show last tab</li><li><strong>:tabm n(position)</strong> Rearrange tabs</li><li><strong>:tabdo %s/foo/bar/g</strong> Execute a command in all tabs</li><li><strong>:tab ball</strong> Puts all open files in tabs</li></ul><h3>Window spliting</h3><ul><li><strong>:e</strong> filename Edit filename in current window</li><li><strong>:split</strong> filename Split the window and open filename</li><li><strong>ctrl-w up arrow</strong> Puts cursor in top window</li><li><strong>ctrl-w ctrl-w</strong> Puts cursor in next window</li><li><strong>ctrl-w_</strong> Maximise current window</li><li><strong>ctrl-w=</strong> Gives the same size to all windows</li><li><strong>10 ctrl-w+</strong> Add 10 lines to current window</li><li><strong>:vsplit</strong> file Split window vertically</li><li><strong>:sview</strong> file Same as :split in readonly mode</li><li><strong>:hide</strong> Close current window</li><li><strong>:only</strong> Close all windows, excepted current</li><li><strong>:b 2</strong> Open #2 in this window</li></ul><h3>Auto-completion</h3><ul><li><strong>Ctrl+n Ctrl+p</strong> (in insert mode) Complete word</li><li><strong>Ctrl+x Ctrl+l</strong> Complete line</li><li><strong>:</strong><strong>set dictionary=dict</strong> Define dict as a dictionnary</li><li><strong>Ctrl+x Ctrl+k</strong> Complete with dictionnary</li></ul><h3>Marks</h3><ul><li><strong>mk</strong> Marks current position as k</li><li><strong>‘k</strong> Moves cursor to mark k</li><li><strong>d’k</strong> Delete all until mark k</li></ul><h3>Abbreviations</h3><ul><li><strong>:ab</strong> mail mail@provider.org Define mail as abbreviation of mail@provider.org</li></ul><h3>Text indent</h3><ul><li><strong>:set</strong> autoindent Turn on auto-indent</li><li><strong>:se</strong>t smartindent Turn on intelligent auto-indent</li><li><strong>:set</strong> shiftwidth=4 Defines 4 spaces as indent size</li><li><strong>ctrl-t, ctrl-d</strong> Indent/un-indent in insert mode</li><li><strong>&gt;&gt;</strong> Indent</li><li><strong>&lt;&lt;</strong> Un-indent</li></ul><h3>Syntax highlighting</h3><ul><li><strong>:syntax</strong> on Turn on syntax highlighting</li><li><strong>:syntax</strong> off Turn off syntax highlighting</li><li><strong>:set syntax=perl</strong> Force syntax highlighting</li></ul> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/linux/vim-editor-100-commands-every-admin-should-know/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Linux : Creating &amp; Managing Users Accounts Part 1</title><link>http://jamielesouef.com/linux/linux-creating-managing-users-accounts-part-1/</link> <comments>http://jamielesouef.com/linux/linux-creating-managing-users-accounts-part-1/#comments</comments> <pubDate>Fri, 22 Aug 2008 07:14:21 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[passwords]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Ubuntu]]></category><guid isPermaLink="false">http://jamielesouef.com/?p=247</guid> <description><![CDATA[ I&#8217;ve been asked here on my blog about creating user accounts and giving them access to folders such as /var/www or creating ftp users that link to a single folder. That was quite a while ago. Since then i have picked up quite a bit about user management and thought that i would let you [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Flinux-creating-managing-users-accounts-part-1%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Flinux-creating-managing-users-accounts-part-1%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>I&#8217;ve been <a title="Installing a GNU/Linux LAMP Server using Ubuntu Server" href="http://jamielesouef.com/linux/installing-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie/">asked</a> here on my blog about creating user accounts and giving them access to folders such as /var/www or creating ftp users that link to a single folder. That was quite a while ago. Since then i have picked up quite a bit about user management and thought that i would let you in on my findings.</p><p>In Part 1 I&#8217;m going to show you how to add and manage user accounts. Learning these features has been a critical part of efficiently managing the 10+ Linux servers.</p><p>In order to create new logins, modify or delete users, you must already be logged in as sudo user. The sudo user login is the highest level (assuming you have the <a href="http://jamielesouef.com/linux/linux-security-can-you-ssh-as-root/">root account disabled</a>) and only certain individuals should have access to a sudo account.</p><h2>useradd &#8211; Adding a new user</h2><p>Each user must belong to a primary group and for security or access purposes can belong to several secondary groups.</p><p><strong>Options</strong>:</p><ul><li>-d home directory</li><li>-s starting program (shell)</li><li>-p password</li><li>-g (primary group assigned to the users eg -gwww-data (note no space between the -g and www-data)</li><li>-G (Other groups the user belongs to eg -Gusers (note no space between the -g and users)</li><li>-m (Create the user&#8217;s home directory</li></ul><h2>usermod &#8211; Modifying existing user</h2><p><strong>Options:</strong></p><ul><li>-d home directory</li><li>-s starting program (shell)</li><li>-p password</li><li>-g (primary group assigned to the users)</li><li>-G (Other groups the user belongs to)</li></ul><h2>userdel &#8211; Deleting a user</h2><p><strong>Options:</strong></p><ul><li>-r (remove home directory)</li></ul><p>Example: To remove the user &#8216;rebecca&#8217; and his home directory</p><p>userdel -r rebecca</p><h2>passwd &#8211; User&#8217;s Password</h2><p><strong>Options:</strong></p><ul><li>user&#8217;s name (Only required if you are root and want to change another user&#8217;s password)</li></ul><p>Example: To change the password for the account you are currently logged in as&#8230;</p><ol><li>passwd</li><li>Enter existing password</li><li>Enter new password</li><li>Enter new password again (to validate)</li></ol><p>Example: To change the password for the user &#8216;mark&#8217; (only you are logged in as a sudo user)&#8230;</p><ol><li>passwd mark</li><li>Enter existing password (can be either marks&#8217;s password or sudoer&#8217;s password)</li><li>Enter new password</li><li>Enter new password again (to validate)</li></ol><h2>Where user and group information stored</h2><p>User names and primary groups are stored in /etc/passwd. This file can be directly edited using the &#8216;vi&#8217; editor, although this is not recommended. Format of the file is&#8230;</p><ul><li>User name (normally all lower case)</li><li>Password (encrypted &#8211; only contains the letter &#8216;x&#8217;)</li><li>User ID (a unique number of each user)</li><li>Primary Group ID</li><li>Comment (Normally the person&#8217;s full name)</li><li>Home directory (normally /home/</li><li>Default shell (normally /bin/bash)</li></ul><p>Each field is separated by a colon.</p><p>Passwords for each user are stored in /etc/shadow. This file should only be changed using the passwd command.</p><p>Group information is stored in /etc/group. This file can be directly edited using the &#8216;vi&#8217; editor. Format of the file is&#8230;</p><ul><li>Group name</li><li>Group password (hardly ever used)</li><li>Group ID</li><li>User names (separated by commas)</li></ul><p>Each field is separated by a colon.</p><h2>Default files</h2><p>When a new user is created, the default files and directories that are created are stored in /etc/skel.</p><p>This directory can be modified to fit your needs. Modifications only effect new users and does not change anything for existing users.</p><h2>su &#8211; Switch User</h2><p>To switch to another user, use the su command. This is most commonly used to switch to the root account.</p><p>Example: To switch to root account&#8230;</p><ol><li>su</li><li>Enter root&#8217;s passwd</li></ol><p>Example: To switch to the user &#8216;rebecca&#8217;&#8230;</p><p>su rebecca</p><p>Enter Rebecca&#8217;s or the sudoer&#8217;s passwd</p><p>To return to original user, enter exit</p><p>Well there you go. In Part 2 I&#8217;m going to go over how to add users for the web folders including FTP users that are limited to their home folder.</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/linux/linux-creating-managing-users-accounts-part-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing Ubuntu Server LAMP, SSH, FTP, Webmin and phpMyAdmin for a newbie</title><link>http://jamielesouef.com/linux/installing-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie/</link> <comments>http://jamielesouef.com/linux/installing-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie/#comments</comments> <pubDate>Wed, 16 Jan 2008 00:45:28 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[FTP]]></category> <category><![CDATA[LAMP]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category><guid isPermaLink="false">http://www.jamielesouef.com/2008/web-design/installing-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie/</guid> <description><![CDATA[ I&#8217;m not interested in using Linux for my desktop, Gnome and KDE really don&#8217;t do it for me and Windows XP is doing me fine &#8211; though I am looking forward to moving my studio onto a Mac Pro. Another big reason Linux as a desktop isn&#8217;t for me is that Adobe&#8217;s Creative Suite 3 [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Finstalling-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Flinux%2Finstalling-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>I&#8217;m not interested in using Linux for my desktop, Gnome and KDE really don&#8217;t do it for me and Windows XP is doing me fine &#8211; though I am looking forward to moving my studio onto a Mac Pro. Another big reason Linux as a desktop isn&#8217;t for me is that Adobe&#8217;s Creative Suite 3 does not, and won&#8217;t by the looks of things, support any flavor of Linux.</p><p>I&#8217;m after a new Server environment. I&#8217;m in the process of switching from Classic ASP (ASP3) over to PHP5. I&#8217;ve been using MySQL religiously for my dev work. But what I really want access to is the speed and reliability of Apache and PHP running on Linux. Also the chmod in ftp will save SO MUCH TIME when setting up blogs or any other site that requires permission changes.</p><p>So it&#8217;s time to learn &#8211; and by learning I mean command lines. Back to the good ‘ol DOS days.</p><p>I found Ubuntu 7.10 Server to be the solution for me. Why? Because a) It&#8217;s built on Debian and 2) they are the best at marking their flavor of Linux and bringing it to the attention of us Windows users.</p><p>Also a great feature that I found is that in around 15 minutes you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go! You just select it during installation!</p><p>The LAMP option means you don&#8217;t have to install and integrate each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications. Instead, you get increased security, reduced time-to-install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership. New pre-configured installation options have been added to the Ubuntu Server. Mail Server, File Server, Print Server, and Database Server options join existing LAMP and DNS options for pre-configured installations, easing the deployment of common server configurations.</p><p>Here&#8217;s what will be installed</p><ul class="unIndentedList"><li> Ubuntu Gutsy Gibbon 7.10</li><li> Apache 2.2.4</li><li> Mysql 5.0.45</li><li> PHP 5.2.3</li></ul><p>Installing Ubutnu Server I found to be really simple and once I did it a couple of times (due to errors on my behalf) I quickly found it even easier to install then Windows 2003 Server</p><p><span id="more-123"></span><br /> You&#8217;ll need to first download Ubuntu Server from <a href="http://www.ubuntu.com/getubuntu/download">http://www.ubuntu.com/getubuntu/download</a>. Burn the ISO or mount it in VMWare if you are installing it on a virtual machine. Insert the CD a make sure you BIOS is set to boot from the CD/DVD drive</p><ol><li>Select &#8220;Install to the Hard Disk&#8221;<a title="ubnuntu_server_16.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_16.png"><br /> </a><a title="ubnuntu_server_16.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_16.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_16.thumbnail.png" alt="ubnuntu_server_16.png" /></a></li><li>Select your language<br /> <a title="ubnuntu_server_21.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_21.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_21.thumbnail.png" alt="ubnuntu_server_21.png" /></a><br /> <a title="ubnuntu_server_21.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_21.png"><br /> </a></li><li>Select your location<a title="ubnuntu_server_31.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_31.png"><br /> </a><a title="ubnuntu_server_31.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_31.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_31.thumbnail.png" alt="ubnuntu_server_31.png" /></a><a title="ubnuntu_server_31.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_31.png"></a></li><li>Ubuntu Server can try and detect your keyboard layout. For the most people will be using US English. Select No and chose your layout yourself.<br /> <a title="ubnuntu_server_41.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_41.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_41.thumbnail.png" alt="ubnuntu_server_41.png" /></a><br /> <a title="ubnuntu_server_41.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_41.png"><br /> </a>Go through the options for your keyboard. The installation will then detect your hardware.</li><li>Enter ubuntuLamp or what ever you want to call your Server<a title="ubnuntu_server_51.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_51.png"><br /> </a><a title="ubnuntu_server_51.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_51.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_51.thumbnail.png" alt="ubnuntu_server_51.png" /></a></li><li>The installer will detect your Hard Drive. Select &#8220;Guided &#8211; use entire disk&#8221;<br /> <a title="ubnuntu_server_61.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_61.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_61.thumbnail.png" alt="ubnuntu_server_61.png" /></a></li><li>When you receive the screen title &#8220;[!!] Partion Disks&#8221; select &lt;Yes&gt; and hit enter<br /> <a title="ubnuntu_server_71.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_71.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_71.thumbnail.png" alt="ubnuntu_server_71.png" /></a></li><li>Select &lt;Yes&gt; when presented about the system clock<br /> <a title="ubnuntu_server_81.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_81.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_81.thumbnail.png" alt="ubnuntu_server_81.png" /></a></li><li>Enter in administration for your name<br /> <a title="ubnuntu_server_91.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_91.png"><br /> </a><a title="ubnuntu_server_91.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_91.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_91.thumbnail.png" alt="ubnuntu_server_91.png" /></a><a title="ubnuntu_server_91.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_91.png"></a></li><li>Enter in administrator for your username<br /> <a title="ubnuntu_server_101.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_101.png"><br /> </a><a title="ubnuntu_server_101.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_101.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_101.thumbnail.png" alt="ubnuntu_server_101.png" /></a><a title="ubnuntu_server_101.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_101.png"></a></li><li>Enter in a secure password (<a href="http://www.jamielesouef.com/2007/general/secure-passwords-made-easy/">here is a great article on coming up with a secure password that you can remember</a>)<br /> <a title="ubnuntu_server_111.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_111.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_111.thumbnail.png" alt="ubnuntu_server_111.png" /></a></li><li>When you are presented with the screen [!] Software selection press the down arrow till the &#8220;* is in the &#8220;LAMP server&#8221; box and press space bar. As were also going to be using SSH I also select &#8220;OpenSSH server&#8221;<br /> <a title="ubnuntu_server_121.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_121.png"><br /> </a><a title="ubnuntu_server_121.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_121.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_121.thumbnail.png" alt="ubnuntu_server_121.png" /></a><a title="ubnuntu_server_121.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_121.png"></a></li><li>You&#8217;ll be presented with the option to change the MySQL root password. This is highly recommended as the standard password is blank<br /> <a title="ubnuntu_server_131.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_131.png"><br /> </a><a title="ubnuntu_server_131.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_131.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_131.thumbnail.png" alt="ubnuntu_server_131.png" /></a><a title="ubnuntu_server_131.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_131.png"></a></li><li>You&#8217;re done! Remove the CD from the CD drive and reboot<br /> <a title="ubnuntu_server_141.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_141.png"><br /> </a><a title="ubnuntu_server_141.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_141.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_141.thumbnail.png" alt="ubnuntu_server_141.png" /></a><a title="ubnuntu_server_141.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_141.png"></a></li><li>You server is now installed.<br /> <a title="ubnuntu_server_151.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_151.png"><br /> </a><a title="ubnuntu_server_151.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_151.png"><img src="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_151.thumbnail.png" alt="ubnuntu_server_151.png" /></a><a title="ubnuntu_server_151.png" href="http://www.jamielesouef.com/wp-content/uploads/ubnuntu_server_151.png"><br /> </a></li></ol><h2>Next I configure a Static IP.</h2><p>Log into your server using the details you entered during install. I&#8217;m using 192.168.0.150 as my example IP)</p><p>Type</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span></pre></div></div><p>and enter your password again</p><p>Then Type</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces</pre></div></div><p>If you have typed it out correctly you&#8217;ll Also you will see the following:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># This file describes the network interfaces available on your system</span>
<span style="color: #666666; font-style: italic;"># and how to activate them. For more information, see interfaces(5).</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The loopback network interface</span>
auto lo
iface lo inet loopback
&nbsp;
<span style="color: #666666; font-style: italic;"># The primary network interface</span>
auto eth0
iface eth0 inet dhcp</pre></div></div><p>Replace the last 3 lines with the following:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># The primary network interface</span>
auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0</pre></div></div><p>Try  Ctrl+O to write the file and then press enter</p><p>Type Ctrl+X to exit</p><p>To set your Nameservers, type</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>resolv.conf</pre></div></div><p>Enter in your nameservers as required &#8220;nameserver xxx.xxx.xxx.xxx&#8221;</p><p>Type Ctrl+O to write the file and then press enter</p><p>Type Ctrl+X to exit</p><p>Now you need to restart your network service. Type the following</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>networking restart</pre></div></div><p>You&#8217;ve now configured your network interface.</p><p>I also wanted to also install Webmin to manage my server remotely as well as SSH but I found that the install instructions on the above site just didn&#8217;t work for me. So here is how I installed Webmin on my Ubuntu Server.</p><p>You will need to enable the universe and universe and multiverse repositories in the /etc/apt/sources.list (<a href="https://wiki.ubuntu.com/AddingRepositoriesCliHowto">https://wiki.ubuntu.com/AddingRepositoriesCliHowto</a>)</p><p>This is also where I started to use Putty and SSH (<a href="http://the.earth.li/%7Esgtatham/putty/latest/x86/putty.exe">http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe</a>)</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>Webmin
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>Webmin
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>easynews.dl.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>sourceforge<span style="color: #000000; font-weight: bold;">/</span>webadmin<span style="color: #000000; font-weight: bold;">/</span>Webmin-1.390.tar.gz
<span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-cd</span> Webmin-1.390.tar.gz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf -
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl <span style="color: #c20cb9; font-weight: bold;">perl</span> perl-modules</pre></div></div><p>Note I had heaps of problems with this command and it was to do with my sources.list file. No matter what I uncommented it just didn&#8217;t seam to work. I had to generate a new sources.list file from this site (<a href="http://www.ubuntu-nl.org/source-o-matic/">http://www.ubuntu-nl.org/source-o-matic/</a>) and past that into /etc/apt/sources.list then run sudo apt-get update before the above command would run</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #7a0874; font-weight: bold;">cd</span> Webmin<span style="color: #000000; font-weight: bold;">*</span>
.<span style="color: #000000; font-weight: bold;">/</span>setup.sh</pre></div></div><p>Basically just hit enter and choose SSL and the auto start the service at boot. Use these settings (or change as requried)</p><blockquote><p>Web server port (default 10000): (Feel Free to change this) Login name (default admin): Login password: AReallyGoodONE Password again: AReallyGoodONE Use SSL (y/n): y Start Webmin at boot time (y/n): y</p></blockquote><p>I found that the default instating module for PHP looks for the php.ini file in the Apache directory when it needs to look in the apache2 directory. After instating login into Webmin by visiting <a href="https://your-ip:10000/">https://your-ip:10000</a> and click on  &#8220;Other&#8221; in the right bar. Then click on &#8220;PHP Configureation&#8221;  You should see that following:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>apache<span style="color: #000000; font-weight: bold;">/</span>php.ini=Configuration <span style="color: #000000; font-weight: bold;">for</span> mod_php
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>cgi<span style="color: #000000; font-weight: bold;">/</span>php.ini=Configuration <span style="color: #000000; font-weight: bold;">for</span> scripts run via CGI
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>cli<span style="color: #000000; font-weight: bold;">/</span>php.ini=Configuration <span style="color: #000000; font-weight: bold;">for</span> command-line scripts</pre></div></div><p>Change the line /etc/php5/apache/php.ini=Configuration for mod_php to read /etc/php5/apache<strong>2</strong>/php.ini=Configuration for mod_php and click save</p><p>This should have configured the PHP moduble for Webmin for you.</p><p><strong>FTP</strong></p><p>Now were going to install ProFTPD FTP server.</p><p>Login into your Ubuntu Server via SSH, or how ever you wish to access the console, and type:</p><blockquote><p>sudo apt-get install proftpd</p></blockquote><p>When asked if you want to install the server as a inid or standalone, select standalone and continue.</p><p>Done! Now if you check back in Webmin under Servers you&#8217;ll see ProFTPD Server, if you click on that you should see the ProFTPd options up and running.</p><p>Adding a FTP user is done through the &#8220;System =&gt;  Users and Groups&#8221; area in Webmin. You just click on &#8220;Create a new user&#8221; enter in the details and select the home directory to /var/www (make sure you click the check box next to the home directory text box as it stays checked at &#8220;Automatic&#8221; even once you enter something into the text box.)</p><p>Fire up your ftp client and login!</p><p>You should now have a working LAMP+F (Linux, Apache, MySQL, PHP and FTP) Ubuntu Server. Next I&#8217;ll be looking into securing the server. I&#8217;ve read that ProFTPD isn&#8217;t the most secure FTP Server  to use with Linux, apparently  VSFTPD is the way to go there, but for the purpose of simplicity for the first time, and the fact that this is not a live server, rather just a testing box, it&#8217;s not such a big deal.</p><p>Please post your comments on this, if you find it useful please let me know &#8211; anything that needs further clarification tell me &#8211; I&#8217;m new to Linux as you might be so this is a big change.</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/linux/installing-ubuntu-server-lampsshftpwebmin-and-phpmyadmin-for-a-newbie/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>Synergy, Control multiple computers with a single keyboard and mouse</title><link>http://jamielesouef.com/general/synergy-control-multiple-computers-with-a-single-keyboard-and-mouse/</link> <comments>http://jamielesouef.com/general/synergy-control-multiple-computers-with-a-single-keyboard-and-mouse/#comments</comments> <pubDate>Tue, 27 Nov 2007 22:29:00 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[News]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[cross platform]]></category> <category><![CDATA[desktops]]></category> <category><![CDATA[osx]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows Vista]]></category> <category><![CDATA[Windows XP]]></category><guid isPermaLink="false">http://www.jamielesouef.com/2007/general/synergy-control-multiple-computers-with-a-single-keyboard-and-mouse/</guid> <description><![CDATA[ You don&#8217;t need a hardware switch to share one keyboard and mouse amongst several different computers. All you need is the free, cross-platform application, Synergy.Synergy connects one keyboard and mouse to any computer on your network, making a dual- or triple-computer setup work more like a dual- or triple-monitor setup. Synergy even allows you to [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fsynergy-control-multiple-computers-with-a-single-keyboard-and-mouse%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fsynergy-control-multiple-computers-with-a-single-keyboard-and-mouse%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>You don&#8217;t need a hardware switch to share one keyboard and mouse amongst several different computers. All you need is the free, cross-platform application, <a href="http://synergy2.sourceforge.net/">Synergy</a>.Synergy connects one keyboard and mouse to any computer on your network, making a dual- or triple-computer setup work more like a dual- or triple-monitor setup. Synergy even allows you to share clipboard data across your computers and operating systems.</p><p>Today I&#8217;ll detail how to set up Synergy on your home network to control all of your desktops with one mouse and keyboard.</p><h3>How it works</h3><p>Synergy uses one computer as a server &#8211; that&#8217;s the computer that will be sharing its keyboard and mouse. The rest of your computers &#8211; the ones you want to control &#8211; will need to be set up as Synergy clients.</p><p>The great part about Synergy is that you can customize the program to work with the layout of your computers. For example, if you&#8217;ve got your MacBook running to the left of your Windows PC, you can set up Synergy so that moving your mouse to the left of your Windows monitor will seamlessly jump your mouse across virtual space where it lands safely on your Mac. Whichever desktop currently holds your mouse is also the desktop to which your keyboard&#8217;s keystrokes will be sent. Make sense? Add to that Synergy&#8217;s clipboard sharing and you&#8217;ve got one helluva convergence app.</p><p><a href="http://lifehacker.com/software/dual-monitor/hack-attack-control-multiple-computers-with-a-single-keyboard-and-mouse-254648.php">Click here for detailed install instructions </a>(ignore the &#8220;Hack Attack&#8221; in the heading, this is not a hack by any means, and probably doesn&#8217;t do the original post any justice.)</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/general/synergy-control-multiple-computers-with-a-single-keyboard-and-mouse/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Secure passwords made easy!</title><link>http://jamielesouef.com/general/secure-passwords-made-easy/</link> <comments>http://jamielesouef.com/general/secure-passwords-made-easy/#comments</comments> <pubDate>Thu, 25 Oct 2007 02:44:20 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[IIS]]></category> <category><![CDATA[osx]]></category> <category><![CDATA[passwords]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows Vista]]></category> <category><![CDATA[Windows XP]]></category><guid isPermaLink="false">http://www.jamielesouef.com/2007/general/secure-passwords-made-easy/</guid> <description><![CDATA[ Something that drives me nuts is my wifes passwords. Constantly really simple easy to crack passwords. It makes securing our wireless network also imposable. Fortunately corvusconsulting.ca has put together a 4 part guide to choosing and remembering a secure password. Here&#8217;s a snippet: When choosing a word, aim for something between 4 and 6 characters. This gives you [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fsecure-passwords-made-easy%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fsecure-passwords-made-easy%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>Something that drives me nuts is my wifes passwords. Constantly really simple easy to crack passwords. It makes securing our wireless network also imposable.</p><p>Fortunately <a href="http://www.corvusconsulting.ca/articles/2007/10/18/building-strong-and-memorable-passwords-part-4-of-4">corvusconsulting.ca</a> has put together a 4 part guide to choosing and remembering a secure password.</p><p>Here&#8217;s a snippet:</p><blockquote><p>When choosing a word, aim for something between 4 and 6 characters. This gives you a wide range to play within, and allows you to pick a word that is personally memorable. There is a great advantage to choosing a word from a foreign language, in that it’s unlikely to be included in <a href="http://en.wikipedia.org/wiki/Dictionary_attack">dictionary attacks</a>, a basic tool in any password cracker’s toolkit. Don’t know a word from another language? They’re easy to find, and to base it on a word in your native language you can just translate by using the <a href="http://babelfish.altavista.com/">venerable Babelfish</a>. By the way, I owe <a href="http://www.todmaffin.com/blog/the-foibles-of-password-restrictions">credit to Tod Maffin</a>, who clued me into using a foreign word as part of a password.</p></blockquote><p><a href="http://www.corvusconsulting.ca/articles/2007/10/18/building-strong-and-memorable-passwords-part-4-of-4">Read part 4 of the article here</a> (the pate about actually creating the password)</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/general/secure-passwords-made-easy/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Permalinks on IIS &#8211; Step by Step illustrated guide</title><link>http://jamielesouef.com/web-design/permalinks-on-iis-step-by-step-illustrated-guide/</link> <comments>http://jamielesouef.com/web-design/permalinks-on-iis-step-by-step-illustrated-guide/#comments</comments> <pubDate>Mon, 06 Aug 2007 00:21:38 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[IIS]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Plesk]]></category> <category><![CDATA[SEO]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Windows]]></category><guid isPermaLink="false">http://jamielesouef.com/2007/web-design/permalinks-on-iis-step-by-step-illustrated-guide/</guid> <description><![CDATA[Update: I forgot to mention that you need to have “Custom Error Documents” turned on. To do this in plesk, Navigate to your domains hosting page, click on “Setup” under Hosting. Scroll down to Services and select “Custom Error Documents” and then click ok. Edited &#8211; 06/08/07 2:27pmI’m going to step you through how I went [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Fweb-design%2Fpermalinks-on-iis-step-by-step-illustrated-guide%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Fweb-design%2Fpermalinks-on-iis-step-by-step-illustrated-guide%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><blockquote><p>Update: I forgot to mention that you need to have “Custom Error Documents” turned on. To do this in plesk, Navigate to your domains hosting page, click on “Setup” under Hosting. Scroll down to Services and select “Custom Error Documents” and then click ok.</p><p style="text-align: right">Edited &#8211; 06/08/07 2:27pm</p></blockquote><p>I’m going to step you through how I went about installing Nathan Moinvaziri’s plugin and set up Wordpress 2.2 to use Permalinks in an IIS6 enviroment with Plesk 8 installed.NOTE: This worked for me, and my hosting environment. I have no idea if it will work for everyone. I will not be held responsible for any damage you do to your blog. You have been warned.</p><p><strong>Configure Plesk</strong></p><p>Log into Plesk<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/plesklogin.jpg" alt="Plesk Login Screen" /></p><p>Navigate to your domains control page.</p><p><img src="http://jamielesouef.com/wp-content/uploads/2007/08/domainmanagmentscreen.jpg" alt="Domain Managment Screen" /><br /> Click on the icon “Web Directories”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/webdirectoriesicon.jpg" alt="Web Directories Icon" /><br /> Click on the tab “Error Documents”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/errordocumentstab.jpg" alt="Error Documents Tab Screen" /><br /> Locate the entrie that reads “404 Not Found” and click on it. You may need to navigate to the next page to see it.<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/404notfound.jpg" alt="404 Not Found Screen" /><br /> Drop down the “Type” box and select “URL”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/urldropdown.jpg" alt="URL DROP DOWN" /><br /> In the “Location Box” type “/” (Without the quotation marks)<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/locationbox.jpg" alt="Location Box" /><br /> Click “Ok”</p><p>Log out of Plesk</p><p>Visit “<a href="http://www.nathanm.com/myprojects/#plugin" target="_blank">http://www.nathanm.com/myprojects/#plugin</a>” (opens in a new window)</p><p>Find the Plugin <strong>“Wordpress -</strong> <strong>Remove Index.php</strong> <strong>from Permalinks in IIS Plugin</strong>”</p><p><img src="http://jamielesouef.com/wp-content/uploads/2007/08/pluginlocation.jpg" alt="Plugin Location" /><br /> Upload the php file “removeindex.php” to your wordpress plugins directory<br /> Log into Wordpress admin.<br /> Click on “Plugins”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/wordpressplugins.jpg" alt="Wordpress Plugins" /><br /> Locate the “Remove index.php” plugin and click on “Activate”</p><p><img src="http://jamielesouef.com/wp-content/uploads/2007/08/findplugin.jpg" alt="Find Plugin Screen" /><br /> Click on “Options” then “Permalinks”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/options-permalinks.jpg" alt="Options - Permalinks" /><br /> Set your Permalinks Structure. First click one of the common options. Then click on the “Custom, specify below” box and remove “index.php”. I use /%year%/%category%/%postname%/ for my structure.</p><p><img src="http://jamielesouef.com/wp-content/uploads/2007/08/permalinks-struc.jpg" alt="Permalinks Structure" /><br /> Click “Update Permalinks Structure”<br /> <img src="http://jamielesouef.com/wp-content/uploads/2007/08/update.jpg" alt="Update Permalinks Structure" /><br /> And your done :D</p><p>Check to make sure that everything is working. If you have sitemaps, it’s best to re generate them and submit them to google. The old ?p=34 strings will still work though. Test everything.</p><blockquote><p> Writing <a href="http://www.actual-exams.com/70-642-practice-exam.htm">70-642</a> is easier for <a href="http://www.actual-exams.com/642-642-practice-exam.htm">642-642</a> series students who have done <a href="http://www.actual-exams.com/642-845-practice-exam.htm">642-845</a> as compared to <a href="http://www.actual-exams.com/350-018-practice-exam.htm">350-018</a> students who have not even done <a href="http://www.actual-exams.com/70-647-practice-exam.htm">70-647</a>.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/web-design/permalinks-on-iis-step-by-step-illustrated-guide/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Permalinks on IIS &#8211; not so hard!</title><link>http://jamielesouef.com/general/permalinks-on-iis-not-so-hard/</link> <comments>http://jamielesouef.com/general/permalinks-on-iis-not-so-hard/#comments</comments> <pubDate>Fri, 03 Aug 2007 11:51:23 +0000</pubDate> <dc:creator>Jamie Le Souef</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Web Design]]></category> <category><![CDATA[IIS]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[SEO]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Tutorial]]></category><guid isPermaLink="false">http://jamielesouef.com/2007/08/03/permalinks-on-iis-not-so-hard/</guid> <description><![CDATA[ I&#8217;ve been able to find a solution that actually solves the problem and makes permalinks on IIS work right without the &#8220;index.php&#8221; in the URL! If you can follow this then it&#8217;ll be sweet and simple! Nathan Moinvaziri http://www.nathanm.com/ Install Instructions To remove the Index.php from Wordpress you must do the following. Redirect your custom 404 error page to / [...]]]></description> <content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-right: 10px; margin-top:10px; margin-bottom:10px;"> <a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fpermalinks-on-iis-not-so-hard%2F"><br /> <img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fjamielesouef.com%2Fgeneral%2Fpermalinks-on-iis-not-so-hard%2F&amp;style=normal" height="61" width="50" /><br /> </a></div><p>I&#8217;ve been able to find a solution that actually solves the problem and makes permalinks on IIS work right without the &#8220;index.php&#8221; in the URL!</p><p>If you can follow this then it&#8217;ll be sweet and simple!</p><blockquote><p><a href="http://www.nathanm.com/"> Nathan Moinvaziri</p><p>http://www.nathanm.com/</a></p><p>Install Instructions</p><p>To remove the Index.php from Wordpress you must do the following.</p><p>Redirect your custom 404 error page to / or to the root relative path of your blog.<br /> Remove the /index.php part from your permalinks option in Wordpress.<br /> Install and activate the plugin.</p></blockquote><p>The solution can be found at <a href="http://www.nathanm.com/myprojects/#plugin" target="_blank">http://www.nathanm.com/myprojects/#plugin</a>.</p><p>About halfway down the page, you&#8217;ll see &#8220;<strong>Wordpress &#8211; Remove Index.php from Permalinks in IIS Plugin</strong>&#8221; with a link pointing to the plugin ZIP file located at <a href="http://www.nathanm.com/projects/removeindex.zip" target="_blank">http://www.nathanm.com/projects/removeindex.zip</a>.</p><p>I will write a post with a complete step-by-step walkthrough of how to set this up using WSFTP, Plesk 8 and Wordpress 2.2.1 in the next day or two.</p> ]]></content:encoded> <wfw:commentRss>http://jamielesouef.com/general/permalinks-on-iis-not-so-hard/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching using disk

Served from: jamielesouef.com @ 2010-08-01 05:11:08 -->