Tuesday, 30 December 2008

HSQL Database Manager Tool

Just as a quick aside at this point, start up the JMX console application and click on
the service=Hypersonic link which you’ll find under the section jboss. If you can’t
find this, make sure the Hypersonic service is enabled in the hsqldb-ds.xml file.
This will take you to the information for the Hypersonic service MBean.
Scroll down to the bottom of the page and click the invoke button for the
startDatabaseManager() operation. This starts up the HSQL Manager, a Java GUI
application which you can use to manipulate the database directly.

please see HSQL Manager for download and the code for addtional information

Before Running HSQL Manager , ensure your XAMPP/LAMPP already running
How To Install XAMPP/LAMPP see in here

1. The Result Unzip as below

type S$ sudo ./run_hsqlmanager.sh
for running HSQL Manager

2. Display HSQL Manager as below

3. HSQL Database Can Connect many Database type as below

I will continue in future, how to used it

Monday, 29 December 2008

ManDVD Creating Video

if you not install , please install 1st ManDVD as Here the Link

1. Start " ManDVD"

2. Arrange " Destination Folder "

3. Add Video or Photo for Slide Show and then click ' Next ' If Ready

4. If Choose Slide Show For Picture the Display as below

Add Picture ; Additional Picture
Import Folder ; Take All Picture in a Folder
Also you can Edit " Effect , Transition etc " to make nice slide show

try it :-) folks

Burn in using Brasero Disk Burning

How To Burn in Data/Image/Video in Linux as below;
1. Click --> Brasero Disc Burning

2. Choose What we Want to Burn in

3. Choose Which Folder or Files We Want to Burn in

4. All Files or Folder Which We Want To Burn in
Click " ADD " if Want To Add Files or Folder to Burn in
Click " BURN " if Want to Start Burn Process

5. Information Disc and Setting Burn In
Label : Name Of CD/DVD After Burn In
Click " BURN " to Process Burn in If Setting Already OK

6. Process Burn in

please try it :-)

Monday, 22 December 2008

ndiswrapper (Installation of Windows WIFI Driver)

If We want to Install Drive Wi_Fi in Mint , Ubuntu or BlankOn without Update Kernel
We Can Try using ndiswrapper

please update using Synaptic Package Manager
and Search " ndisgtk "

please continue in here

Album Photo using GTKRawGallery

We Arrange Our Photo memories using GTKRawGallery
1. Download GTKRawGallery http://gtkrawgallery.sourceforge.net/

2. Result unzip file as below

3. Click GTKRawGallery.py and See the result

enjoy it ;-)

Wednesday, 10 December 2008

Change login banner for Gnome (GDM) Desktop

Sometimes we want to make different Display Login Menu
Here We can Make It

Before start, please Download Gnome Login menu File in Internet

1. Go to " Login Menu "

2. tab go to "LOCAL" ---> Click " ADD "

3. Choose GDM File

4. Go to Local , See Result after Install and Choose Wanna to Display Login Menu

please Restart To See Final Result
enjoy it :-)

Create JAD for Jar in Linux (01)

Here is Code of Created JAD in Linux
Jad file we need to running Jar File in Java
With JAD and JAR , in our PC can running File such as Games Java in HandPhone Nokia, SE (Sony Erickson) etc

Save this as “jadmaker.sh”:

# Given a J2ME midlet jarball, create a JAD for it
# Usage: ./jadmaker.sh

# safety check 1
if [ ! -f "${FILE}" ]; then
echo "Input file '${FILE}' missing, exiting."
exit 1

# safety check 2
if [ -f "${JAD}" ]; then
echo "${JAD} already exists, overwrite? (y/N)"
read tmpans
answer=$(echo "$tmpans" | tr '[:upper:]' '[:lower:]')
if [ "$answer" != "y" ] && [ "$answer" != "yes" ]; then
echo "Not overwriting ${JAD}, exiting."
exit 1
rm -f "${JAD}"

# unzip the internal manifest, changing line endings to our local OS
# the sed action removes blank lines, with or without spaces/tabs
unzip -aa -j -p ${FILE} "META-INF/MANIFEST.MF" | sed -e '/^[ \t]*$/d' > "${JAD}"

# generic variables
echo "MIDlet-Jar-URL: ${FILE}" >> "${JAD}"
echo "MIDlet-Info-URL: http://" >> "${JAD}"

# actual jarball size
FILESIZE=$(stat -c%s "${FILE}")
echo "MIDlet-Jar-Size: ${FILESIZE}" >> "${JAD}"

# weee
echo "Created ${JAD}."
exit 0


Tuesday, 9 December 2008

NETSTAT in Linux

NETSTAT (network statistics) is useful for tracking down network problems. Use NETSTAT to
troubleshoot incoming or outgoing packet errors or to verify the presence of needed routes.
If you type netstat at the MS-DOS prompt, you see the protocol used, the name and local
address of the computer, and any connected computers and their current state

Netstat –a Displays all connections and listening ports
Netstat –e Displays Ethernet statistics
Netstat -n Displays addresses and numbers in numerical format
Netstat -s Displays the statistics of TCP/IP protocols: TCP, UDP, and IP

usage: netstat [-anv] [-f address_family]
netstat [-g | -p | -s] [-n] [-f address_family] [-P protocol]
netstat -m
netstat -i [-I interface] [-an] [-f address_family] [interval]
netstat -r [-anv] [-f address_family]
netstat -M [-ns] [-f address_family]
netstat -D [-I interface] [-f address_family]

Wednesday, 3 December 2008

XAMPP / LAMPP for Linux

Finally I Can Get My Projects Web Running in Linux
The Tools Need to Do
1. Download Xampp for Linux in http://www.apachefriends.org
such file as "xampp-linux-1.6.4.tar.gz"

2. Extract the downloaded archive file to /opt:

sudo tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt

Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

Warning 2: already installed XAMPP versions get overwritten by this command

3. Start Lampp/XAMPP
/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.6.8a...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.

4. http://localhost

5. Mysql Area --> http://localhost/phpmyadmin

6. Now try put File Projects as oscommerce in /opt/lampp/htpdocs

Here a list of missing security in XAMPP:

1. The MySQL administrator (root) has no password.
2. The MySQL daemon is accessible via network.
3. ProFTPD uses the password "lampp" for user "nobody".
4. PhpMyAdmin is accessible via network.
5. Examples are accessible via network.
6. MySQL and Apache running under the same user (nobody).

To fix most of the security weaknesses simply call the following command:

/opt/lampp/lampp security

Parameter Description
start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
startapache Starts only the Apache.
startssl Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
startmysql Starts only the MySQL database.
startftp Starts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
stopmysql Stops the MySQL database.
stopftp Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.
security Starts a small security check programm.

Good Luck :-)
Now I Can Focus Total Web in Linux

Monday, 1 December 2008

How To Install Webmin in Linux Ubuntu/Mint

Step by Step Install Webmin
1. provide file "webmin_1.441_all.deb" in http://www.webmin.com/deb.html

If you are using the DEB version of webmin, first download the file and then run the command :
dpkg --install webmin_1.441_all.deb

If Debian complains about missing dependencies, you can install them with the command :
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line : deb http://download.webmin.com/download/repository sarge contrib You should also fetch and install my GPG key with which the repository is signed, with the commands : cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc You will now be able to install with the commands : apt-get update
apt-get install webmin

2. http://localhost:10000/

The install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/ .

3. Now You Arrange Your Web Server such as E-mail, FTP, Sharing , Apache , etc

enjoy it :-)

Thursday, 27 November 2008

ZYGO Instrument Measurement

Since the introduction of our first commercial interferometer over 35 years ago ZYGO continues to maintain the leadership role in surface form metrology. Thousands of ZYGO interferometers are installed worldwide and relied upon daily to provide accurate production metrology of optical components and assemblies that affect our daily lives. Applications span across a wide range of applications in numerous industries including consumer electronics, ophthalmic, semiconductor and defense & aerospace. ZYGO is the one optical metrology company that is trusted across the globe to qualify the worlds most critical optics. Shouldn't you be using a ZYGO?

VeriFire Series - The ideal choice for accurate metrology of surface form for quality control, R & D, production test applications. The VeriFire family of interferometers are quantitative phase shifting interferometers for use in the measurement of flat, spherical and aspheric optics.

Large Aperture Systems - ZYGO's large aperture beam expanders are an optional extension to the VeriFire and GPI Series of interferometer mainframes. The beam expanders are configured to provide both a standard 4" measurement beam and a large aperture metrology source. Large Aperture Systems are available for static and phase measuring applications with 12", 18" 24" and 32" apertures.

GPI Series - The GPI series of interferometers include production metrology solutions that offer qualitative visual fringe metrology and dynamic acquisition for applications with in environments with extreme vibrations.

PTI 250 Series - A compact series of interferometers operating at a wavelength of 650 nm with aperture options of 6 mm, 25 mm and 50 mm. The PTI250 interferometer is the ideal solution for production metrology of small optics and assemblies.

DVD400 Series - The DVD400 series of interferometers provides high-accuracy transmitted wavefront metrology of DVD optical components at an operational wavelength of 405 nm.

Expanded Wavelength Capabilities - ZYGO's precise phase-shifting interferometer solutions are available in several additional wavelengths ranging from 248 nm to 10.6 ┬Ám.

Accessories - ZYGO qualifies all of our accessories to ensure optimal interferometer performance. Our accessories include transmission and reference optics, opto-mechanical mounts and fixtures, radius of curvature hardware and vertical mounting options.

Upgrades - ZYGO interferometers are built to last. As technology advances ZYGO offers the ability to upgrade existing systems to current state-of-the art capabilities.

Typical Interferometer Setups - A brief overview of some of the interferometric measurement techniques commonly used in the optics industry.

Zygo Can Do as below
1. Measure Surface of Device in Nano Measurement
2. Programming Measure For Mass Measurement of Device
3. If any nano burr with Zygo We Can Get and Capture it


Wednesday, 26 November 2008

Apt-Get -----> History Ubuntu/Mint/Blankon...

The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced

Packaging Tool (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system.

Being a simple command-line tool, apt-get has numerous advantages over other package management tools available in Ubuntu for server administrators.

Some of these advantages include ease of use over
simple terminal connections (SSH) and the ability to be used in system administration scripts,
which can in turn be automated by the cron scheduling utility.

Some examples of popular uses for the apt-get utility:

• Install a Package: Installation of packages using the apt-get tool is quite simple.

For example, to
install the network scanner nmap, type the following:
sudo apt-get install nmap

• Remove a Package: Removal of a package or packages is also a straightforward and simple process.

To remove the nmap package installed in the previous example, type the following:

sudo apt-get remove nmap

Multiple Packages: You may specify multiple packages to be installed or removed,
separated by spaces.

• Update the Package Index: The APT package index is essentially a database of available
packages from the repositories defined in the /etc/apt/sources.list file. To update the local package index with the latest changes made in repositories, type the following:

sudo apt-get update

• Upgrade Packages: Over time, updated versions of packages currently installed on your computer
may become available from the package repositories (for example security updated).

To upgrade
your system, first update your package index as outlined above, and then type:

sudo apt-get upgrade

If a package needs to install or remove new dependencies when being upgraded, it will not be upgraded by the upgrade command. For such an upgrade, it is necessary to use the dist-upgrade
Also, you may upgrade your entire Ubuntu system from one revision to another with dist-upgrade.
For example, to upgrade from Ubuntu version 5.10 to version 6.10, you would first ensure
the version 6.10 repositories replace the existing 5.10 repositories in your computer's

/etc/apt/sources.list, then simply issue the apt-get update command as detailed above, and
finally, perform the actual upgrade by typing:

sudo apt-get dist-upgrade

After a fairly considerable amount of time, your computer will be upgraded to the new revision.
Typically, some post-upgrade steps would be required as detailed in the upgrade notes for the
revision you are upgrading to.

Actions of the apt-get command, such as installation and removal of packages, are logged in the

/var/log/dpkg.log log file.

For further information about the use of APT, read the comprehensive Debian APT User

[http://www.debian.org/doc/user-manuals#apt-howto] or

apt-get help

Tuesday, 25 November 2008

Quick Vision APEX Instrument

This Instrument Maker from Mitutoyo
With this Instrument We Can get
1. Measure X , Y and Z Coordinate
2. Scanning Surface of part by Laser
3. Programming Measurement for Mass Checking Measurement
4. High Accuracy Result
5. Video Image Capture
6. Checking In Z (Depth) without Touching ( by LASER)
7. QBasic Editor for programming
8. Checking Shape of Surface with Picture
9. etc

this instrument very power full
we get all dimension as we want use this instrument

Good luck ;-)

CMM (Cordinate Measurement Machine), CNC

This Instrument can Measure in X , Y and Z position (3D)

in CMM We Can Create
1. Measure All Parts X,Y and Z
2. Create Programming measurement for mass measurement
3. Drawing Actual Part With Touching Method ( Become Real Measurement in Part)

I will Come Back Again with CMM
I have Experience touch this measurement with 5 years
nice instrument for measurement
good luck :-)

Sunday, 23 November 2008


Here is 2 Method , pls go through one by one

1)This thing has been tryied on redhat 7.1
-Modify the file /etc/sysconfig/desktop
Insert the name of desktop that will start, es. fvwm2
Modify the file /etc/X11/xinit/Xclients replacing the name of predefined desktop (GNOME)
with fvwm2.
Modify the file /etc/X11/xinit/xinitrc.d/xinput replacing the name of desktop predefined
(GNOME) with fvwm2.
Create the file .xinitrc inside the directory of the user or root and write inside:
Modify the file /etc/rc.d/rc.local inserting on the first row (or replacing the first row) with:
After this row write the path of file .xinitrc and after the written startx, resuming:
cd /root & startx
cd /root & startx fvwm2
At this point reboot pc and see the result.

2)Inserting a user with the home and the group of belongings.
Modify the file /etc/profile
inserting these dates:
export HOME
Save the file.
Enter in /etc/inittab disabling from row Run gettys until the end putting a # in front of all the
Over the row Run getty insert another row:
1:12345:wait:/bin/bash -login
Save the file and reboot. At start enter such as user withou insert username and password.
If inside /home/user we insert a file .xinitrc where we write graphic desktop to start for
example fvwm2. It's possible to copy the file /etc/X11/fvwm2/system.fvwm2rc inside
/home/user and rename it in .fvwm2rc
Inside file .bash_profile at the end write startx, so will start the graphic automatically.
Rebooting the pc we will enter such as user and automatically will start the X chosen.

reference : http://www.softwarelibero.it/gnudoc/fdl.it.html

Thursday, 20 November 2008

Installing LAMP On Ubuntu

How to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux.

Install Apache
To start off we will install Apache.

1. Open up the Terminal (Applications > Accessories > Terminal).

2. Copy/Paste the following line of code into Terminal and then press enter:

sudo apt-get install apache2

3. The Terminal will then ask you for you're password, type it and then press enter.

Testing Apache
To make sure everything installed correctly we will now test Apache to ensure it is working properly.

1. Open up any web browser and then enter the following into the web address:


You should see a folder entitled apache2-default/. Open it and you will see a message saying "It works!" , congrats to you!

Install PHP
In this part we will install PHP 5.

Step 1. Again open up the Terminal (Applications > Accessories > Terminal).

Step 2. Copy/Paste the following line into Terminal and press enter:

sudo apt-get install php5 libapache2-mod-php5

Step 3. In order for PHP to work and be compatible with Apache we must restart it. Type the following code in Terminal to do this:

sudo /etc/init.d/apache2 restart

Test PHP
To ensure there are no issues with PHP let's give it a quick test run.

Step 1. In the terminal copy/paste the following line:

sudo gedit /var/www/testphp.php

This will open up a file called phptest.php.

Step 2. Copy/Paste this line into the phptest file:

Step 3. Save and close the file.

Step 4. Now open you're web browser and type the following into the web address:


The page should look like this:

Test PHP Page

Congrats you have now installed both Apache and PHP!

Install MySQL
To finish this guide up we will install MySQL. (Note - Out of Apache and PHP, MySQL is the most difficult to set up. I will provide some great resources for anyone having trouble at the end of this guide.)

Step 1. Once again open up the amazing Terminal and then copy/paste this line:

sudo apt-get install mysql-server

Step 2 (optional). In order for other computers on your network to view the server you have created, you must first edit the "Bind Address". Begin by opening up Terminal to edit the my.cnf file.

gksudo gedit /etc/mysql/my.cnf

Change the line

bind-address =

And change the to your IP address.

Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:

mysql -u root

Following that copy/paste this line:

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');

(Make sure to change yourpassword to a password of your choice.)

Step 4. We are now going to install a program called phpMyAdmin which is an easy tool to edit your databases. Copy/paste the following line into Terminal:

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

After that is installed our next task is to get PHP to work with MySQL. To do this we will need to open a file entitled php.ini. To open it type the following:

gksudo gedit /etc/php5/apache2/php.ini

Now we are going to have to uncomment the following line by taking out the semicolon (;).

Change this line:


To look like this:


Now just restart Apache and you are all set!

sudo /etc/init.d/apache2 restart

Reference : http://www.howtoforge.com

Wednesday, 19 November 2008

Auto Read for CDROM, FLOOPY and FLASH Drive

Thank you InfoLinux (Nopriadi) for publish the code as below
Easy to Newbie for understanding

#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoRead (CDROM)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
DESTDIR=/tmp/cdrom-data/`date +%d-%m-%Y--%H:%M:%S`
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
if [ $? -ne 0 ]
ADIALOG --infobox 'IDLE: Masukkan CDROM Anda' $DIALOG_SIZE
ADIALOG --infobox 'CDROM terdeteksi' $DIALOG_SIZE
sleep 1
#copying data
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membaca data' $DIALOG_SIZE
[ -d $DESTDIR_CONTENT ] && rm -rf $DESTDIR_CONTENT 1>/dev/null 2>&1
mkdir -p $DESTDIR 2>>$LOGFILE
umount $TEMP 2>> $LOGFILE
#creating image
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membuat image' $DIALOG_SIZE
dd if=$DEV of=$DESTDIR_IMAGE bs=$DD_BS seek=0 1>/dev/null 2>&1
[ $? -ne 0 ] && echo "dd-error" >> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam pembacaan.\nKeluarkanlah CDROM
Anda,\nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah CDROM Anda,\nKemudian tekan ENTER'
rm -f $LOGFILE
sleep 1
rmdir $TEMP
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoWrite (CDROM)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
cdrecord -dev=$DEV -atip 1>/dev/null 2>&1
if [ $? -ne 0 ]
ADIALOG --infobox 'IDLE: Masukkan CDROM Blank Anda' $DIALOG_SIZE
ADIALOG --infobox 'CDROM terdeteksi' $DIALOG_SIZE
sleep 1
#creating image
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membakar CD' $DIALOG_SIZE
cdrecord gracetime=2 dev=$DEV speed=$SPEED $SRCDIR_IMAGE 1>/dev/null 2>&1
[ $? -ne 0 ] && echo "cdrecord-error" >> $LOGFILE
eject $DEV_NODE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam proses burn.\nTutup tray CDROM dan tekan
ADIALOG --msgbox 'Selesai.\nTutup tray CDROM dan tekan ENTER.' $DIALOG_SIZE
rm -f $LOGFILE
sleep 3
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoRead (FLOPPY DISK)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
DESTDIR=/tmp/floppy-data/`date +%d-%m-%Y--%H:%M:%S`
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
if [ $? -ne 0 ]
ADIALOG --infobox 'IDLE: Masukkan Floppy Disk Anda' $DIALOG_SIZE
ADIALOG --infobox 'Floppy Disk terdeteksi' $DIALOG_SIZE
sleep 1
#copying data
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membaca data' $DIALOG_SIZE
[ -d $DESTDIR_CONTENT ] && rm -rf $DESTDIR_CONTENT 1>/dev/null 2>&1
mkdir -p $DESTDIR 2>>$LOGFILE
umount $TEMP 2>> $LOGFILE
#creating image
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membuat image' $DIALOG_SIZE
dd if=$DEV of=$DESTDIR_IMAGE bs=$DD_BS seek=0 1>/dev/null 2>&1
[ $? -ne 0 ] && echo "dd-error" >> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam pembacaan.\nKeluarkanlah Floppy Disk
Anda,\nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah Floppy Disk Anda,\nKemudian tekan ENTER'
rm -f $LOGFILE
sleep 1
rmdir $TEMP
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoWrite (FLOPPY DISK - CONTENT)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
if [ $? -ne 0 ]
ADIALOG --infobox 'IDLE: Masukkan Floppy Disk Anda' $DIALOG_SIZE
ADIALOG --infobox 'Floppy Disk terdeteksi' $DIALOG_SIZE
sleep 1
#copying data to floppy
ADIALOG --infobox 'Tunggulah sebentar...\nSedang mengopi data ke floppy' $DIALOG_SIZE
umount $TEMP 2>> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam penulisan.\nKeluarkanlah Floppy Disk Anda,\
nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah Floppy Disk Anda,\nKemudian tekan ENTER'
rm -f $LOGFILE
sleep 1
rmdir $TEMP
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoWrite (FLOPPY DISK - IMAGE)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
if [ $? -ne 0 ]
ADIALOG --infobox 'IDLE: Masukkan Floppy Disk Anda' $DIALOG_SIZE
ADIALOG --infobox 'Floppy Disk terdeteksi' $DIALOG_SIZE
sleep 1
umount $DEV
#creating image
ADIALOG --infobox 'Tunggulah sebentar...\nSedang menulis image ke floppy' $DIALOG_SIZE
dd if=$SRCDIR_IMAGE of=$DEV bs=$DD_BS seek=0 1>/dev/null 2>&1
[ $? -ne 0 ] && echo "dd-error" >> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam penulisan.\nKeluarkanlah Floppy Disk Anda,\
nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah Floppy Disk Anda,\nKemudian tekan ENTER'
rm -f $LOGFILE
sleep 1
rmdir $TEMP
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoRead (USB FLASH DISK)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
DESTDIR=/tmp/usbflashdisk-data/`date +%d-%m-%Y--%H:%M:%S`
if [ ! -e $DEV ]
ADIALOG --infobox 'IDLE: Masukkan USB Flash Disk Anda' $DIALOG_SIZE
ADIALOG --infobox 'USB Flash Disk terdeteksi' $DIALOG_SIZE
sleep 1
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
#copying data
ADIALOG --infobox 'Tunggulah sebentar...\nSedang membaca data' $DIALOG_SIZE
[ -d $DESTDIR_CONTENT ] && rm -rf $DESTDIR_CONTENT 1>/dev/null 2>&1
mkdir -p $DESTDIR 2>>$LOGFILE
umount $TEMP 2>> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam pembacaan.\nKeluarkanlah USB Flash Disk
Anda,\nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah USB Flash Disk Anda,\nKemudian tekan
rm -f $LOGFILE
rmdir $TEMP
sleep 1
unalias ADIALOG
rmdir $TEMP
#nop, 2007, GPL
LOGFILE=/tmp/`basename $0`.log
alias ADIALOG="dialog --backtitle 'AutoWrite (USB FLASH DISK)'"
if [ $(id -u) -ne 0 ]
ADIALOG --msgbox 'Jalankanlah aplikasi ini sebagai root' $DIALOG_SIZE
exit 1
while [ 1 ]
if [ ! -e $DEV ]
ADIALOG --infobox 'IDLE: Masukkan USB Flash Disk Anda' $DIALOG_SIZE
ADIALOG --infobox 'USB Flash Disk terdeteksi' $DIALOG_SIZE
sleep 2
TEMP=/tmp/$0.`date +%s`.temp
mkdir -p $TEMP 1>/dev/null 2>&1
mount $DEV $TEMP 1>/dev/null 2>&1
#copying data to USB Flash Disk
ADIALOG --infobox 'Tunggulah sebentar...\nSedang mengopi data ke USB Flash Disk'
umount $TEMP 2>> $LOGFILE
TEST=`wc -c $LOGFILE | cut -d' ' -f1`
if [ $TEST -ne 0 ]
ADIALOG --msgbox 'Terjadi kesalahan dalam penulisan.\nKeluarkanlah USB Flash Disk
Anda,\nKemudian tekan ENTER' $DIALOG_SIZE
ADIALOG --msgbox 'Selesai.\nKeluarkanlah USB Flash Disk Anda,\nKemudian tekan
rm -f $LOGFILE
rmdir $TEMP
sleep 1
unalias ADIALOG
rmdir $TEMP

Reference : INFOLINUX

Tuesday, 18 November 2008

Block Site PORN used squid.conf

=http://linux2.arinet.org =
= Wrote as below ===========

This Good For My Reference

Prinsip Kerja :
Pada prinsipnya ada beberapa cara untuk memblokir situs porno
dengan mengatur file konfigurasi "squid.conf" :
1. Menyaring berdasarkan nama domain atau URL lengkap, misalnya
memblokir situs "www.playboy.com" maka cukup ditambahkan dua
baris berikut ini :
acl bad dstdomain www.playboy.com
http_access deny bad
Kelemahan cara ini, situs "playboy.com" masih bisa diakses dan juga
akan banyak acl yg harus di definisikan. Solusinya dengan cara
membuat file khusus yg berisi daftar situs-situs yang diblokir sehingga
konfigurasinya menjadi sbb :
acl bad dstdomain "/etc/squid/sex"
http_access deny bad
dan isi file "/etc/squid/sex" misalnya sbb:
2. Menyaring berdasarkan kata yang terkandung pada nama domain,
misalnya saya ingin memblokir situs yang mengandung kata "nude"
maka konfigurasinya sbb :
acl bad url_regex -i nude
http_access deny bad
atau dengan membuat file khusus berisi daftar kata-kata yang dilarang
maka sbb:
acl bad url_regex -i "/etc/squid/badwords"
http_access deny bad
dan isi file "/etc/squid/badwords" misalnya sbb:
3. Kedua cara diatas masih lemah karena situs "playboy.com" masih
bisa diakses jika Anda tahu IP address situs tersebut. Tentunya hal ini
terjadi jika client komputer Anda pada pinter-pinter, jika hal diatas
masih belum mencukupi maka hal yang cukup berat harus kita
lakukan yaitu dengan cara membuat file daftar IP address situs-situs
yang diblokir. Hal ini bisa dilakukan dengan menggunakan utility
nslookup, misal #nslookup playboy.com.
Contoh Konfigurasi :
OK deh, cukup masalah teorinya. Berikut ini adalah konfigurasi squid
yang saya buat dengan menggunakan cara ke-2 untuk memblokir
beberapa situs porno :
1.) Konfigurasi "/etc/squid/squid.conf"
http_port 8080
icp_port 0
cache_mem 80 MB
maximum_object_size 256 KB
cache_dir ufs /cache 200 16 256
memory_pools_limit 32 MB
redirect_rewrites_host_header off
replacement_policy GDSF
half_closed_clients off
#-----------transparent proxy -----------
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl QUERY urlpath_regex cgi-bin ?
no_cache deny QUERY
acl all src
acl localhost src
acl lan src
acl Safe_ports port 80 443 210 119 563 70 21 1025-65535
acl notsex url_regex -i "/etc/squid/notsex"
acl sex url_regex -i "/etc/squid/sex"
no_cache deny SEX
http_access allow notsex all
http_access deny sex all
http_access allow lan
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all
#---------------- administration info ------------
cache_mgr alfinux@telkom.net
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
cachemgr_passwd mypassword all
forwarded_for off
buffered_logs on
visible_hostname alfinuke.edcentral.pdk
ftp_user squid@edcentral.pdk
2.) Buat daftar situs yang diblokir (vi /etc/squid/sex) dengan editor
favorit Anda.
Dan berikut ini file daftar situs yg di blokir baik berdasarkan kata
maupun nama situs (/etc/squid/sex):

3.) Daftar situs exceptions (pengecualian ;-) ) (vi /etc/squid/notsex)
Dan satu lagi daftar situs yang bukan termasuk situs porno, sebagai
pencegahan agar tidak diblokir :
Walaupun dengan beberapa kelemahan yang ada, tapi cara-cara yang
digunakan masih cukup efektif untuk mencegah para pengguna
Internet pemula mengakses situs-situs yang tidak baik. Dan tentunya
tugas Anda sebagai Administrator dari proxy server tersebut adalah
menjaga agar Anda tidak kalah dengan client yang lain dalam hal
perbendaharaan situs "nude" yang diaksesnya. Tentu saja dengan
selalu mengupdate file-file daftar tersebut (/etc/squid/sex dan
/etc/squid/notsex). Jika ternyata ada situs yang client Anda ingin
akses dan ternyata diblokir, maka nama situs tersebut bisa Anda
masukkan pada daftar di "/etc/squid/notsex".
Halaman Peringatan/Redirector
Dan untuk sedikit peringatan kepada client bahwa kita mengawasi
aktivitas mereka, bisa dilakukan dengan memodifikasi file "/etc/squid
/errors/ERR_ACCESS_DENIED" dan masukkan sedikit javascript untuk
meredirect ke situs lain, contoh yang saya lakukan sbb yang akan
mengarahkan client ke situs intranet atau situs lain (biar insyaf, eling
atuh !!! :)) :
#--------------- /etc/squid/errors/ERR_ACCESS_DENIED
< HTML >< HEAD >
< TITLE >ERROR: The requested URL could not be retrieved < / TITLE >
var howMany = 10; // jumlah situs pengganti
var page = new Array(howMany+1);
function rndnumber(){
var randscript = -1;
while (randscript < 0 || randscript > howMany || isNaN(randscript)){
randscript = parseInt(Math.random()*(howMany+1));
return randscript;
quo = rndnumber();
quox = page[quo];
##--< /HEAD >##
##--< BODY >##
##--< H1 >ERROR< / H1 >##
##--< H2 >The requested URL could not be retrieved< / H2 >
While trying to retrieve the URL:
The following error was encountered:
Access Denied.
Access control configuration prevents your request from
being allowed at this time. Please contact your service provider if
you feel this is incorrect.
Your cache administrator is %w.
#--------------- /etc/squid/errors/ERR_ACCESS_DENIED
Linux@Arinet.org - Memblokir akses ke situs web dengan squid http://linux2.arinet.org/index.php?option=com_content&task=view&id...
Pengembangan lebih lanjut dari blokir akses ini bisa menggunakan
aplikasi pihak ketiga di bawah ini dan kalau ada waktu mungkin akan
saya buat artikel penggunaannya ;-) :
- http://blacklist.dansguardian.org/ (DanGuardian)
- http://www.squidguard.org/ (SquidGuard)
Penutup :
Demikian tulisan yang cukup panjang ini. Mudah-mudahan ada
penyempurnaan dan tambahan dari para master sekalian. Terima
kasih saya ucapkan kepada rekan-rekan di milis linuxadmin@
linux.or.id dan juga Master Onno ;-). Kritik,saran maupun
pertanyaan silakan japri ke alfinux@telkom.net.
Referensi :
- Securing & Optimizing Linux : RedHat Edition by Gerhard Mourani
- Squid.conf
- http://web.onda.com.br/orso/sxcontrol.html
- http://blacklist.dansguardian.org/

Sunday, 16 November 2008

so Easy to Extra .iso in Linux

when We Want to convert .iso to Cd / Dvd which can Read , we need some of software help to do it ( Windows ), but in Linux, we just Click and enjoy it :-)

1. Prepare of ISO file

2. Process of Copy to CD / DVD

3 Result of Copy to CD / DVD

finished ;-)

Friday, 14 November 2008

Synaptic Package Manager Error

During I Click The Software I Want To Install
During Process Install , I STOP the INSTALL
and Become When I Open Synaptic Package Manager Error
How To Return Back to Normal

I Just Do
$ sudo dpkg --configure -a

as below

Now My laptop Normal Back

Tuesday, 11 November 2008

I’m your father, Linux Mint , Blankon

coz of Ubuntu We Create Master, they will become another ubuntu such as Mint, Blankon ...
While ignoring the reference to Star Wars, Linux Mint is based on Ubuntu 8.04 LTS (Hardy Heron), which guarantees long term-support, APT package manager with the huge library and the best hardware compatibility so far.

Linux Mint benefits from the huge Ubuntu community, forums, websites; almost all tutorials written for Ubuntu work with Linux Mint.

Getting Linux Mint is fairly easy process: hit the download link, burn the .iso image and boot from the CD. You’re greeted with a fully functional desktop and a choice to install it – the same Ubuntu wizard we’re used to.

There’s no noticeable difference in boot-up time or install time, considering you’re getting a lot of extras from the start.
What’s new?

* Out of the box support for media playback, everything from .xvid to .avi, mp3 and flac. Default player: Rhythmbox, MPlayer.
* Easy wizard for installing proprietary ATI/nVidia drivers, with some additional options not included in the default Hardware Drivers app. Default player: MPlayer.
* Sun Java and Adobe Flash support out of the box.
* Drops the Ekiga package and adds an IRC client.
* Compiz Settings Manager: Allows advanced configuration options to the compositioning engine.
* Mint Update: An application specifically written from Linux Mint that allows users to install updates while providing a safety-level indicator, allowing un-experienced users to skip updates that may need further configuration or are not compatible with Mint.
* Mint Desktop: A configuration tool for various settings regarding the desktop. Makes useful stuff like hiding the mounted devices a one click affair.
* Mint Assistant: A first-time configuration tool that let’s you choose to enable the root password and terminal quotes.
* Mint Install: Allows installation of new applications from a simple 3 tab interface: .mint, getdeb.net and the APT repository. Useful for newbies, and definitely faster than loading Synaptic Package Manager.

Mint Backup: Easy wizard for setting up a backup.

Initially skeptical about the elegance part, once it booted-up I was in love. The attention given to every aspect of the interface is unbelievable. From the GRUB boot logo to the login, and desktop, everything inspires elegance. Even the start-up sound is nice – the first time I didn’t disable it.

The main menu resembles KDEs’ implementation – which initially made me wonder if this is Gnome

No operating system is perfect, and Linux Mint is no exception.

* Not up-to-date with with the latest improvements in Ubuntu – 8.10 features like the new Network Manager are not yet implemented.
* Doesn’t have the commercial backing of a corporation like Canonical or Novell.
* The release schedule fluctuates. New features might be just around the corner or not implemented at all.
* Google Custom Search instead of Google in Firefox. Can be fixed with ‘Add to search bar’ addon.


A lot of people may argue that the changes in Linux Mint are not that innovative or new. Some people will argue that you could spend a couple of hours and mod the Gnome panel to resemble Mints’. You can install all the Mint apps for Ubuntu. You can install ubuntu-restricted-extras by yourself.

mydesktop [Geek Review] Linux Mint: A better Ubuntu

But that takes time – and why waste that when you can have everything you need out of the box? Linux Mint convinced me, and now has its own partition.


Monday, 10 November 2008

Backup Data Using Areca in Ubuntu

As We Know That Data is Very Important in Our Job for Tracking, Memories etc

Here is Software Data Backup in Linux.

Install Areca File : areca_6.0.7-ubuntu-gtk-32.deb

Ok Now We Not Worry About Our Data

Sunday, 9 November 2008

Ubuntu 8.10 Intrepid Ibex sources.list

Just For Remember Link of Ubuntu 8.10
deb http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu intrepid-backports partner
deb http://archive.canonical.com/ubuntu intrepid-proposed partner
deb http://archive.canonical.com/ubuntu intrepid-security partner
deb http://archive.canonical.com/ubuntu intrepid-updates partner
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
deb http://packages.medibuntu.org/ intrepid free non-free
deb-src http://packages.medibuntu.org/ intrepid free non-free
deb http://download.skype.com/linux/repos/debian/ stable non-free
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

Saturday, 8 November 2008

Create Movie DVD using ManDVD

After We Round in google.com, I Found SOftware How To Created Movie in Linux

1. Install ManDVD using Synaptic or APT
ManDVD 2.5-0~getDeb1_i386.deb

2. Running ManDVD

Now You Created Movie in DVD for Photo, Video, etc

enjoy it.....

Thursday, 6 November 2008

AdminTool in Solaris OS

When I Use Admintool in UNIX Solaris
I Found Admintool can created printer Sharing

Solaris Desktop

type $ admintool

from there , we can manage printer sharing in UNIX

Tuesday, 4 November 2008

Setting Grub in LINUX

If We Want To See , List of Boot During Start Up
$ more \boot\grub\menu.lst

as below

If we want to Microsft Windows XP Professional Not Display during BOOT
Put # Before Title

Want To Change it
$ cd /boot/grub
$ vi menu.lst
# Title Microsoft Windows...


enjoy it :-)

Monday, 3 November 2008

How To Run .EXE Windows File in Mint / Ubuntu

During Transfer to Linux, many User Want to Running Windows File in Linux such as WinAMP, Games , all still under ext EXE

We Need As below Action
1. Install "Wine" using Package Manager or APT
Result After Install as below

2. Install Windows File such as WinAMP



4. Enjoy Your Program Windows

Now We Did Not Worry If We Want To Move to LINUX OS :-)

Sunday, 2 November 2008

Sharing Folder in Linux Mint or Ubuntu

Now If We Want Sharing to File in Linux OS very Easy to Set
Old One We Need Setting in smb.conf or NFS file

Step by Step Sharing Folder
1. Ensure Samba, SMB and NFS File Install in System

2. Click Sharing Folder as below

3. Set Which Folder We Want To Sharing

Wednesday, 29 October 2008

Setup Repositories Linux Mint in Local using DEB UBUNTU

Here I Would like to update Linux Mint using DEB File Using Ubuntu DEB
We Need such as Tea, MP3, POP Mie :-)

Step by Step
1. Copy All DVD DEB Ubuntu in Local Linux Mint
Folder Disks and Pool, and Create Folder for Disk 1 = 1 , Disk 2 = 2
Example : ///media/disk/REPO_UBUNTU/1
///media/disk/REPO_UBUNTU/2 ---- till all DVD Ubuntu
2. Type $ CHMOD -R 777 * ---> For All Folder We Have Done Copy
3. Click Package Manager

2. Click Setting ---> Repositories

3. Type Setting Repositories

note :
also you can add in /etc/apt/sources.list

4. Click RELOAD for Ensure your Setting is Correct

5. Now You Add Software as you want