Translator

The next version of Ubuntu is coming soon

Monday, January 21, 2013

Upgrade Ubuntu 9.10 (Karmic Koala) To 10.04 (Lucid Lynx)

First become root:
sudo su
Then run
aptitude update
and install the package update-manager-core:
aptitude install update-manager-core
Open the file /etc/update-manager/release-upgrades...
vi /etc/update-manager/release-upgrades
... and make sure it has Prompt=normal in it:
[...]
Prompt=normal
Then run
do-release-upgrade
to start the distribution upgrade.
root@server1:~# do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
tar: Removing leading `/' from member names

Reading cache

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
'9004'.
Do you want to continue?

Continue [yN]
 <-- y
Confirm that you want to do the upgrade:
Do you want to start the upgrade?


4 packages are going to be removed. 46 new packages are going to be
installed. 429 packages are going to be upgraded.

You have to download a total of 228M. This download will take about 2
minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

 Continue [yN]  Details [d]
 <-- y
You might see the following message (Continue without installing GRUB?). Like in the desktop upgrade, I had to answer Yes. As I understand it this means that the system will continue to use the old boot loader.
Continue without installing GRUB? <-- Yes
At the end of the upgrade process, you should remove obsolete packages:
Remove obsolete packages?


44 packages are going to be removed.

 Continue [yN]  Details [d]
 <-- y
The server needs to be rebooted to complete the upgrade:
System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.

Continue [yN]
 <-- y
After the reboot, your server is running Ubuntu 10.04.

Tuesday, April 24, 2012

Test Nameserver

for i in a b c d e f g h i j k l m; do echo "searching for root server $i"; dig ${i}.root-servers.net @${i}.root-servers.net +short ; done;

Saturday, February 18, 2012

Set Sync Clock n Date with NTP Server

sync with an ntp server using:

ntpdate <ip @ url>
rdate -s <ip @ url>

@@@@@ follow this step --->

1. Firstly, check whether the selected NTP server is accessible:

# ntpdate -q <ip address @ url>

For example:

ntpdate -q 0.rhel.pool.ntp.org

2. When you find a satisfactory server, run the ntpdate command followed by one or more server addresses:

ntpdate server_address

For instance:

# ntpdate 0.rhel.pool.ntp.org 1.rhel.pool.ntp.org

3. In most cases, these steps are sufficient. Only if you really need one or more system services to always use the correct time, enable running the ntpdate at boot time:

chkconfig ntpdate on

NOTE :
If the synchronization with the time server at boot time keeps failing, i.e., you find a relevant error message in the /var/log/boot.log system log, try to add the following line to /etc/sysconfig/network:

NETWORKWAIT=1

Saturday, March 19, 2011

Monday, December 13, 2010

APN Settings

3G WAP & MMS CONFIGURATION

1. Press Menu > Settings > Wireless Controls > Mobile networks

2. Select Access Points Names

3. Press Menu button > Select New APN

4. Enter the following details for WAP settings:

Celcom 3g internet setting : MALAYSIA

Name : Celcom 3G Internet
APN : celcom3g
MCC : 502
MNC : 19
APN type : default

Celcom 3g MMS setting :

Name : Celcom 3G MMS
APN : celcom3g
MMSC : http://mms.celcom.net.my
MMS proxy : 10.128.1.242
MMS port : 8080
MCC : 502
MNC : 19
APN type : mms

Celcom 2g internet setting :

Name : Celcom 2G Internet
APN : celcom.net.my
MCC : 502
MNC : 19
APN type : default

Celcom 2g MMS setting :

Name : Celcom 2G MMS
APN : mms.celcom.net.my
MMSC : http://mms.celcom.net.my
MMS proxy : 10.128.1.242
MMS port : 8080
MCC : 502
MNC : 19
APN type : mms

Maxis 3g settings.:Malaysia

1.Name: maxis
2.APN: unet
3.Proxy:
4.Port:
5.Username: maxis
6.Password: wap
7.Server:
8.MMSC: http://172.16.74.100:10021/mmsc
9.MMS proxy:
10.MCC: 502 (default)
11.MNC: 12 (default)
12.APN type:

DiGi Data Setting

Name: DIGI Data - Internet
APN: diginet
MCC: 502
MNC: 16
APN Type: default

Name: DIGI MMS (WAP 2.0)

APN: digimms
username: mms
password: mms
Proxy: 203.092.128.160
Port: 80
MMSC: http://mms.digi.com.my/servlets/mms
MMS Proxy: 203.092.128.160
MMS Port: 80
MCC: 502
MNC: 16
APN Type: mms

Thursday, December 2, 2010

check dir space on FreeBSD

du -sk * | sort -n


nms delete 


/var/spool/nagios/archives <--- delete inside

Saturday, November 20, 2010

How to open many website on browser tab just one click using Chrome and Firefox

First of all after download this file.. please make sure ... u must delete the .txt extension on that file

thank u