<?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>linux | /var/logs/paulooi.log</title>
	<atom:link href="https://logs.paulooi.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Wed, 06 Jul 2011 12:38:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to Change MySQL Data Directory in Linux Centos</title>
		<link>https://logs.paulooi.com/how-to-change-mysql-data-directory-in-linux-centos.php</link>
					<comments>https://logs.paulooi.com/how-to-change-mysql-data-directory-in-linux-centos.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Sat, 02 Jul 2011 06:04:37 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[datadir]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mycnf]]></category>
		<category><![CDATA[mysql]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1413</guid>

					<description><![CDATA[<p>By default Linux CentOS or other Linux Distro installation, MySQL data directory is stored in /var/db/mysql, how can I change it to other directory in example /db/mysql? It is always better to have MySQL Data Directory store in a specific...</p>
The post <a href="https://logs.paulooi.com/how-to-change-mysql-data-directory-in-linux-centos.php">How to Change MySQL Data Directory in Linux Centos</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p><strong>By default Linux CentOS or other Linux Distro installation, MySQL data directory is stored in /var/db/mysql, how can I change it to other directory in example /db/mysql? </strong></p>
<p>It is always better to have MySQL Data Directory store in a specific partition/drive. It will help on performance and better management and scalability. You change change the data store directory in Linux by editing /etc/my.cnf file.</p>
<p>Edit /etc/my.cnf file</p>
<pre>
<code>
# vi /etc/my.cnf
</code>
</pre>
<p>Change the data directory structure</p>
<pre>
<code>
datadir=/db/mysql
socket=/db/mysql/mysql.sock
</code>
</pre>
<p>After the file has been updated, restart MySQL service.</p>The post <a href="https://logs.paulooi.com/how-to-change-mysql-data-directory-in-linux-centos.php">How to Change MySQL Data Directory in Linux Centos</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-change-mysql-data-directory-in-linux-centos.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Find Out Public IP Address via Command Line in Unix/Linux Machine</title>
		<link>https://logs.paulooi.com/how-to-find-out-public-ip-address-via-command-line-in-unixlinux-machine.php</link>
					<comments>https://logs.paulooi.com/how-to-find-out-public-ip-address-via-command-line-in-unixlinux-machine.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Tue, 08 Mar 2011 03:20:00 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[wget]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1406</guid>

					<description><![CDATA[<p>If you have more than 100 servers in your network; behind a firewall; lazy to access to documentation. Here is the alternative option to find out your machine&#8217;s public IP Address via command line $ wget -q -O - http://ipchicken.com...</p>
The post <a href="https://logs.paulooi.com/how-to-find-out-public-ip-address-via-command-line-in-unixlinux-machine.php">How to Find Out Public IP Address via Command Line in Unix/Linux Machine</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>If you have more than 100 servers in your network; behind a firewall; lazy to access to documentation. Here is the alternative option to find out your machine&#8217;s public IP Address via command line </p>
<pre>
<code>
$ wget -q -O - http://ipchicken.com |  grep -o -E '(^|[[:space:]])[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*([[:space:]]|$)'
# By default, FreeBSD doesn't have wget, you can use fetch instead
$ fetch -q -o - http://www.ipchicken.com | grep -o -E '(^|[[:space:]])[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*([[:space:]]|$)'
</code>
</pre>
<p>You need port 80 external/WAN access to perform the task. </p>The post <a href="https://logs.paulooi.com/how-to-find-out-public-ip-address-via-command-line-in-unixlinux-machine.php">How to Find Out Public IP Address via Command Line in Unix/Linux Machine</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-find-out-public-ip-address-via-command-line-in-unixlinux-machine.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Lock Your Machine and Display Application Screen</title>
		<link>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php</link>
					<comments>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Fri, 24 Sep 2010 01:20:13 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[keyboard shortcuts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[screensaver]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xlock]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1069</guid>

					<description><![CDATA[<p>We have a couple monitoring applications running on our Linux desktop. To monitor server health, graph utilization through various network monitoring systems. Usually monitoring application required authentication and it will be a security issue if you left your Linux desktop...</p>
The post <a href="https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php">How to Lock Your Machine and Display Application Screen</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="https://logs.paulooi.com/wp-content/uploads/2010/09/0.jpg"><img fetchpriority="high" decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2010/09/0-200x300.jpg" alt="" title="0" width="200" height="300" class="alignleft size-medium wp-image-1070" srcset="https://logs.paulooi.com/wp-content/uploads/2010/09/0-200x300.jpg 200w, https://logs.paulooi.com/wp-content/uploads/2010/09/0.jpg 320w" sizes="(max-width: 200px) 100vw, 200px" /></a>We have a couple monitoring applications running on our Linux desktop. To monitor server health, graph utilization through various network monitoring systems. Usually monitoring application required authentication and it will be a security issue if you left your Linux desktop unlock. </p>
<p>But if you lock your Linux desktop, the screen will goes blank and you can&#8217;t monitor what is projected on your screen. There is a way to do it with screen saver lock, where you can lock your Linux desktop and at the same time to display when application is running on your monitoring screen. </p>
<p><strong>Lock Your Machine with xlock</strong></p>
<p>First, install xlock in your Linux desktop</p>
<pre>
<code>
shell> sudo apt-get install xlock
</code>
</pre>
<p>After xlock has been install, create a file name lockscreen, chmod to 777 and paste the line below in the file </p>
<pre>
<code>
# /usr/bin/xlock -mode image -geometry 0x0 -timeout 1
shell> vi lockscreen
shell> chmod 755 lockscreen
</code>
</pre>
<p>xlock is screen saver lock, but it can disable the screen saver screen by setting display with &#8220;-geometry 0x0&#8221;. </p>
<p>You can also bind your keyboard short cut key to launch the lockscreen script through System > Preferences > Keyboard Shortcuts.</p>The post <a href="https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php">How to Lock Your Machine and Display Application Screen</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-lock-your-machine-and-display-application-screen.php/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Check Linux Version and Distro</title>
		<link>https://logs.paulooi.com/how-to-check-linux-version-and-distro.php</link>
					<comments>https://logs.paulooi.com/how-to-check-linux-version-and-distro.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Wed, 21 Jul 2010 02:57:47 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[distro]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[version]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1037</guid>

					<description><![CDATA[<p>Who run more than 10 Linux servers with different version of Linux Distro? We all know there are many type of Linux distro such as Ubuntu, Centos, Gentoo, Fedora, debian, OpenSUSE and etc. Every single distro runs on different version...</p>
The post <a href="https://logs.paulooi.com/how-to-check-linux-version-and-distro.php">How to Check Linux Version and Distro</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Who run more than 10 Linux servers with different version of Linux Distro? We all know there are many type of Linux distro such as Ubuntu, Centos, Gentoo, Fedora, debian, OpenSUSE and etc. Every single distro runs on different version and etc. Sometime I am having problem to remember what Linux distro is running on my DNS server or Mail Server, and what Linux version is it on now. There are two methods to <strong>find linux version</strong> on your server.</p>
<p>To <strong>check Linux distro</strong> on your server</p>
<pre>
<code>
shell> cat /etc/issue
</code>
</pre>
<p>To <strong>check Linux Version</strong> and distro on your server</p>
<pre>
<code>
shell> cat /etc/*-release
</code>
</pre>The post <a href="https://logs.paulooi.com/how-to-check-linux-version-and-distro.php">How to Check Linux Version and Distro</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-check-linux-version-and-distro.php/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Linux/Unix Search and Replace Text from Multiple Files</title>
		<link>https://logs.paulooi.com/linuxunix-search-and-replace-text-from-multiple-files.php</link>
					<comments>https://logs.paulooi.com/linuxunix-search-and-replace-text-from-multiple-files.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Wed, 14 Jul 2010 04:50:02 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1029</guid>

					<description><![CDATA[<p>In Linux/Unix, for newbie to do search text from multiple files/folder look like difficult, replacing string from file sound even harder. It&#8217;s actually not hard or complicated to search and replace text from multiple files in Unix/Linux. The key is...</p>
The post <a href="https://logs.paulooi.com/linuxunix-search-and-replace-text-from-multiple-files.php">Linux/Unix Search and Replace Text from Multiple Files</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>In Linux/Unix, for newbie to do search text from multiple files/folder look like difficult, replacing string from file sound even harder. It&#8217;s actually not hard or complicated to search and replace text from multiple files in Unix/Linux. The key is what command to use, there will be two main commands involve in search and replace, which are <strong>find</strong> and <strong>sed</strong></p>
<p>For example I am hosting multiple web applications, the development might have several pg_connect command to connect database, in the event I am migrating database to other IP address, it might be hard for them to dig the file and replace the IP Address with new IP Addresses. </p>
<p>In Linux/Unix, you can search through the directories, looking for the files and replace it with the new IP address. Here is the sample. </p>
<pre>
<code>
shell> find /path/to/dir/* -type f -exec sed -i .backup20100714 -e "s/host=x.x.x.x/host=y.y.y.y/g" {} \\;
</code>
</pre>
<p>The command above will search for files in the directory.<br />
find -type f mean look for File only.<br />
find -exec is to execute something from returned results.<br />
sed -i means backup the files, in case you would like to restore later.<br />
sed -e &#8220;s/host=x.x.x.x/host=y.y.y.y/g&#8221; is to replace x.x.x.x to y.y.y.y</p>
<p>You have backup files name filename.php.backup20100714, now what you need to do is move the files in a backup directory. </p>
<pre>
<code>
shell> find /path/to/dir/* -name "*.backup20100714" -exec mv {} /your/backup/dir/ \\;
</code>
</pre>
<p>You might want to explore on <strong>find</strong> command, it can do a lot of cool stuffs.</p>The post <a href="https://logs.paulooi.com/linuxunix-search-and-replace-text-from-multiple-files.php">Linux/Unix Search and Replace Text from Multiple Files</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/linuxunix-search-and-replace-text-from-multiple-files.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Modify or Adjust File Date Time on Unix/Linux</title>
		<link>https://logs.paulooi.com/modify-or-adjust-file-date-time-on-unixlinux.php</link>
					<comments>https://logs.paulooi.com/modify-or-adjust-file-date-time-on-unixlinux.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Sat, 10 Jul 2010 15:26:48 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1021</guid>

					<description><![CDATA[<p>You have folders or files in your server last modified date/time was 3 months ago, sometime for some reason we would like to change files or folders last modified date/time to older or recent date. You can modify the date/time...</p>
The post <a href="https://logs.paulooi.com/modify-or-adjust-file-date-time-on-unixlinux.php">Modify or Adjust File Date Time on Unix/Linux</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>You have folders or files in your server last modified date/time was 3 months ago, sometime for some reason we would like to change files or folders last modified date/time to older or recent date. You can modify the date/time of a folder or file with Unix/Linux <strong><em>touch</em></strong> command. </p>
<p>For example I have a file name wireless.pcap, last update or created was in year 2009. I can change the last modify time by the <strong>touch</strong> command <strong>touch -t yyyymmddhhmm filename</strong></p>
<p>shell> touch -t 201007101540 wireless.pcap</p>
<p>This will change the file last updated date and time to 10th July 2010 15:40pm.</p>The post <a href="https://logs.paulooi.com/modify-or-adjust-file-date-time-on-unixlinux.php">Modify or Adjust File Date Time on Unix/Linux</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/modify-or-adjust-file-date-time-on-unixlinux.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create User with useradd in FreeBSD</title>
		<link>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php</link>
					<comments>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 01:53:55 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[adduser]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[groupadd]]></category>
		<category><![CDATA[groupdel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[pw]]></category>
		<category><![CDATA[systems]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[unlock]]></category>
		<category><![CDATA[useradd]]></category>
		<category><![CDATA[userdel]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1019</guid>

					<description><![CDATA[<p>You can invoke &#8220;adduser&#8221; command in FreeBSD in order to create new user. Adduser will prompt you for user info like name, uid, gid, shell environment and etc. But sometime we would like to create user access through Bash script....</p>
The post <a href="https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php">How to Create User with useradd in FreeBSD</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>You can invoke &#8220;adduser&#8221; command in FreeBSD in order to create new user. Adduser will prompt you for user info like name, uid, gid, shell environment and etc. But sometime we would like to create user access through Bash script. &#8220;useradd&#8221; command is the good way to do it. </p>
<p>In Linux, using &#8220;useradd&#8221; is pretty common for creating new user access. You can also use &#8220;useradd&#8221; in FreeBSD, but not directly invoke &#8220;useradd&#8221; command. Below is the sample of creating new user in FreeBSD with &#8220;useradd&#8221;.</p>
<pre>
<code>
shell> pw useradd cheryl -c 'Cheryl Windows Admin' -d /home/cheryl -s /usr/local/bin/bash
</code>
</pre>
<p>New user account is created, but don&#8217;t forgot to set password for the account </p>
<pre>
<code>
shell> passwd cheryl
</code>
</pre>
<p>You can run other command like &#8220;userdel&#8221;, &#8220;usermod&#8221;, &#8220;usershow&#8221;, &#8220;groupadd&#8221;, &#8220;groupdel&#8221;, &#8220;groupmod&#8221;, &#8220;lock&#8221;, &#8220;unlock&#8221; on FreeBSD by using the &#8220;pw&#8221; command.  </p>The post <a href="https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php">How to Create User with useradd in FreeBSD</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-create-user-with-useradd-in-freebsd.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Quick File Copy on File Name with Sample Extension</title>
		<link>https://logs.paulooi.com/quick-file-copy-on-file-name-with-sample-extension.php</link>
					<comments>https://logs.paulooi.com/quick-file-copy-on-file-name-with-sample-extension.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Tue, 18 May 2010 08:32:11 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[unix command]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=979</guid>

					<description><![CDATA[<p>By default, some of the application installation provide you a sample configuration file. Usually the sample of configuration will end with name like *.sample, *.default and so on. Let say you have 20 of *.sample files and it will take...</p>
The post <a href="https://logs.paulooi.com/quick-file-copy-on-file-name-with-sample-extension.php">Quick File Copy on File Name with Sample Extension</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>By default, some of the application installation provide you a sample configuration file. Usually the sample of configuration will end with name like *.sample, *.default and so on. Let say you have 20 of *.sample files and it will take you some time to copy, move or rename one by one. Lets do some quicker way which will save more time.</p>
<p>Create a sample file file random name ended with *.sample. Example </p>
<pre>
<code>
touch apple.sample.cfg
touch microsoft.sample.cfg
touch php.sample.cfg
touch config.sample.cfg
touch apache.sample.cfg
touch mysql.sample.cfg
touch pgsql.sample.cfg
touch cacti.sample.cfg
touch wordpress.sample.cfg
touch jessicaalba.sample.cfg
</code>
</pre>
<p>Now you have all the sample configuration, you are going to use them. Are you going to copy one by another and change the same with .cfg prefix? We can do it, in a better and faster way. </p>
<p>Make a new directory to store all the sample file </p>
<pre>
<code>
mkdir sample
cp *.sample.cfg sample/
</code>
</pre>
<p>After that, go to sample directory and copy the files to a location </p>
<pre>
<code>
cd sample 
for d  in `ls *.sample.cfg`; do cp $d `echo $d | sed s/sample.cfg/cfg`; done
</code>
</pre>
<p>That one simple line will easily save you 1-2 minutes. </p>The post <a href="https://logs.paulooi.com/quick-file-copy-on-file-name-with-sample-extension.php">Quick File Copy on File Name with Sample Extension</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/quick-file-copy-on-file-name-with-sample-extension.php/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install FreeBSD 5.4 on Your Machine</title>
		<link>https://logs.paulooi.com/freebsd-54-installation.php</link>
					<comments>https://logs.paulooi.com/freebsd-54-installation.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Wed, 12 Oct 2005 08:05:14 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://www.takizo.com/blog/2005/10/12/freebsd-54-installation/</guid>

					<description><![CDATA[<p>FreeBSD is an advanced operating system for x86 compatible (including PentiumÂ® and Athlon â„¢), amd64 compatible (including Opteron â„¢, Athlon 64, and EM64T), Alpha/AXP, IA-64, PC-98 and UltraSPARCÂ® architectures. It is derived from BSD, the version of UNIXÂ® developed at...</p>
The post <a href="https://logs.paulooi.com/freebsd-54-installation.php">How to Install FreeBSD 5.4 on Your Machine</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="/wp-content/photos/October/bsd_beaties.jpg" width="105" height="98" alt="" align="left" vspace="3" hspace="3" />FreeBSD is an advanced operating system for x86 compatible (including PentiumÂ® and Athlon â„¢), amd64 compatible (including Opteron â„¢, Athlon 64, and EM64T), Alpha/AXP, IA-64, PC-98 and UltraSPARCÂ® architectures. It is derived from BSD, the version of UNIXÂ® developed at the University of California, Berkeley. It is developed and maintained by a  large team of individuals. Additional platforms are in various stages of development. <a href="http://www.freebsd.org/about.html">Click here to learn more</a> about Unix FreeBSD Operating System.</p>
<p>If you are still new to FreeBSD, here is the step by step installation. For your information, FreeBSD  clean installation(developer package) only took 10-15mins(depend on how powerfull is your server/laptop).</p>
<p>First of all, if you have fast/speedy internet connection, grab FreeBSD ISO online from <a href="http://www.freebsd.org/where.html">FreeBSD website</a>, it only take you few hours to download with a stable 512kbps internet speed. After you have downloaded FreeBSD ISO DISK1, burn it into a cd.. yes, of course cd, other than CD i can&#8217;t any other easier way <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_razz.gif' alt='P' />  Beside that, make the FreeBSD installation CD bootable ok? <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_smile.gif' alt=')' /> </p>
<p>After you boot up with the CD(I won&#8217;t cover how to boot up the CD, kind of silly/stupid), immediately you will see the installation menu as figure shown below;</p>
<p><a href="/wp-content/photos/October/01_custom.jpg"><img decoding="async" src="/wp-content/photos/October/_01_custom.jpg" width="400" height="222" alt="" /></a></p>
<p>Select Begin Custom installation(for experts), yes are you expert, because you guide by an expert <img src='http://www.paulooi.com/wp-includes/images/smilies/icon_razz.gif' alt='P' />  </p>
<p>Next, let partition your hard disk before the installation, select Partition!</p>
<p><a></a></p>
<p><a href="/wp-content/photos/October/02_partition.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_02_partition.jpg" width="400" height="222" alt="" /></a></p>
<p>OK, dun be panic see-ing the black and white with text, first, you need to create a &#8220;SWAP&#8221; partition, how to create a partition? Is an easy job, select the drive and press &#8220;C&#8221; and it will prompt up a screen as shown below;</p>
<p><a href="/wp-content/photos/October/02_partition_swap.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_02_partition_swap.jpg" width="400" height="222" alt="" /></a></p>
<p>Usually SWAP took up (your total RAM) X 2, let said you have total 512MB of RAM in your system, X2 is 1GB. Key in 1G partition and press enter. It&#8217;s not done yet, next create a partion again and leave the rest for the space for filesystem. Before you quit, remmeber set the new filesystem partition/boot drive as Bootable. Just select the drive and press &#8220;s&#8221; and &#8220;q&#8221; to quit/finished partition. It will look similar like below;</p>
<p><a href="/wp-content/photos/October/02_partition_active.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_02_partition_active.jpg" width="400" height="222" alt="" /></a></p>
<p>Set it as a standard boot manager</p>
<p><a href="/wp-content/photos/October/02_partition_boot.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_02_partition_boot.jpg" width="400" height="222" alt="" /></a></p>
<p>Next, select Label section now to lable your partitioned disks. First is your swap, select the partition with 1GB space and press &#8220;C&#8221;, Select SWAP &#8211; A swap partition from the menu as figure shown below;</p>
<p><a href="/wp-content/photos/October/03_create_swap.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_03_create_swap.jpg" width="400" height="222" alt="" /></a></p>
<p>and now, select another partition and press &#8220;C&#8221;, this partition will be a FS &#8211; A File System;</p>
<p><a href="/wp-content/photos/October/04_file_system.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_04_file_system.jpg" width="400" height="222" alt="" /></a></p>
<p>set the partition mount point as &#8220;/&#8221;, figure shown below. It will be the bootable drive for FreeBSD installation.</p>
<p><a href="/wp-content/photos/October/05_file_system_drive.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_05_file_system_drive.jpg" width="400" height="222" alt="" /></a></p>
<p>&#8220;Q&#8221; to quit partition labeling. Next, select a distributions for your installation. I recommend a light distri, so just select Developer distri. (others distribution packages might need 2nd or 3rd FreeBSD cds)</p>
<p><a href="/wp-content/photos/October/06_developer_package.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_06_developer_package.jpg" width="400" height="222" alt="" /></a></p>
<p><a href="/wp-content/photos/October/07_commit.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_07_commit.jpg" width="400" height="222" alt="" /></a><br />
Next is select commit to start your FreeBSD installtion, and don&#8217;t panic when you see&#8230;.</p>
<p>this<br />
<a href="/wp-content/photos/October/08_commit_confirm.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_08_commit_confirm.jpg" width="400" height="222" alt="" /></a><br />
That&#8217;s mean installation is about to start&#8230;.</p>
<p><a href="/wp-content/photos/October/09_installing.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_09_installing.jpg" width="400" height="222" alt="" /></a><br />
Figure above shown installation just stated and in process, leave it do the job for about 5-10mins.</p>
<p><a href="/wp-content/photos/October/10_configure_others.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_10_configure_others.jpg" width="400" height="222" alt="" /></a><br />
Installation DONE! and would you like to configure others stuff? ok.. let me guide you setup simple networking in a LAN.</p>
<p><a href="/wp-content/photos/October/11_networking_menu.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_11_networking_menu.jpg" width="400" height="222" alt="" /></a><br />
Select Networking from the configuration menu..</p>
<p><a href="/wp-content/photos/October/12_networking_interface.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_12_networking_interface.jpg" width="400" height="222" alt="" /></a><br />
Setup a network with a network Interface card.</p>
<p><a href="/wp-content/photos/October/13_networking_configure.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_13_networking_configure.jpg" width="400" height="222" alt="" /></a><br />
configure your gateway, name server and etc..</p>
<p><a href="/wp-content/photos/October/14_networking_up.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_14_networking_up.jpg" width="400" height="222" alt="" /></a><br />
and yaa.. bring up the network..</p>
<p><a href="/wp-content/photos/October/15_installation_done.jpg"><img loading="lazy" decoding="async" src="/wp-content/photos/October/_15_installation_done.jpg" width="400" height="222" alt="" /></a><br />
and now Exit installation and reboot your machine.. FreeBSD installation DONE!</p>
<p>For more information, check out FreeBSD very usefull and informative <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/">manual/handbook here</a></p>
<p>What to do next? I will blog about it next FreeBSD article!</p>The post <a href="https://logs.paulooi.com/freebsd-54-installation.php">How to Install FreeBSD 5.4 on Your Machine</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/freebsd-54-installation.php/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
