Setup Virtual IP Address in Ubuntu Jaunty (9.04)


For your ubuntu, is more than one ip address (second IP address), you simply edit /etc/network/interface file, for more complete and he went on, we follow these steps:
Login as root by type :

$ sudo su
$ gedit /etc/network/interfaces



auto eth0
iface eth0 inet static
address 192.168.2.3
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x

 # add following line to last. for second ip address

auto eth0:1
iface eth0:1 inet static
address 192.168.2.30
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
 After you added the following line, restart your network service by type :

$ /etc/init.d/networking restart


Happy Testing...!!

Read More...!!

Remove a .deb Package Manually in Ubuntu


At Ubuntu system damaged due to an incompatible .deb packages. we must remove, usually to remove the package must be manually. to remove a .deb package manually, follow these steps :

For this , you can try the following. ( Assuming aspell is the broken package)
Login As root by type :





$ sudo su
$ apt-get remove aspell
$ dpkg -P aspell
$ dpkg –force-all -r aspell


if by way of the above still fails, use the following command, and remove the packages one by one. good luck.....!!!!

$ dpkg -L aspell


Happy Testing....!!!
Read More...!!

Upgrade Pidgin To Version 2.5.8 in Ubuntu Jaunty (9.04)


In the previous post of pidgin, this application can not connect to yahoo, because here  the setting on the pidgin server must be replaced with cn.scs.msg.yahoo.com, but it is still often an error. one way to fix it by upgrading the application to version 2.5.8. to upgrade this application, follow these steps :
add your source repository in sources.list by type :



$ sudo su
$ gedit /etc/apt/sources.list



and add this line on your repository :
deb ftp://repo.ugm.ac.id/pidgin-developers/ jaunty main
and save...!!
update your sources repository by type :

$ apt-get update

and install pidgin version 2.5.8 by type :

$ apt-get install pidgin pidgin-data

Backup your pidgin configuration by :

$ mv .purple .purple-backup

Finish....!!!
For other versions of ubuntu, select the source below:
Ubuntu Hardy (8.04)
deb ftp://repo.ugm.ac.id/pidgin-developers/ hardy main

Ubuntu Interpid (8.10)

deb ftp://repo.ugm.ac.id/pidgin-developers/ intrepid

Happy Testing...!!
Read More...!!

Pidgin problems connecting to Yahoo in Ubuntu Jaunty (9.04)

yahoo can not be accessed by pidgin internet messenger applications in ubuntu, after searching for the source, the official statement in the Yahoo blog is written as follows:
In an effort to provide the best experience for our users and maintain high security standards, we will officially retire Yahoo! Messenger versions 6.0 through 7.5 in August, 2009. This means that if you are currently using a version of Yahoo! Messenger that is below 8.0, you will no longer be able to sign in and use it after the retirement date in August.

To fix the problem, follow these steps:
For Pidgin Internet Messenger users, upgrade Pidgin Internet Messenger latest version is 2.5.7 which can be downloaded here or you can make changes to the way pager server menu click "Accounts" -> "Manage Accounts" -> select username -> click "Modify" -> Select "Advanced" tab. On Page one of the servers fill below variable :
1. cn.scs.msg.yahoo.com
2. cs101.msg.mud.yahoo.com
3. 66.163.181.189
4. 66.163.181.106
























Happy Testing....!!!
Read More...!!

Solution "cannot mount volume" for ntfs Partition in Ubuntu


For users who use a dual OS ubuntu and windows, often in ubuntu when you mount the volume will appear error message "can not mount volume" well then we are confused, why and how to resolve the issue.

the problem is usually due at the time drew no removeable disk using remove safety in the windows, and to overcome these problems we follow these steps:
One way is to manually force mount, another option is to use a tool called ntfsfix where you can use to make pengesetan on the NTFS log file as unused. To overcome this, the following tips and tricks:
Install application ntfsprogs by type :

$ sudo su
$ apt-get install ntfsprogs

Determine the NTFS partition to be cleaned his log to be mounted by typing the following command on terminal :

$  fdisk -l
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×44fdfe06

Device Boot Start End Blocks Id System
/dev/sdb1 1 257 2064321 7 HPFS/NTFS
/dev/sdb2 258 19457 154224000 83 Linux

Then to find out where the NTFS partition it, go to terminal type the following command: (example on the partition / dev/sdc1) 

$ ntfsfix /dev/sdc1

After log NTFS cleaned, you can mounting volume by clicking 2 times on the drive that will be mounted

Happy Testing...!!
Read More...!!

Recover Gnome Desktop Panel On Ubuntu Jaunty (9.04)


 In this post I will explain how to recover a broken gnome panel, or not appear at all on your ubuntu desktop. gnome panel damage usually occurs due to user error when using gconf-editor, not intentional or due to a failed update ubuntu.
to repair it follow these steps :
Go to terminal, or press alt+F2 :

$ sudo su

Go to Home directory by type :

$ cd home

and remove your Gnome desktop setting by type :

$ rm -rf .gnome .gnome2 .gconf .gconfd

reboot your ubuntu by type :

$ reboot  

restart your ubuntu and look results.....!!
Read More...!!

Building DNS server (Bind9) and Mail server (Postfix) In Ubuntu


The first step to build a DNS server  you must install bind9 first. to install and configure bind9 we follow these steps:

$ sudo su
$ apt-get install bind9

for security reasons we run from the chroot bind9, and the steps are as follows:
 stop bind services  by type :

$ /etc/init.d/bind9 stop




edit file /etc/default/bind9 so that the daemon will run unprvilage user 'bind', chroot to /var/lib named. Change the line:

opts = "-u bind"
OPTS="-u bind -t /var/lib/named":
OPTIONS="-u bind -t /var/lib/named"

by type :

$ gedit /etc/default/bind9

make a directory in the /var/lib, by type :

$ mkdir -p /var/lib/named/etc
$ mkdir /var/lib/named/dev
$ mkdir -p /var/lib/named/var/cache/bind
$ mkdir -p /var/lib/named/var/run/bind/run


Then move the configuration from /etc to  /var/lib/named/etc, by type :

 $ mv /etc/bind /var/lib/named/etc

create a link to the new directory configuration from the old directory by using the following command:

$ n -s /var/lib/named/etc/bind /etc/bind 

Make null and random devices, and create a right of ownership by type :

$mknod /var/lib/named/dev/null c 1 3
$mknod /var/lib/named/dev/random c 1 8
$chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
$chown -R bind:bind /var/lib/named/var/*
$chown -R bind:bind /var/lib/named/etc/bind


edit the startup script /etc/init.d/sysklogd so that we can get a message from the logs. Change the line: syslogd="----"  to:  SYSLOGD="-a /var/lib/named/dev/log" by type :


$ gedit /etc/init.d/sysklogd
----------------
#! /bin/sh
# /etc/init.d/sysklogd: start the system log daemon.

PATH=/bin:/usr/bin:/sbin:/usr/sbin

pidfile=/var/run/syslogd.pid
binpath=/sbin/syslogd

test -x $binpath || exit 0

# Options for start/restart the daemons
# For remote UDP logging use SYSLOGD="-r"
#
SYSLOGD="-a /var/lib/named/dev/log"

create_xconsole()
{
if [ ! -e /dev/xconsole ]; then
mknod -m 640 /dev/xconsole p
else
chmod 0640 /dev/xconsole
fi
chown root:adm /dev/xconsole
}

running()
{
# No pidfile, probably no daemon present
#
if [ ! -f $pidfile ]
then
return 1
fi

pid=`cat $pidfile`

# No pid, probably no daemon present
#
if [ -z "$pid" ]
then
return 1
fi

if [ ! -d /proc/$pid ]
then
return 1
fi

cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1`

# No syslogd?
#
if [ "$cmd" != "$binpath" ]
then
return 1
fi

return 0
}
case "$1" in
start)
echo -n "Starting system log daemon: syslogd"
create_xconsole
start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD
echo "."
;;
stop)
echo -n "Stopping system log daemon: syslogd"
start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile
echo "."
;;
reload|force-reload)
echo -n "Reloading system log daemon: syslogd"
start-stop-daemon --stop --quiet --signal 1 --exec $binpath --pidfile $pidfile
echo "."
;;
restart)
echo -n "Restarting system log daemon: syslogd"
start-stop-daemon --stop --quiet --exec $binpath --pidfile $pidfile
sleep 1
start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD
echo "."
;;
reload-or-restart)
if running
then
echo -n "Reloading system log daemon: syslogd"
start-stop-daemon --stop --quiet --signal 1 --exec $binpath --pidfile $pidfile
else
echo -n "Restarting system log daemon: syslogd"
start-stop-daemon --start --quiet --exec $binpath -- $SYSLOGD
fi
echo "."
;;
88888888 *)
echo "Usage: /etc/init.d/sysklogd {start|stop|reload|restart|force-reload|reload-or-restart}"
exit 1
esac

exit 0
--------------
 Restart daemon logging then start bind9 by type :

$ etc/init.d/sysklogd restart 
$ /etc/init.d/bind9 start  

Building DNS Server
Before building mailserver we must build a DNS server.

Note:

- Local IP in use: 192.168.1.172
- Domain machine: exxx
- DNS servers: exxx.example.com

Create a file in the directory /etc/bind/:

$ touch exxx.zone exxx.rev
$ gedit /etc/bind/named.conf


add following line
--------
zone "example.com" {
type master;
file "/etc/bind/exxx.zone";
};//
zone "4.168.192.in-addr.arpa" {
type master;
file "/etc/bind/exxx.rev";
};//
---------
$ gedit /etc/bind/exxx.zone

add following line :
-----------
$TTL 1D
@ IN SOA example.com. root.example.com. (
34; serial
23M ; refresh
9H ; retry
7D ; expire
1D) ; minimum
;
@ IN NS example.com.
@ IN MX 10 mail.example.com.
exxx IN A 192.168.4.206
www IN CNAME exxx
ftp IN CNAME exxx
mail IN CNAME exxx
------------
 $ gedit /etc/bind/exxx.rev

-----
$TTL 1D
@ IN SOA example.com. root.example.com.
43; serial
15M ; refresh
3H ; retry
1W ; expire
1D ) ; minimum
;
@ IN NS profff.asseifff.net.
206 IN PTR profff.asseifff.net.
-----

Restart bind9 by type :

$ /etc/init.d/bind9 restart

To ensure avoid trouble, setting:

$ gedit /etc/resolv.conf

ameserver 192.168.1.172

$ gedit /etc/hosts

192.168.4.206 profff.asseifff.net profff

$ gedit /etc/hostname

exxx

$ /bin/hostname -F /etc/hostname    //(to move from /etc/hostname to /bin/hostname)
 
For testing use the command:

$ host exxx.example.com

If show:
exxx.example.com A 192.168.1.172 (the DNS server configuration is complete)

Install and Configuration Mail Server (postfix):


$ apt-get install postfix
$ apt-get install ipopd

$ gedit  /etc/postfix/main.cf

Mynetwork = 192.168.1.0/24
Myhostname = mail.example.com
Inet_interface = all
Mydomain = example.com


$ postfix restart
$ postfix start
$ adduser minez
$ passwd 1234root

$ netstat -tapn
$ telnet 192.168.1.133 25 

Output :


echo........
mail from:root@mail.example.com
rcpt to:minez@mail.example.com

$ gedit /var/mail/(username)

If you have  message sent was found on the file /var/mail/(username) then the mail server has been successfully executed.....!!
its so Confused, haha Happy Testing.......!!
Read More...!!

Delete File on a Specific File Extension in Ubuntu







To Delete a specific file extension in a directory like files *. doc, *. jpg and *. pdf with a single command by simply using the command :

$ find . -name “FILE-TO-FIND”-exec rm -rf {} \;

OR

$ find . -type f -name “FILE-TO-FIND” -exec rm -f {} \;

the difference between the two commands above is that the first command can delete files and directories, the command can only delete the files.

Example : you want to delete file extension .jpg by type :

$ find . -type f -name “*.jpg” -exec rm -f {} \;

Above command is to delete the files in a specified directory without confirmation, to delete a file with the confirmation user, use the following command:


$ find . -type f -name “*.jpg” -exec rm -i {} \;

Output :

rm: remove regular empty file `./0908.jpg’? y
rm: remove regular empty file `./memories.jpg’? y
rm: remove regular empty file `./important.jpg’? n


Happy Testing.....!!
Read More...!!

Create Mail Server With Zimbra in Ubuntu

Zimbra is open source application for email server and collaboration (groupware), which provides email solution powerful servers, scheduling, group calendars, contacts and document storage management via web. Zimbra server is available for Linux, Mac OS X and virtualization platforms. Zimbra uses Ajax Web 2.0 client that can run on the browser Firefox, Safari and Internet Explorer (6.0 +) and IE, and easily integrated with web portal API, business applications and VoIP using web services.
to install a mail server application, follow these steps:
install zimbra by type :



$ sudo su
$ apt-get install binutils cpp fetchmail flex gcc libarchive-zipperl libc6-dev libgmp3c2 libstdc++5 libltdl3 libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

Download source zimbra, Here change your active directory to zimbra file and run command :

$ ./install.sh 

After running ./Install.sh it will look like this are usually just follow the instructions in the log like this:

Operations logged to /tmp/install.log.4416
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-core...NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/collaboration_suite_collective_license_1.0.html
Press Return to continue 
Install zimbra-ldap [Y]    
Install zimbra-logger [Y] 
Install zimbra-mta [Y]    
Install zimbra-snmp [Y]  
Install zimbra-store [Y]  
Install zimbra-spell [Y]  
The system will be modified. Continue? [N] <-- y
Main menu
1) Hostname: mail.cilgonit.com
2) Ldap master host: mail.cilegonit.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.cilegonit.com
****+Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.tukjrdnaco@mail.cilegonit.com 

+Non-spam(Ham) training user: ham.rg8fvq6cd4@mail.cilegonit.com
+Global Documents Account: wiki@mail.cilegonit.com
+SMTP host: mail.danphicool.net
+Web server HTTP port: 80
15) IMAP server SSL port: 993
16) POP server port: 110
17) POP server SSL port: 995
18) Use spell check server: yes
19) Spell server URL: http://mail.cilegonit:7780/aspell.php
Select, or 'r' for previous menu [r] <-- 4
Password for admin@mail.cilegonit.com (min 6 characters): [8BD.yZtFh] <-- [specify a password
for the admin user, ex. ciHuIK]
Select, or 'r' for previous menu [r]  
Main menu
1) Hostname: mail.cilegonit.com
2) Ldap master host: mail.cilegonit.com
3) Ldap port: 389
4) Ldap password: set

5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) <-- a
Save configuration data to a file? [Yes]   
Save config in file: [/opt/zimbra/config.5762]  
Saving config in /opt/zimbra/config.5762...Done
The system will be modified - continue? [No] <-- y
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (4.5.3_GA_733_UBUNTU6)
The ADMIN EMAIL ADDRESS created (admin@mail.cilegonit.com)
Notify Zimbra of your installation? [Yes] <-- [If you need a notify then press Y, but if
not then press N]
Configuration complete - press return to exit  

To running Zimba application by commad :


$ zmcontrol start

Check your Zimbra application.

Happy Testing...!!
Read More...!!

Creating Mail Server on Ubuntu Jaunty (9.04) with Postfix, Dovecot, SASL and Squirrel Mail

A mail server (also known as a mail transfer agent or MTA, a mail transport agent, a mail router or an Internet mailer) is an application that receives incoming e-mail from local users (people within the same domain) and remote senders and forwards outgoing e-mail for delivery. A computer dedicated to running such applications is also called a mail server. Microsoft Exchange, qmail, Exim and sendmail are among the more common mail server programs.
Here we will try to install applications on ubuntu mail server Jaunty (9:04) by using Postfix, Dovecot, SASL and Squirrel Mail, follow these steps :
Install Postfix MTA (Mail Transfer Agent)

$ sudo su
$ apt-get install postfix postfix-tls libsasl2-2 sasl2-bin libsasl2-modules


During the installation process you must fill in the name of the server by filling in your domain name.
Install Dovecot

$ apt-get install dovecot-imapd dovecot-pop3d dovecot-common

after installation is complete, you need to edit the dovecot configuration files in the directory /etc /dovecot/dovecot.conf, to the configuration file. use the command:

$ gedit  /etc /dovecot/dovecot.conf

edit that into:
protocols = pop3 imap
# uncomment this and change to no.
disable_plaintext_auth = no
pop3_uidl_format = %08Xu%08Xv


Save and exit...!!

Configuring SASL Authentication with TLS

edit /etc/postfix/main.cf  configuration by type :

$ gedit /etc/postfix/main.cf

Enter the following configuration to the end of the file /etc/postfix/main.cf that you had
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = yourdomain.com
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_security_options = noanonymous


Save and exit,  then Run the command:

$ rm -r /var/run/saslauthd/
$ mkdir -p /var/spool/postfix/var/run/saslauthd
$ ln -s /var/spool/postfix/var/run/saslauthd /var/run
$ chgrp sasl /var/spool/postfix/var/run/saslauthd
$ adduser postfix sasl


You should configure file /etc/dovecot/dovecot.conf  to determine dovecot  daemon socket:

$ gedit /etc/dovecot/dovecot.conf

enter the information below:
auth default2 {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}}}

 Save and exit.

Install Squirrel mail

$ apt-get install apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi squirrelmail

after installation completed, we must edit configuration file /etc/apache2/apache2.conf by type :


$ gedit  /etc/apache2/apache2.conf

enter the information below:

Include /etc/squirrelmail/apache.conf 

Reboot your machine by type :

$ reboot


and  Check your work by :
Open your browser and type this http://ip_anda/squirrelmail  into address bar your browser. If your configuration is correct, then you will view the first entry squirrelmail login, then enter your user name and password. if any, follow the above configuration to the right.
Happy Testing...!!
Read More...!!

Monitoring Server using Zabbix in Ubuntu


Zabbix is open sources application for monitoring our server, before installing zabbix, there are some packages that must be installed first :



• apache2
• libapache2-mod-php5
• php5
• php5-gd
• php5-mysql
• php5-cli
• php5-snmp
• mysql-server

after you have insalled that packages, now just install zabbix using command :

$ sudo su
$ apt-get install zabbix-agent zabbix-fronted-php zabbix-mysql

Creating a database connection

$ mysql –u (username) -p
password:
$ mysql> create database zabbix;
$ mysql> quit;

Copy zabbix configuration to mysql

$ cd /usr/share/zabbix-server
$ cat schema.sql
| mysql –u (username) -p zabbix
$ cat data.sql
| mysql –u (username) -p zabbix

Configure /etc/services

$ zabbix_agent 10050/tcp
$ zabbix_trap 10051/tcp


Configure /etc/inetd.conf

$ zabbix_agent stream tcp nowait.3600 zabbix \ /opt/zabbix/bin/zabbix_agent

Run zabbix-server by type :

$ /etc/init.d/zabbix-server start

Check /var/log/zabbix-server

$ /var/log/zabbix-server/zabbix-server.log

Configuration with php
change the configuration from /etc/zabbix/dbconfig.php by type :

$ gedit /etc/zabbix/dbconfig.php
 
$DB_TYPE=’MYSQL’; ? type of database
$DB_SERVER=’localhost’; ? database server name
$DB_DATABASE=’zabbix’; ? database name
$DB_USER=’root’; ?  database username
$DB_PASSWORD=’syafur’; ? database password
?>

Copy to folder /etc/zabbix ke /var/www by command :

$ cp –R /etc/zabbix /var/www

check and make sure mysql-server, apache2 and  zabbix-server is running and check zabbix url in your browser by type http://localhost/zabbix in your browser address bar.

Configuring zabbix on web interface

We must login and change the permision to read & write, then go to the link configuration

Create a new group
Configuration -> Hosts -> (Choose) Host Groups -> Create Group
Then enter the name of the group that will be monitored for example: router
Then create a template

Configuration -> Hosts -> (Choose) Templates -> Create Template
Then enter the template name for example: add to the group kondisi.router router
Make items to be observed

Configuration -> Items -> (Choose) Router (Template) -> New Item
Then give the name of the item for example observed Memory_usage

Finish, and you will see the results
Happy Testing......!!!
Read More...!!

Install Mac Fonts Fille .dfont into .ttf in Ubuntu Jaunty (9.04)

This article in the can when I'm looking for material to post today,  I finally found an interesting article for the post on my blog. to convert mac fonts .dfont into .ttf fonts for ubuntu, it can be used easily, to convert these fonts, follow these steps:
to compile mac fonts. dfont the ubuntu font. ttf is using fondu applications, or this application information can be read here: fondu.sourceforge.net 


or you can install automatic this application by type :

$ sudo su
$ apt-get install fondu

if fondu application is not avaliable on your system, you can download source fondu application here, after download finished, you can compile this sources by type :

$ cd /(your downloaded directory)
$ tar xvzf file.tgz (sources fondu)
$ cd /(fondu directory extracted)
$ ./configure
$ make

and last step make install :

$ make install

and to convert .dfont into .ttf you can type :

$ fondu name_of_dfont_file.dfont

Finish.....!!
and Happy Testing.....!!!
Read More...!!

Install Opera 10 in Ubuntu 9.04 (Jaunty) Using apt-get


Opera Vesrsion 10 has been released, and in this version opera have mainstay feature : turbo, to install opera version 10 final released can use by apt-get :



add your repository for installing opera on directory /etc/apt/sources.list by type :


$ sudo su
$ gedit /etc/apt/sources.list

and add following line :


deb http://deb.opera.com/opera/ stable non-free

quit and save, update your repository by :


$ apt-get update and install opera version 10
$ apt-get install opera 

and to run it, goto to Application > Internet > Opera

Finish and Happy Testing.....!!!
Read More...!!

Install Lime Wire 5.0.11 in Ubuntu 9.04 (jaunty)

Lime wire is the inherent application of mac os, but lime wire can also be used on windows, here we will discuss about the lime wire in ubuntu. LimeWire is the application of P2P (peer-to-peer) whose function is to share files between two users. I use lime wire version of ubuntu five 9:04 (Jaunty)

you should download the package lime wire .deb Here 

Lime wire for Installing on ubuntu, you should download the package lime wire. Deb here
after the download is complete, install lime wire to go to terminal and type


$ sudo su (as root)
$ dpkg-i /(directory Lime wire)/LimeWireLinux.deb

wait until the process installation complete .

there is another way to install it, with:
double click limewirelinux.deb package and follow the instructions.
To run this application, go to Applications> Internet> LimeWire

Done.
Read More...!!

Configuring KMS on Jaunty (for testing only!)

Here is a way test KMS on top of Jaunty if you're willing to do some extra work.

1. Install the karmic kernel onto your jaunty system. You can find out what the current kernel version in karmic is by looking at this page. The easiest way to find the DEB for it is here. In this directory, look for files named linux-image-2.6.30-*-generic_2.6.30-*_ARCH.deb where ARCH is amd64 or i386 depending on what kind of computer you have.
For example, you can use this DEB for amd64 and this DEB for i386.

2. Install -intel 2.7.1 from the X-Updates PPA, or use 2.7.99 from the Xorg-Edgers PPA (the later one is UXA-only):
Either you can add X-Updates to your /etc/apt/sources.list:




deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main

Or, alternatively you can do similarly with xorg-edgers (but don't use both xorg-edgers and x-updates simultaneously!):


deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu jaunty main


3. In a terminal, type :


$ sudo su
$  apt-get update && sudo apt-get upgrade


4. Turn on kms in your kernel modules by adding this line to your /etc/modprobe.d/i915-kms.conf:


options i915 modeset=1
and then update your initramfs by running:

$ update-initramfs -u

5. Reboot by type :


$ reboot >

And you should then be KMS enabled.
To uninstall and return to the normal jaunty version,


$ apt-get remove linux-image-2.6.30-2-generic


remove the line from /etc/modules and uncomment the PPA deb/deb-src lines from sources.list and then run 
  
$ apt-get update
$ apt-get install PACKAGE/jaunty 


for all the affected packages (you can use the apt-show-versions command to figure out which ones current have non-jaunty versions). Finally, reboot. 
Read More...!!

Configuring KMS (Kernel Mode Setting) on Ubuntu Koala Karmic (9.10) for New Intel video driver

KMS (Kernel Mode Seting) :  can be used in the kernel 2.6.30-2 (or newer). Since the kernel 2.6.30-10.12 KMS is enabled by default, if the kernel version of the old versions can't. Require must be implemented is as follows:
    
 Intel drivers-2.7.99.1 or later (note that this is enabled by default UXA). Or the newer-intel from the xorg-edgers PPA. 


Turn on KMS in your kernel module
to turn on KMS for  one boot, add kernel parameter i915.modeset = 1, and  boot your system.
and to turn on permanently you can kms config in directory /etc/modprobe.d/i915-kms.conf  by type :


$ sudo su
$ gedit /etc/modprobe.d/i915-kms.conf

and add this line :


options i915 modeset=1
and reboot your system by type :


$ reboot 

If there have problem, turn off i915-kms.conf by type


$ gedit /etc/modprobe.d/i915-kms.conf 

and replace into

options i915 modeset=1 to options i915 nomodeset

To set KMS manually any other way by type :


 $ sudo /etc/init.d/gdm stop
 $ sudo rmmod i915
 $ sudo modprobe i915 modeset=1
 $ sudo /etc/init.d/gdm start

Happy Testing...!!
Read More...!!

Upgrade Ubuntu Jaunty (9.04) to Ubuntu Karmic Koala (9.10) Using Internet Connection

Ubuntu Karmic koala (9.10) is a latest version of ubuntu Jaunty (9.04) is scheduled to be released on October 29 2009, Karmic koala release  will be concurrent with the release of windows 7 which earlier is not long time. well if you are interested in ubuntu Karmic koalas are free license or with windows 7 whose licenses must be purchased at microsoft? all that is on your choice.


To upgrade your ubuntu to Karmic Jaunty koalas using an internet connection, follow these steps :


Press Alt+f2 and type update-manager -d


into the command box. Update Manager should open up and tell you: New distribution release '9.10' is available. Click Upgrade and follow the on-screen instructions.



To upgrade from Ubuntu 9.04 on a server system: install the update-manager-core package if it is not already installed; edit /etc/update-manager/release-upgrades and set Prompt=normal; launch the upgrade tool with the command sudo do-release-upgrade; and follow the on-screen instructions.
Read More...!!

Hiding Secret Data in Bad Block Partition in Ubuntu

When the hard disk was damaged in the sector so that block is not used to store data on your system , but we can use the filesystem blocks that have (allegedly) bad. If the block is not really damaged, any data that we put there will never be touched, because the filesystem thinks it's rubbish. If the block is not really damaged, the data we put there will never be touched, because the system thinks the same garbage files. That, is exactly what we will do.













Partition must be small to contain confidential data and not to a partition larger than 100MB Agr did not arouse suspicion. Some operating systems mark blocks as bad blocks used, which means if we put inside a 100MB partition with bad blocks, the "parent" filesystem will always have at least 100MB in use. Some operating systems marks bad blocks as used blocks, which means that if we put a 100MB partition on the block bad, "parent" filesystem will always have at least 100MB in use. This could arouse Suspicion when there are not any files on it. This can lead to suspicion when there is no files in it.

I will use 256MB flash for illustrative purposes

Here's what sfdisk has to say about it: This is what sfdisk to say about this:


$ sfdisk -l /dev/sde


Disk /dev/sde: 1009 cylinders, 9 heads, 56 sectors/track
Units = cylinders of 258048 bytes, blocks of 1024 bytes, counting from 0

evice Boot Start     End   #cyls    #blocks   Id  System
/dev/sde1          0       -       0          0    0  Empty
/dev/sde2          0       -       0          0    0  Empty
/dev/sde3          0       -       0          0    0  Empty
/dev/sde4          0       -       0          0    0  Empty


We could see the flash is composed of cylinder 1009. we can make about 20MB, which is approximately 82 cylinders on this disk (see the second row sfdisk-l). Because we can not create a partition at the beginning of the disk, let us put in 214 cylinders:


$ sfdisk /dev/sde << EOF
214,82,6
EOF


Put FAT16 on it and transfer your secret data.


$ mkfs.vfat -F16 /dev/sde1
mkfs.vfat 2.11 (12 Mar 2005)


$ sfdisk /dev/sde << EOF
0,0,0
EOF


$ mkfs.vfat -F16 /dev/sde1
mkfs.vfat 2.11 (12 Mar 2005)


$ sfdisk /dev/sde << EOF
0,0,0
EOF

Creating Bad Block. Visit http://blog.crowdway.com
Good luck
Read More...!!

Ubuntu Shutdown Command

below is a collection of ubuntu shutdown command and one of them we  often use it, be as timer when we listen  music and we fell asleep, then ubuntu will be shutdown automaticaly.

here is command shutdown management for ubuntu

Shutdown Timer Countdown
Login as root

$ sudo su
$ shutdown +60 -P (60 minute)
$ sudo shutdown -h +60 (60 minute)
$ shutdown -P 15:00 (shutdown at 15:00)



Shutdown Now


$ init 0
$ poweroff
$ halt

Waking Up (switch on) Computer



$ echo “+00-00-00 00:10:00″ > /proc/acpi/alarm   

booting your computer 10 minute after switch off


Restart


$ reboot
$ shutdown -r 21:00 ( restart at 21:00)


Cancel Shutdown



$ shutdown -C
Happy Testing...!!
Read More...!!

Running Nautilus as Root (Super User) Status in Ubuntu Jaunty (9.04)


Nautilus is the official file manager for the GNOME desktop. The name is a play on words, evoking the shell of a nautilus to represent an operating system shell. Nautilus replaced Midnight Commander in GNOME 1.4 and was the default from version 2.0 onwards.
To running nautilus as root, First way: open a terminal and type

$ gksu nautilus

Second : Creating the shortcut menu to run the Nautilus by using the Super User status in the Applications menu list.













Open Main Menu editor (System> Preferences> Main Menu). Main Menu will be presented as where the picture above.

choose system tools and click the new item will appear and create launcher

Type : application
Name : super nautilus
Cammand : nautilus docs
Comment : Open Nautilus With Root Permissions

To open nautilus as root to stay open the Applications menu> System Tools> Super Nautilus.

Finish....!!
Read More...!!

Setting Transparent Proxy using Squid in Ubuntu

To Setting transparent squid, first we must install squid, to install squid. go to terminal and login as root type :




$ sudo su
$ apt-get install squid

edit squid configuration file in /etc/squid/squid.conf before edit

$ cp /etc/squid/squid.conf /etc/squid/squid.conf_backup
$ gedit /etc/squid/squid.conf

you will show file configuration squid, find :

  • First change HTTP port : http_port : 3128
  • Visible host (For if there was an error Squid can find a valid hostname) : visible_hostname minez-inspirate.blogspot.com
  • Cache manager : cache_mgr minezinspirate@gmail.com
  • Directory cache squid : cache_dir ufs /var/spool/squid 500 16 256
  • Filtering : acl user src 192.168.1.1/255.255.255.255 ex : $ acl group-it src 192.168.1.1-192.168.1.12/255.255.255.255
  • Filtering time : acl-time access time MTWHFA 08:00-16:00 save and exit
$ squid -z

Transparent proxy : give 1 value in file /proc/sys/net/ipv4/ip_forward by type :


$ echo 1 > /proc/sys/net/ipv4/ip_forward
$ iptables -A PREROUTING -t nat -p tcp –dport 80 -j REDIRECT –to-port 3128

and restart squid by tupe :


$ squid -k reconfigure

Finish....!!
Read More...!!

Remote Windows Server on Ubuntu Jaunty (9.04)

Remote desktop is built applications during the first ubuntu install, to use remote desktop from ubuntu to ubuntu, or ubuntu to windows os
to configure the application's how:

into the OS Windows , my computer> remote> check enable remote desktop on this computer.
user and password input window, because otherwise it can not be at the remote end in Windows.
go to your Ubuntu and install tsclient application, go to the terminal. login as root

$ sudo su
$ sudo apt-get install tsclient (for Jaunty is already installed by default)

if it is, open the application with the command tsclient


$ tsclient 
 
after appears your client server terminal input ip windows server and choose to diremote RDP protocol
input your username and password your windows, and click connect.
finish ...!!!

That is all well:) hopefully useful.
Read More...!!

Speed Up Booting Time with Disable Boot Splash in Ubuntu Jaunty (9.04)

ubuntu boot splash on Jaunty arise when your machine is booting, the process of loading the image appears, on Jaunty ubuntu boot splash image replaced with a new one, and indeed more interesting. but the boot splash boot takes longer than using a text mode, it is the default ubuntu boot splash when we install ubuntu. but there are some tricks to make your ubuntu boot time so much faster.

to use these tricks, follow these steps:

Go to terminal and login as root by type :

$ sudo su

and backup your grub menu file on /boot/grub/menu.lst

$ cp /boot/grub/menu.lst /boot/grub/menu.lst_backup

edit menu.lst file


$ gedit /boot/grub/menu.lst
 
and search word splash, delete it. or you can use other way by application startup manager, install startup manger.


$ apt-get install startupmanager
 
after installation complete, open startup manager and see

unmark show boot splash, and close application, reboot your system. you can see boot by text mode and your booting time faster than before.

thankz...!!!
Read More...!!

Install Network Traffic Controller With Wondershaper in Ubuntu






If you are a Network Administrator with a little knowledge of network protocols and iptables, you can use the application in ubuntu wondershaper, wondershaper will help you as a helper application network administrator.

to install the application simply by type command :

$ sudo apt-get install wondershaper

and wait until the installation process is complete,

Official site: http://lartc.org/wondershaper/ for more info
Tutorial include /usr/share/doc/wondershaper, to use that appilcation. go to terminal login as root and type



to enable this application :


$ ifconfig (to find interface what you using) ex : wlan0
$ wondershaper wlan0 downspeed upspeed
$ wonderspeed 128 64


disable this setting.

$ wondershaper clear eth0


make these connection settings permanent by editing /etc/network/interfaces file :


$ gedit /etc/network/interfaces and add the following lines


up /sbin/wondershaper wlan0 downspeed upspeed
down /sbin/wondershaper clear wlan0


Enjoy....!!
Read More...!!

Install PHP-GD (PHP Graphics) in Ubuntu 9.04 (jaunty)








Php not only generate the HTML language, but also php can be used to edit images in several formats, such as: JPEG and GIF, can be issued even php image streams directly to the browser.
To install the application, login as root to write the command:

$ sudo su

$ apt-get install php5-gd

wait until installing finished, and restart your apache


$ /etc/init.d/apache2 restart

Finish...!!
Read More...!!

Restore Grub Loader Ubuntu 9.04 (Jaunty) After Install Windows

To restore Ubuntu grub 9.04 after installing Windows we need ubuntu live cd desktop edition. For the ext4 filesystem partition you should use ubuntu 9.04 live cd desktop edition because if you use under 9.04 version does not suport for ext4 filesystem.
To fix it we follow these steps:

boot your machine by live cd ubuntu 9.04
open terminal and type :

$ sudo grub
$ grub>find /boot/grub/stage1

and you will show position filesystem, example :

(hd0,7) = maybe in your will be different.


$ root (hd0,7);
$ setup (hd0);


Checking if “/boot/grub/stage1″ exists… yes
Checking if “/boot/grub/stage2″ exists… yes
Checking if “/boot/grub/e2fs_stage1_5″ exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 16 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.


$ quit

and reboot your system by type :


$ sudo reboot

Finish...!!!

Read More...!!