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/)