Archive for the ‘PC-BSD’ Category

Redesigned PC-BSD Website Launched

Posted on June 7th, 2011 by "PC-BSD RSS Feed - PC-BSD" from "PC-BSD RSS Feed - PC-BSD"

FreeBSD Foundation and iXsystems Announce IPv6-only Testing Versions of FreeBSD and PC-BSD

Posted on June 6th, 2011 by "PC-BSD RSS Feed - PC-BSD" from "PC-BSD RSS Feed - PC-BSD"

FreeBSD – CPU code in dmesg meanings

Posted on April 29th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD








Objective :
What are those CPU features flags means in "dmesg", e.g.
Features=0xfebfbff&ltFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS&gt
Features2=0x82982203&ltSSE3,PCLMULQDQ,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,
AESNI,&ltb31&gt&gt
AMD Features=0x28100000&ltNX,RDTSCP,LM&gt
AMD Features2=0x1&ltLAHF&gt
Read more »

FreeBSD – CPU code in dmesg meanings

Posted on April 29th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD








Objective :
What are those CPU features flags means in "dmesg", e.g.
Features=0xfebfbff&ltFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS&gt
Features2=0x82982203&ltSSE3,PCLMULQDQ,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,
AESNI,&ltb31&gt&gt
AMD Features=0x28100000&ltNX,RDTSCP,LM&gt
AMD Features2=0x1&ltLAHF&gt
Read more »

Exim – How to force deliver email from exim mail queue

Posted on April 25th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

Mail Server :
Exim

Purpose :
Make Exim to start deliver all frozen messages.
Read more »

Exim – How to force deliver email from exim mail queue

Posted on April 25th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

Mail Server :
Exim

Purpose :
Make Exim to start deliver all frozen messages.
Read more »

Mysql – Error about packet too big while importing sql database

Posted on April 22nd, 2011 by "PsyberMonkey" from "Scratching My Needs"












Q : While importing database in mysql, an error message pops out "ERROR 1153 (08S01) at line 232: Got a packet bigger than 'max_allowed_packet' bytes"
E.g.
$ mysql5 -u db_user -p db_table < db_table.sql 
Enter password: 
ERROR 1153 (08S01) at line 232: Got a packet bigger than 'max_allowed_packet' bytes
A : The file importing contains a statement that's probably

(Read more...)

Mysql – Error about packet too big while importing sql database

Posted on April 22nd, 2011 by "PsyberMonkey" from "Scratching My Needs"












Q : While importing database in mysql, an error message pops out "ERROR 1153 (08S01) at line 232: Got a packet bigger than 'max_allowed_packet' bytes"
E.g.
$ mysql5 -u db_user -p db_table < db_table.sql 
Enter password: 
ERROR 1153 (08S01) at line 232: Got a packet bigger than 'max_allowed_packet' bytes
A : The file importing contains a statement that's probably

(Read more...)

Subversion – Branching and merging to release, stable or something else

Posted on April 18th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Previously, we talk about the basic stuff of Subversion. This is still basic stuff :p


Is about managing source codes by branching. Branching is a way to have 2 or more sets of source code with each has it's own development, but eventually, merging them into the main trunk.

Example, in most development, we normally have "development" & "release"

(Read more...)

Subversion – Branching and merging to release, stable or something else

Posted on April 18th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Previously, we talk about the basic stuff of Subversion. This is still basic stuff :p


Is about managing source codes by branching. Branching is a way to have 2 or more sets of source code with each has it's own development, but eventually, merging them into the main trunk.

Example, in most development, we normally have "development" & "release"

(Read more...)

FreeBSD – How to check what services or port opening in tcp/udp

Posted on April 15th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

How to :
List/show what services or port is listening/opening.

Installation :
The command comes with base system.
Read more »

FreeBSD – How to check what services or port opening in tcp/udp

Posted on April 15th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

How to :
List/show what services or port is listening/opening.

Installation :
The command comes with base system.
Read more »

bash – working with ps

Posted on April 8th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

Objective :
To grab the process details of a pid, without resorting to parse the output of process status command , "ps" :
E.g.
ps aux | grep -i pid
Read more »

bash – working with ps

Posted on April 8th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Platform :
FreeBSD

Objective :
To grab the process details of a pid, without resorting to parse the output of process status command , "ps" :
E.g.
ps aux | grep -i pid
Read more »

Bash – How to debug Bash script

Posted on April 4th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Although Bash will spit out the errors onto the screen whenever it hits one, but some times, we want to know what exactly was being done every single command it executed.

This is how to do it :
Before running the bash script, do a :
set -x
then run the script and it'll be tell every action that it

(Read more...)

Bash – How to debug Bash script

Posted on April 4th, 2011 by "PsyberMonkey" from "Scratching My Needs"

Although Bash will spit out the errors onto the screen whenever it hits one, but some times, we want to know what exactly was being done every single command it executed.

This is how to do it :
Before running the bash script, do a :
set -x
then run the script and it'll be tell every action that it

(Read more...)

Perl – How to DOS your processor

Posted on April 1st, 2011 by "PsyberMonkey" from "Scratching My Needs"

Here's a way to maximize the CPU processor, Read more »

Perl – How to DOS your processor

Posted on April 1st, 2011 by "PsyberMonkey" from "Scratching My Needs"

Here's a way to maximize the CPU processor, Read more »

Sendmail – How to test sending email, verbosely using Sendmail

Posted on March 28th, 2011 by "PsyberMonkey" from "Scratching My Needs"




Mail Server :

Sendmail

Purpose :

To verbosely test sending of email using sendmail

Here how :

Prepare a file with name "mail.txt". This will be the email header & contents that we wanna include when test sending this email. The contents of the file should look like below :Read more »

Sendmail – How to test sending email, verbosely using Sendmail

Posted on March 28th, 2011 by "PsyberMonkey" from "Scratching My Needs"




Mail Server :

Sendmail

Purpose :

To verbosely test sending of email using sendmail

Here how :

Prepare a file with name "mail.txt". This will be the email header & contents that we wanna include when test sending this email. The contents of the file should look like below :Read more »