Install LAMP with 1 command Ubuntu

Open a terminal (Ctrl+alt+t) and run the following command, Issue the password for the user when prompted.
sudo apt-get install tasksel

To Install LAMP Server


Use the below command to install it.

sudo apt-get install lamp-server

or

just run tasksel using the below command

sudo tasksel

After executing the tasksel command, you will get a list of available packages that can be installed in your system. Choose LAMP Server using the arrow keys and spacebar to select it.

Now press enter to install it. After installation starts you will be asked to type password for the MySQL root user.

Repeat the password and press enter.

Thats it. Now open a browser and type localhost to check whether it works or not.

To install phpMyAdmin run:


sudo apt-get install phpmyadmin

If you have latest package of phpMyAdmin in the repository then you will have to enter the password to mysql database (configuration tables are created there) and also login and password for constant using during the installation.

Restart Apache:

sudo /etc/init.d/apache2 restart

Check if the installation was a success by navigating http://localhost/phpmyadmin. If you install phpMyAdmin not on a local server put your server IP instead of localhost.

If this doesn't work you can fix it. All you have to do is to put

include /etc/phpmyadmin/apache.conf

in the end of /etc/apache2/apache2.conf file.

After that restart apache again.

Samba Server installation on Ubuntu

First  install the samba with the anonymous sharing. To install samba run,

apt-get install samba samba-common python-glade2 system-config-samba

It will install samba with version 4.1.11-Ubuntu.
Now to configure samba edit the file /etc/samba/smb.conf before making changes I will make the backup of original file as  /etc/samba/smb.conf.bak
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
cat /dev/null  > /etc/samba/smb.conf

Further give the entries like this
vi /etc/samba/smb.conf

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = ubuntu
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ================== 
[Anonymous]
path = /samba/anonymous
browsable =yes
writable = yes
guest ok = yes
read only = no
mkdir -p /samba/anonymous

Once done with configuration file restart samba server using bellow command 

service smbd restart

How to remove toolbar


Many programs will install toolbars that are loaded into your web browser, sometimes without your knowledge. Removing these toolbars can be a nuisance, especially if you have several installed.

Steps to remove toolbars from Internet Explorer, Chrome, and Firefox.

Method 1 Internet Explorer : 


Disable the toolbar in Internet Explorer. Click the gear icon in the top-right corner of the window. Select Manage Add-ons from the menu. In the Add-on Types menu on the left, select “Toolbars and Extensions”. In the main section of the window, select the toolbar you want to disable. Click the Disable button in the bottom-right corner.

Uninstall the toolbar. Open the Control Panel. Under programs choose "Uninstall a Program". In Windows XP, this is called "Add/Remove Program".
Find the toolbar in the list of programs. Select it and click the Uninstall/Remove button.

Reset your Internet Explorer browser back to the default state. This step is for if you cannot remove the toolbar from the Windows Control Panel. Open your Internet Explorer browser and click on the gear icon and select “Internet Options” from the menu.
Click the "Advanced" tab and click "Reset".
A confirmation window will appear asking you if you really want to reset your Internet Explorer settings. Click "Reset". Restart Internet Explorer.

Method 2 Google Chrome :


Uninstall the toolbar. Open the Control Panel. Under programs choose "Uninstall a Program". In Windows XP, this is called "Add/Remove Program".
Find the toolbar in the list of programs. Select it and click the Uninstall/Remove button.

Open the Chrome Customize and Control menu. If you can't remove the toolbar using the Control Panel, you'll have to remove it from Chrome itself. You can access this by clicking the icon with three horizontal bars in the upper-right corner of the Chrome window.Select Settings from the menu that appears, and then select Extensions from the left menu of the Settings window.

Remove the toolbar from Chrome. Scroll down until you find the toolbar that you wish to remove. Click the trashcan icon to the right of the entry. Chrome will ask you to confirm that you really want to delete it. Click Yes.There should be no need to restart Chrome after removing the toolbar from the Extensions menu, you should see the results immediately.

Method 3 Mozilla Firefox:


Uninstall the toolbar. Open the Control Panel. Under programs choose "Uninstall a Program". In Windows XP, this is called "Add/Remove Program".
Find the toolbar in the list of programs. Select it and click the Uninstall/Remove button.

Remove the toolbar from Firefox's Add-ons manager. If you were unable to remove it from Windows Control Panel, you can disable it from within Firefox. Open your Firefox browser and click the Firefox button. Select Add-ons from the menu.Click on Extensions. Select the toolbar you want to remove and then click the Remove button.
Restart your Mozilla Firefox browser to ensure that your changes take effect.

How to reset windows 7 password

1. Boot the system with Ubuntu boot CD or Bootable USB

2. Click "Try Ubuntu" and wait for operating system to load.

3. On the Taskbar click "Place" and select your hard drive for
   windows7. This will automatically mount the windows drive.

4. Click on Windows folder and then System32 folder.

5. Find a file called "Utilman.exe", right click and rename it as
   "Utilman_old.exe"

6. Find a file called "CMD.exe", right click on file and select
   "Save a copy" and then rename the copied file as "Utilman.exe".

7. Restart the Ubuntu and boot with windows.

8. Once windows loaded and you are greeted with login screen, click
   the icon for "ease of access" at left bottom. Once you click 
   instead of ease of access come up with command prompt.

9. In the command prompt type "net user user_name new_password"
   where user_name is name of the account you are tying to log into 
   and new_password is your new password.      

   Example : account name is tom and i want new password to be
             Tom123 
                     new user tom tom123.

10. Log in with new password



Fix date time missing in the menu bar in Ubuntu 14.04


There are few solutions to fix this issue.

Solution 1:

First solution is to restart lightdm. This will log you out of the current session:

sudo restart lightdm

Solution 1:

Second Solution Open a terminal and use the command given below. This is optional and just to make sure that you have the indicator installed already.

sudo apt-get install indicator-datetime
Once we have made sure that the indicator is installed, next step is to reconfigure it:

sudo dpkg-reconfigure --frontend noninteractive tzdata
And the last step is to restart Unity:

sudo killall unity-panel-service
That should be it. Now the date time should be appearing in the top panel.


Install Skype 4.3 in Ubuntu 14.04

The latest release Skype 4.3 for Linux comes with few updates and improvements

Install Skype 4.3


Step 1: Remove previous version

sudo apt-get remove skype skype-bin:i386 skype:i386

sudo apt-get install sni-qt:i386
Step 2: Install Skype

For 32bit OS


sudo apt-get install gdebi

wget download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb

sudo gdebi skype-ubuntu-precise_4.3.0.37-1_i386.deb

For 64bit OS


sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install gdebi

wget download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb

sudo gdebi skype-ubuntu-precise_4.3.0.37-1_i386.deb

Download videos from YouTube (and more sites)



youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter(2.6, 2.7, or 3.2+), and it is not platform specific. We also provide a Windows executable that includes Python. youtube-dl should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.



It supports all most all the video websites 

How to Fix Windows Bootloader

Due to any reason you lost your boot system, you can restore window’s bootloader using windows CD or bootable pendrive. Due to damage of bootloader or you wold like to remove Linux and restore the windows.

Steps to restore MBR (Master Boot Loader) for Windows Bootloader

First of all insert Windows CD / bootable pendrive in your computer and start it.

In windows 7, select ‘Repair your computer’ >’Startup Recovery Option’ > ‘Command Line’
In windows 8, select ‘Repair your computer’ > ‘Troubleshoot’ > ‘Advance Options’ > ‘Command Line’

In command prompt enter the following commands:

bootrec /fixboot
bootrec /fixmbr
bootrec /scanos
bootrec /rebuildbcd

You will see your console like this while giving above commands

X:\Sources>bootrec /fixboot
The operation completed successfully.

X:\Sources>bootrec /fixmbr
The operation completed successfully.

X:\Sources>bootrec /scanos
Scanning for all disks for Windows installations.

Please wait, since this may take a while…

Successfully scanned Windows installations.
Total identifies Windows installations: 0
The operation completed successfully.

X:\Sources>bootrec /rebuildbcd
Scanning for all disks for Windows installations.

Please wait, since this may take a while…

Succcessfully scanned Windows installations.
Total identifies Windows installations: 0
The operation completed successfully.

Restore your Sources List to Defaults in Ubuntu

Ubuntu Sources List Generator is available for all the current Ubuntu releases. It is a website which generates a sources list with your intended repositories/server and then you can copy it to your /etc/apt/sources.list

How to generate a new sources.list 

Go to this website.

http://repogen.simplylinux.ch/

Select your County and Ubuntu Release. For a default set of repositories, you need to enable these repositories.

1. All of Ubuntu Branches repositories.
2. Security - Important Security Updates.
3. Security Sources Repository
4. Updates - Recommended Updates
5. Updates Sources Repository

If you want to install software from  Canonical Partner Repositories (closed source software), enable the Ubuntu Partner Repositories (both of them) or if you choose not to, leave them alone.

If you want to install latest versions of some software say AWN, enable the 3rd party repository for AWN and any others you wish to enable.

Now, click the Generate List button at the bottom of that page and you'll see your generated sources.list. 
How to replace old sources.list with the new one

Go to Applications > Accessories > Terminal:

First Backup your old sources.list in case you need to revert to the older one under any circumstances.

sudo mv /etc/apt/sources.list /etc/apt/sources.list.old

Generate a new one.

sudo gedit /etc/apt/sources.list

Copy/paste all the text from the newly generated sources.list to this file. Save it and close and now run the command.

sudo apt-get update

It would update your repository index to the current sources.list and now can install any software using Software Center, Synaptic or apt-get.

Check Canada immigration, citizenship, Discover Canada using CheckCIC

Cover art

CheckCIC app transforms the way, users check their application status with CIC. CheckCIC allows you easly, quickly, safely check the status of your application, contact CIC and prepare for citizen ship test with just a click.  Call CIC with just a click. Go to major immigration forums directly with one click.

Safe and secure:

App is passcode protected with a distinctive passcode. Entire data is kept locally on your device. It will not be shared or used for any another purpose.

IOS

CheckCIC for IOS

Android

CheckCIC for Android

Screen Shots
iOS Simulator Screen shot Jun 16, 2014, 5.45.54 PM        iOS Simulator Screen shot Jun 16, 2014, 5.45.54 PM   
            checkcic - screenshot      checkcic - screenshot


Fix a completely Blank (Black) Terminal - Ubuntu


When i try to open Terminal in Ubuntu it shows completely blank screen. I cant find any cursor or prompt.

After trying may things finally i got one solution.

Using Ctrl + Alt + F5
It will take to text console input.

$ apt-get install ubuntu-desktop

By using this command installed Ubuntu desktop. It resolved problem and now its working fine.

The same thing can be done for desktop resolution problem