Tuesday, June 26, 2012

Recover MySQL root Password

You can recover MySQL database server password with following five easy steps.

http://www.cyberciti.biz/tips/recover-mysql-root-password.html

Sunday, June 24, 2012

Paint your Ubuntu 12.04

Here are things highly recommended to be installed after installing Ubuntu 12.04

see http://www.noobslab.com/2012/05/install-cairo-dock-301-in-ubuntulinux.html

also see

http://www.noobslab.com/2012/06/mac-os-x-lion-theme-for-ubuntu.html

Saturday, April 14, 2012

The Nano Linux Text Editor

Introduction
Nano is a text editor suited to working in UNIX. It is not as powerful as PC window-based editors, as it does not rely on the mouse, but still has many useful features.

Most nano commands are invoked by holding down the Ctrl key (that is, the control key), and pressing one of the other keys. In this text, the control key is referred to using ^. For example, ^X means ``hold down the CTRL key and press the x key''. Most of the important commands are listed at the bottom of your screen.

^G nano help
Starting nano
To edit a file called filename, type nano filename.

In nano, you can insert another file:
^R read an existing file into nano (inserted at the current cursor position)
^T opens a browser that allows you to select a file name from a list of files and directories
Navigation
The usual mouse-based point-and-click method is not supported by nano. Use the arrow keys to move around the page in nano.

Other navigation commands:

^A move to beginning of line
^E move to end of line
^Y move down a page
^V move up a page
^_ move to a specific line (^_^V moves to the top of the file, ^_^Y to the bottom)
^C find out what line the cursor is currently on
^W search for some text.

When searching, you will be prompted for the text to search for. It searches from the current cursor position, wrapping back up to the top if necessary.

Editing
Insert new text at the current cursor position just by typing the text in.

Delete commands:
^D delete character currently under the cursor
BackSpace delete character currently in front of the cursor
^K delete entire line
^\ search for (and replace) a strong of characters

Cut and paste
^K does not delete lines permanently; the most recent set of deletions are stored in a buffer. These lines may be re-inserted at the current cursor location using ^U. This may be used to simulate cut and paste:

Repeatedly use ^K until all of the text you want to move has been deleted.
Move to the line that you want to insert the text at, and use ^U.

Note that pressing ^U more than once will cause multiple copies to be inserted. This is particularly useful if you want to copy text:

Repeatedly use ^K until all of the text you want to copy has been deleted.
Press ^U immediately to put a copy back in its original location.
Move to the line that you want to copy the text to, and use ^U.

Saving and Exiting
^O save contents without exiting (you will be prompted for a file to save to)
^X exit nano (you will be prompted to save your file if you haven't)
^T when saving a file, opens a browser that allows you to select a file name from a list of files and directories

Thursday, March 22, 2012

New Office, New Speed, More Customer Satisfaction


(click photo to enlarge). Zalongwa has a new Home. From City Centre, head to Bagamoyo, you will find as at Boko, Basihaya, along Bagamoyo Road. That is while driving from City Centre you will pass through, Mwenge, Mbezi Beach, Tegeta then Boko Basihaya Beach area.

Google map direction is : available here

Wednesday, January 18, 2012

Linux Disk Management

Linux Disk Management

Dear all,

Some of you have reported that the servers takes ages to reboot. They are busy scanning their disks for errors. You wish to stop this server behavior. You just want to configure the servers to skip/postpone hard disk scanning for errors until next time (probably next year!).

Okay, this is possible. You can execute just one command to change this server behaviour. However, it is not recommended. May be you can adjust to minimize the frequency of the server booting behaviour, for example you can configure say to scan disk once on every 50 circles of rebooting the server.

How to configure this? Easy, just run:
sudo tune2fs -c 50 /YourBootDiskPartiction

to find out yourbootdiskpartiction, you need to run fdisk command as follows:

:~$ sudo fdisk -l

[sudo] password for user:


Disk /dev/sda: 320.1 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0000e474



Device Boot Start End Blocks Id System

/dev/sda1 * 1 38417 308582400 83 Linux

/dev/sda2 38417 38914 3986433 5 Extended

/dev/sda5 38417 38914 3986432 82 Linux swap / Solaris


From the above fdisk command, yourbootdiskpartiction is /dev/sda1. Thus if you want to tune your server to scan disk once in every 50 circles of reboot, you will just run the command:

sudo tune2fs -c 50 /dev/sda1

Please note, it is possible to tune your server to scan disk once on every 'n' days. For example, to set your server to scan disk once on every 30 days, just run the following command:

sudo tune2fs -i 30d /dev/sda1

I hope this will work for you.

Sunday, January 8, 2012

Zalongwa Mail System on Android

The zalongwa email client system can be configured to work on Android smart phones. This enables Zalongwa Staff and customers to receive emails on their Smart Mobile Phones such as IDEOS and SAMSUNG as simple as SMS messages. Reading and sending emails from zalongwa made easy now. No excuse for not seen an email.

To configure your Zalongwa enabled email, here are the details:

First, Email Server Settings:

Incoming server (POP3): pop.secureserver.net
POP3 Standard Ports:110
Outgoing server (SMTP):smtpout.secureserver.net
SMTP Standard Ports:3535
Your username is your full email address: firstname.lastname@zangwa.com

Then follow these steps:

http://help.securepaynet.net/article/4906


Click "Show Me Screen -by - screen" to get live show screen-shots

Saturday, November 19, 2011

Zalongwa Linux BootCamp

Zalongwa Organised a one Week Linux Boot camp where 17 University students participated. Six topics were covered ranging from Linux commands, File management, Applications, Multimedia, Networking, and LAMP based systems administration.

For those in Tanzania, zalongwa now has a world class Ubuntu Powered Computer Room which can accommodate up to 40 participants. FOSS ni Zaidi ya Faida!