Treasure The World Solo Japanese Version by Yuri Chika

Tuesday, September 7, 2010 Posted by

This is one of the best Japanese Songs Solo by Yuri Chika

Enjoy the song icon smile Treasure The World Solo Japanese Version by Yuri Chika

PS: She is very beautiful isn’t she ? hehe icon razz Treasure The World Solo Japanese Version by Yuri Chika

Nobody Nobody But You by Wonder Girls – Funny Men Dance

Tuesday, September 7, 2010 Posted by

Nobody Nobody But You by Wonder Girls – Act by Men icon smile Nobody Nobody  But You by Wonder Girls   Funny Men Dance -Highly Recommended

This is so funny that I have to share with you all. Happened to know from one of my friend who showed to us during a group meeting. For those nobody nobody but you lovers, I bet you will laugh till you drop when you see this video, enjoy:

PS: I love to see the way the man dance when it says : Nobody Nobody But You.

Love is Color Blind By Sarah Conner (inc Lyrics)

Monday, September 6, 2010 Posted by

Nice English Love Songs!

Try them out : Love is Color Blind By Sarah Conner

Important paths for software installations from ports in FreeBSD

Tuesday, August 24, 2010 Posted by

Hi All,

I believe many of you do not remember the paths of the software installations in FreeBSD right?

I myself can forget and thus have to manully search them under the directory view.

So to help me and also you guys, I will start off this post to take note on all important paths of the software installation that is needed.

Here are the list below:

Apache22
/usr/ports/www/apache22

Cronolog for Apache
/usr/ports/sysutils/cronolog

Sudo
/usr/ports/security/sudo

PHP v5.2
/usr/ports/lang/php52/

PHP Extensions
/usr/ports/lang/php52-extentions

Suhosin for PHP
/usr/ports/security/php-suhosin/

Memcache module
/usr/ports/databases/pecl-memcache

Rsync
/usr/ports/sysutils/rsyncmanager/

That’s all for now, you can submit more info to me.

Thanks

How to install ports using FreeBSD CD Disc 1

Tuesday, August 24, 2010 Posted by

I believe many of you have been installing ports collections via the internet. However there may be a problem like:
1. internet is slow thus longer download time.
2. ports collection got updated and hence different version with other servers when install 6 months ago vs install today.  

If you experience the above, it is best you find for an alternatives, that is to install via CD 1 of the installation disk.  

How to do it? See the steps by steps below:  

1. Put in your FBSD CD 1
2. Login as root in the console and type : sysinstall
3. A menu will appear, choose Configure
4. Next Choose Distributions
5. Then scroll down to Ports and press space button to select and then choose ok button.
6. Choose your installation media to be CD/DVD Rom.  

Done that’s all! simple and easy.  

Screen shot see below:  

configure1 300x187 How to install ports using FreeBSD CD Disc 1

FreeBSD - sysinstall configure Menu

distributions 300x199 How to install ports using FreeBSD CD Disc 1

FreeBSD - sysinstall - configure - distributions menu

ports 300x222 How to install ports using FreeBSD CD Disc 1

FreeBSD - sysinstall - Configure - Distributions - Ports Menu

installation media 300x177 How to install ports using FreeBSD CD Disc 1

FreeBSD - sysinstall - configure - distributions - ports - installation-media

How to download files in FreeBSD via Console?

Wednesday, April 21, 2010 Posted by

For new linux uses who are used to using wget,  you will definetly be confused when come to FreeBSD system.  I have many people trying to search google and find how to download files in a FreeBSD environment, they want to know what is the alternative of wget command. See below for the solution:

1. Use the command call “fetch”.

Example:

mydomain# fetch http://www.angsari.com/wp-content/uploads/2010/04/Butterfly1.gif 

Results:

Butterfly1.gif                                100% of 5141  B 6485 kBps

Bingo that’s it, done.

Simple and easy solution for newbies on FreeBSD who are lost with wget.

Thank you

How to customized linux / FreeBSD log in screen?

Wednesday, April 21, 2010 Posted by

Have you been wondering how the system admins actually maanage to make such a nice log in in the terminal?

To do this:
1. Just edit /etc/motd
2. Put in the content:
eg.

FreeBSD 8.0-STABLE #Wed Apr 1 14:51:05 SGT 2010

Butterfly1 How to customized linux / FreeBSD log in screen?

Welcome to File Server…

//——Please Mind——–//

1. Everything will be logged.
2. Dont touch system configuration files.
3. If you found anything wrong with this server, just let me know!

admin@mydomain.com

3. That’s All , simple and easy way to create or modify the log in screen on linux / FreeBSD

Accept input from console – Basic Shell Script Guide 2

Tuesday, April 20, 2010 Posted by

Having the ability to get an input command from the input console is a very great tool to have in shell scripting,

So how do we go about doing it?

Here’s the sample that i have created for your reference:

Hint: to use “$#” & $1, $2 …

1. Create the shell script:
#!/bin/sh
n_input=”$#”;
counter=0;

echo “The number of input you give is $n_input”;

while [ "$counter" -le "$n_input" ]
#Note the above must have a space after the [ and before the ].
# -le means less than or equal to
do
echo “$counter”;
$counter++;
done
#We need to denote the done in when using while loop.

2. Next is how we call our script and put in the parameters:

bash# sh myscript.sh arg1 arg2 arg3

Note: In Shell Scripting, we use this hash symbol # , to denote a comment of the entire line. However if the hash symbol is followed by a ! symbol, it means that we are saying to the system that this line is not a comment but rather a special command, which in this case declaration to the system that we are using a shell scrpt. Same applies for the symbol $ followed by # ($#) , it denotes the no of input arguments to the shell script.

-That’s All !

Hope this is usefull for all of you.

Author: Angsari Toni

Basic Shell scripting guide part 1

Friday, March 5, 2010 Posted by

1. Do the declarations to notify the system that we are going to use a shell script for our code, thus start off with this:
#!/bin/sh

2. Always practise to set your directory paths eg.
insertlogs=”/usr/logs/insertlogs/”;
directorypath=”/usr/www/cronjobs/applications/”;

3. create a function to host each code:
A) Function Creation:
start_time()
{
   echo “== Program is starting at `date` ==” >> “$insertlogs”;
}
end_time()
{
 echo “== Program finish at `date` ==” >> “$insertlogs”;
}
B) Function Calling
start_time;
sleep 10;
end_time;