Labels

Thursday, August 28, 2014

How I can limit Download/Upload bandwidth on ubuntu server?

> Entire OS.
> One network interface.
> Single application.

qus 1 : How I Manage Bandwidth Using Trickle On Ubuntu ?
Trickle it’s available on Ubuntu Software Repository, to install trickle you can install via Ubuntu Software Center or install via terminal by typing command: 

# sudo apt-get install trickle

Basic Use Trickle
# trickle -d download-bandwidth -u upload-bandwidth command
   
See Example: Limit the download bandwidth at 256Kbps for wget
# trickle -d 100 wget http://mirror.dhakacom.com/ubuntu-releases/14.04.1/ubuntu-14.04.1-desktop-amd64.iso

qus 2 : How I Manage Bandwidth Using wondershaper On Ubuntu ?
wondershaper it’s available on Ubuntu Software Repository install via terminal by typing command:

# apt-get install wondershaper
   
Basic Use wondershaper
# wondershaper Interface name  download-bandwidth upload-bandwidth command

See Example: Limit the download bandwidth at 1024Kbps and upload 512kbps
# wondershaper eth0 1024 512

Monday, June 23, 2014

How to Allow root to use SSH on Ubuntu 14.04

Ubuntu is Debian-based distributions that don’t allow logins by the root user by default, either locally or remotely via SSH. Now i discussed how to enable root login on Ubuntu 14.04

1. Login using normal user and su to root. Edit /etc/ssh/sshd_config :
user@Ubuntu14.04:~# su -root
Password:
root@Ubuntu14.04:~# vim /etc/ssh/sshd_config


2. Comment out #PermitRootLogin without-password, add PermitRootLogin yes into the line[28] :

# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes

3. Restart ssh service to take affect :
root@Ubuntu14.04:~# service ssh restart
ssh stop/waiting
ssh start/running, process 1499
root@Ubuntu14.04:~#


4. That’s all.

Friday, April 25, 2014

CCleaner 4.13.4693

CCleaner



CCleaner is the number-one tool for cleaning your Windows PC. It protects your privacy online and makes your computer faster and more secure. Easy to use and a small, fast download.

Cleans all areas of your Computer
Internet Explorer
Temporary files, history, cookies, Autocomplete form history, index.dat.

Firefox
Temporary files, history, cookies, download history, form history.

Tuesday, November 12, 2013

HOW TO : Windows-7 Password Recover


Windows-7 Password Recover

Step1 : Boot from ubuntu live cd

Step 2 : Go to Desire C drive where windows installed
Step 3 : Go to windows
Step 4 : Go to system32

Step 5 : Find Utilman.exe then rename to Utilman1.exe

Step 6 : Then find cmd.exe  and PAST (copy to cmd(copy).exe)
Step 7 : Then rename the cmd(copy).exe to Utilman.exe

Step 8 : then restart the pc and boot on windows-7

After boot on log in manu then click on under the left side round icon 
it will be open commandpromt

Step 9 : Then type compmgmt.msc then enter

Step 10 : Then click Local User and Groups click Users
Step 11 : Then right click the Desire user

Windows-7 Password Recover


Then Click right button > Select Set Password 


Windows-7 Password Recover

Click Proceed 

Windows-7 Password Recover

Set Password ....... 


Now you can login ........... 


Enjoy ................... :D

Tuesday, October 22, 2013

How can I reset my MySQL password?

How can I reset my MySQL password?

1. Stop the mysql demon process using this command :
root@web_01: sudo /etc/init.d/mysql stop

2. Start the mysqld demon process using the --skip-grant-tables option with this command
root@web_01: sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &

3. start the mysql client process using this command
root@web_01: mysql -u root

4. from the mysql prompt execute this command to be able to change any password
mySql> FLUSH PRIVILEGES;

5. Then reset/update your password
mySql> SET PASSWORD FOR root@'localhost' = PASSWORD('password');

6. Then stop the mysqld process and relaunch it with the classical way: 
root@web_01: sudo /etc/init.d/mysql stop
root@web_01: sudo /etc/init.d/mysql start
OR
root@web_01: sudo /etc/init.d/mysql restart



Enjoy .......
---------------------------------------------------------------------
How can I reset my MySQL password?
change mySql password
how to change MySQL password?

Sunday, September 22, 2013

How to : Enabling Telnet Client in Windows Server 2008

To install the Telnet client on Windows Server 2008 follow this procedure:
  • Open Server Manager by clicking Start > Server Manager, or by using the My Computer context menu.
  • From the left panel in Server Manager, click on Features.
  • Click on Add Features. 
How to : Enabling Telnet Client in Windows Server 2008 and Windows Vista



  • From the available list of features, scroll down and select Telnet Client, then click Next

How to : Enabling Telnet Client in Windows Server 2008 and Windows Vista


On the Confirmation page, click on Install.
How to : Enabling Telnet Client in Windows Server 2008 and Windows Vista

  • Installation of the selected feature will be initialized and started. Once installation is completed, click on Close. 
  •  
BTW, this can easily be done also by typing the following command in the command prompt:
Servermanagercmd –I Telnet-Client


How to : Enabling Telnet Client in Windows Server 2008 and Windows Vista

 

Saturday, August 17, 2013

How to Block a Website in All Web Browsers, For windows

STEP 1 : Open Windows Start menu and type in search box C:/Windows/System32/drivers/etc. If Windows isn't installed on the C: drive, Change the C: for the appropriate drive letter.

STEP 2 : Copy hosts file and past it on desktop.

STEP 3 : Now open hosts file inside notpad or notpad++

STEP 4 : Goto end of the page and Blocked URLs as you want.
        
         Example :
         # Blocked URLs
           127.0.0.1       websitename.com

How to Block a Website in All Web Browsers, For windows


STEP 5 : Save and close the hosts file.

STEP 6 : copy this edited file and past this location (C:/Windows/System32/drivers/)

Thursday, August 1, 2013

How to install Progress bar for terminal

root@SoftwareDepo:/home/$ apt-get install pv

root@SoftwareDepo:/home/$ pv bigfile > /mnt/ghost_on_windows_box/bigfile

Here is the output looked like, at three different stages:

205MB 0:00:17 [8.03MB/s] [=======>                           ] 25% ETA 0:00:49
436MB 0:00:31 [40.7MB/s] [=================>                 ] 54% ETA 0:00:25
801MB 0:00:44 [  18MB/s] [=================================>] 100% ETA 0:00:00


Enjoy......

Friday, June 28, 2013

How to remove delta search from mozilla new tab

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste newtab and pause while the list is filtered

(3) Double-click the browser.newtab.url preference and enter the desired value:

Press Ctrl+t to open a new tab and verify that it worked. Fixed?


Thursday, June 20, 2013

How to : Configure a simple Debian gateway

More people requisite to use a dedicated Debian machine as a gateway for a LAN, this has many benefits compared to using a dedicated hardware firewall.

Overview
In this tutorial, we create 1 files and change 6 other files for testing our Debian Gateway.
1. Configure IP address information
2. Configure dns address
3. Modify Source list
4. Install Basic Packages
5. Create a file; NAT and basic firewall with iptables
6. Permission created file.
7. Modify startup file.
8. Reboot server or Run created file.


Steps
1. Configure IP address information : vim.tiny /etc/network/interfaces
2. Configure dns address : vim.tiny /etc/resolv.conf
3. Modify Source list : vim /etc/apt/sources.list
4. Install Basic Packages : apt-get update.
5. Create a file; NAT and basic firewall with iptables : vim /usr/bin/nat_firewall.sh
6. Permission created file : using chmod
7. Modify startup file : vim /etc/rc.local
8. Reboot server



Monday, June 17, 2013

How to Create a simple login system with php + mysql script

This tutorial, We Learn to create a simple login system with php + mysql, this tutorial is easy to follow and teach you step by step.

Overview
In this tutorial, we create 3 php files for testing our code.
1. index.php (Main Login)
2. db_connect.php (for db connection)
3. Success.php

Steps
1. Create table "user_info" in database "company_name".
2. Create file index.php (Main Login).
3. Create file db_connect.php.
4. Create file success.php.
5. Create file logout.php


Tuesday, June 11, 2013

Import Outlook(2010) items from an Outlook Data File (.pst)

When you need to move Outlook messages, contacts, calendar items, tasks, and notes from one computer to another or return a duplicate of your Outlook data, the import and Export Wizard is the easiest way to full the task.

1 > Click the File tab.
2 > Click Open.
3 > Click Import.
  4 > In the Import and Export Wizard, click Import from another program or file, and the click Next.

5 > Click Outlook Data File (.pst), and then click Next.

Export Outlook(2010) items to an Outlook Data File (.pst)

Aggregation in Microsoft Outlook 2010 can be exported to an Prospect Data Record (.pst). This provides a way transport Outlook 2010 items to other computer or to make a Duplication.

Folder properties specified as permissions and views are not cured when you export to an Outlook Data File (.pst). Exclusive the content itself is exported.

1 > Click the File tab.
2 > Click Options.
3 > Click Advanced.


4 > Under Export, click Export.


5 > Click Export to a file, and then click Next.

Thursday, May 9, 2013

How to create watermarks in Word 2002 and in Word 2003

How to add a text watermark
To add a text watermark to a Word document by using the Printed Watermark command, follow these steps:

    Start Word.
    On the Format menu, point to Background, and then click Printed Watermark.
    In the Printed Watermark dialog box, click Text watermark.
    In the Text box, type My Watermark.
    In the Font box, click Century Gothic.
    In the Size box, click Auto.
    In the Color box, click Turquoise.
    Click to select the Semitransparent check box (default setting).
    Click the Diagonal option next to Layout.
    Click OK. The watermark that you just created is visible on the document sheet.

How to add a picture watermark

Sunday, May 5, 2013

How to Install Python 2.7

Download Python : Below the following commands to download and extract Python 2.7 to your hosting account.

# mkdir ~/python
# cd ~/python
# wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz
# tar zxfv Python-2.7.2.tgz
# find ~/python -type d | xargs chmod 0755
# cd Python-2.7.2

Tuesday, April 23, 2013

How to configure a Windows Server 2003 terminal server



Windows-2003 Terminal Server

Step 1 : Setup windows server 2003

Step 2 : Installing Terminal Services
Step>2.1 : Start > all programs 
Step>2.2 : Administrative Tools > Manage Your server
Step>2.3 : Managing Your server Roles
Step>2.4 : Click Add or Remove a role 
Step>2.5 :  (Configure Your server Wizard) Next  
Step>2.6 : Choose Custom configuration  Next > Select terminal server (if configured NO) 
Step>2.7 : Next
 

Friday, April 12, 2013

How to Creating Paging using PHP and MySQL

Its always possible that your SQL SELECT statement query may result into thousand of records.
But its is not good idea to display all the results on one page. So we can divide this result into many pages as per requirement.

Paging means showing your query result in multiple pages instead of just put them all in one long page.

<?php
    $con = mysql_connect("localhost","root","");
    if (!$con)
      {
      die('Could not connect: ' . mysql_error());
      }
   
    $db_selected = mysql_select_db("tweebd",$con);  // Database name tweebd
?>


Saturday, April 6, 2013

Lost Administrator Password in Windows 7

Unfortunately, there are a lot of ways you can lose access to your Windows logon account, one being simple forgetting the password. This happens ways more often than you would think!
But in reality, there are several ways you can end up losing access to an administrator account, including
  1. Setting a new password for an Administrator account and then forgetting the password.
  2. Deleting an Administrator account and not being able to log into another one.
  3. Changing an Administrator account to a standard user account and not being able to log into another Administrator account
  4. Windows 7 becoming corrupted and not accepting a correct password
I previously wrote an article on how to recover a lost Windows password using several third-party tools, but if that doesn’t work, you can try to gain access to the account using System Restore.
Note that in order for this to work, System Restore had to be enabled and there has to be a restore point that was created before you lost access.
To get started, pop in the Windows 7 or Vista DVD into your drive and restart the computer. Press a key when you get the Press any key to boot from CD or DVD

Friday, April 5, 2013

Install GUI in Ubuntu Server

If you are a new user and not familiar with command prompt you can install GUI for your ubuntu server using the 2 options

1) Install desktop Environment
2) Install Webmin



1) Install desktop Environment
        First you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI
   
    root@server# sudo apt-get update
    root@server# sudo apt-get install ubuntu-desktop 
 
         ** The command will install GNOME desktop
   
If you want to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command
    root@server# sudo aptitude install --without-recommends ubuntu-desktop
   
If you want to install light weight desktop install xfce using the following command
    root@server# sudo apt-get install xubuntu-desktop
   
If you want to install KDE desktop use the following command
    root@server# sudo apt-get install kubuntu-desktop
   

Friday, March 8, 2013

HP Compaq Presario C500 Notebook [All Drivers]


HP Compaq Presario C500 Notebook

HP Compaq Presario C500 Notebook  [All Drivers]