Sometimes it may happen with you that you forget your password and now you do not know how to login in your system so here is a trick,by this you can easily get and set your password again---

  • Turn your computer on.Press ESC at the grub prompt.
  •  Press e for edit.
  •  Highlight the line that begins kernel ………, press e.
  • Go to the very end of the line, add rw init=/bin/bash
  •  press enter, then press b to boot your system.
  • Your system will boot up to a passwordless root shell.
  • Type in passwd username.
  • Set your password.
  • Type in reboot.
All logs are stored in /var/log directory under Ubuntu (and other Linux distro).

=> /var/log/messages          General log messages
=> /var/log/boot                 System boot log
=> /var/log/debug               Debugging log messages
=> /var/log/auth.log            User login and authentication logs
=> /var/log/daemon.log       Running services such as squid, ntpd
=> /var/log/dmesg               Linux kernel ring buffer log
=> /var/log/dpkg.log            All binary package log includes package installation 
=> /var/log/faillog               User failed login log file
=> /var/log/kern.log            Kernel log file
=> /var/log/lpr.log               Printer log file
=> /var/log/mail.*                All mail server message log files
=> /var/log/mysql.*             MySQL server log file
=> /var/log/user.log            All userlevel logs
=> /var/log/xorg.0.log         X.org log file
=> /var/log/apache2/*         Apache web server log files directory
=> /var/log/lighttpd/*          Lighttpd web server log files directory
=> /var/log/fsck/*               fsck command log
=> /var/log/apport.log         Application crash report / log file


To view log files at shell prompt

tail -f /var/log/apport.log
more /var/log/xorg.0.log
cat /var/log/mysql.err
less /var/log/messages
grep -i fail /var/log/boot


[View log files using GUI tools using the GNOME System Log Viewer]

  • System Log Viewer is a graphical, menu-driven viewer that you can use to view and monitor your system logs. System Log Viewer comes with a few functions that can help you manage your logs, including a calendar, log monitor and log statistics display. System Log Viewer is useful if you are new to system administration because it provides an easier, more user-friendly display of your logs than a text display of the log file. It is also useful for more experienced administrators, as it contains a calendar to help you locate trends and track problems, as well as a monitor to enable you to continuously monitor crucial logs.  

    There are some methods to start the log viewer--

     Click on System menu > Choose Administration > System Log:


    you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:

    $ gnome-system-log &

     

Hi friends.
Hope my posts are helping. Please leave your comments as it will help me a lot.

Today I'll tell you how to install ubuntu 10.04 desktop edition in a drive when there is windows already install.

STEPS:

First you need to choose a partition and empty it (backup the necessary data on the partition and empty it as we have to delete this partition).

Boot from live CD or a USB pendrive. How to Boot from a live CD or USB drive is mentioned in another post of this BLOG.

After booting you'll see two options Try Ubuntu 10.04 and Install Ubuntu 10.04. Choose the option Try ubuntu 10.04.

It will guide you to desktop.

On desktop open Gparted. System>Administration>Gparted.



This is a partition manager just like partition magic of windows.
In this you can see all your partitions. Delete the partition you emptied and leave the space unallocated.


Now close Gparted and from two options on desktop choose the one to install ubuntu10.04.

Now Choose the Language you speak


Select your TIMEZONE.


Select your keyboard layout, if you don't know what it is, leave it as it is and move forward.


Now in select partition window choose "use the largest continuous free space", this'll select your drive that you just deleted from Gparted.


Now enter your details.



Are you ready.



Installation screen.


Happy installation. :)
please leave your comments.
Hi friends,
Today i'll tell you how to setup your gmail account in evolution.
Steps:
1. First you have to enable either POP or IMAP accessing from you gmail account settings.


Goto Forwarding and POP/IMAP tabs and enable POP or IMAP as you want (marked with red in the screenshot below).

Don't forget to click on Save Changes.

Now start the Evolution client and click on forward, it may ask you for recovery, uncheck it and move forward.


Then in the next tab enter you full name and email address. Leave the optional fields blank.

Now in the next tab choose the option that you enabled in your gmail setting(POP/IMAP). Both will work fine, but i prefer IMAP (no particular reasons).

Don't forget to change the server name to imap.gmail.com OR pop.gmail.com as per your requirement.

Now next tab will ask you for Receiving options, set them as displayed in screenshot, in case of POP you'll only receive first three options.



Then next tab will be of Sending Mail options.
If you wan't to send email using you email client then configure this option or leave it as it is and move forward.

by default "Server requires authentication" option will be unchecked. Check it and give any encryption if you want. Choose the Authentication type LOGIN and enter your USERNAME.

Then in the next and final tab, client will ask you for any name that you wan't to be displayed in your client for your account management. Miine is XAERO, choose your own as per your choice.



Open the Evolution and click on mail. Client will ask for you password, enter your email password. If everything worked fine you'll see a page like following screenshot.



Please comment you feedback, any suggestions or queries.
thanks
By this trick you can split very large files and send or upload it to the desired locations.
Let’s say that the large file is a movie file found in--

/home/username/films/movie.avi

and you want to compress, split and store the smaller files at the folder--

/home/username/films/splitfiles/

For this you have to type this commands in terminal--

$tar -cvj /home/username/films/movie.avi | split -b 640m -d - "movie.tar.bz"

Now will be able to see several files in the splitfiles folder having a size of 640mb.
Now by these commands,you will be able to recover the files--

$cat  movie.tar.bz.*| movie.tar.bz
$tar -xvj movie.tar.bz
Just open your terminal and write this(i got  to know about this command by jerome1232 from ubuntuforums) --

$ apt-get source {software}
eg--apt-get source smplayer

 When i tried this command,i found an error message because one of the package was not installed.In my case it was showing "dpkg-dev".for finding out whether the package is installed or not, type this in your terminal--

$ dpkg -s {package name}

For red-hat users--

$ rpm -qa|grep {package name}

If you do not get any output it means package is not installed.

For debian users,you can install the package by running well know command--

$ sudo apt-get install {package-name}
I know most of you are facing this problem.it is very frustrating to work in it.
so this trick will help you to switch the window in the fullscreen mode.for that you
have to do this---

1-first go in the command prompt properties.

2-After this go to the font  tab and select the lucida console rather than raster fonts,and select the font size 28.

3-Now go to the layout tab and unmark “let system position window” .

4-set the parameters like this--
  • Screen buffer size—
  1. Height-80
  2. Width-28
  • Windows size—
  1. Height-75
  2. Width-28
You can encrypt any file or folder just by pressing right click on it.But before this you have to do something-->
  • Open your terminal and run this-->
         sudo apt-get install seahorse-plugins
  • After this restart nautilus by executing this command-->
        killall nautilus && nautilus &
  • Now go to Applications--Accessories--Password and Encryption keys.
     


        

  •  Click on the PGP key.

       

    •  Give your full name and e-mail id, not necessary to go in the advance tools if you just want to encrypt the files or folders.
           
      • After this, in the next prompt assign the password,this password will be used to open the lock of  encrypted files. 
             
        • That's it,just go to any file,right click on it and you will be able to see ENCRYPT option listed there. 
        •  Just click on the Encrypt and put a tick mark in front of your information.
        •  Now the decrypted file will be shown to you with a .pgp extension.
        • To decrypt it,provide your assigned password.
        • That's it!!!   

            Today we will learn how to download video in ubuntu. This is the easiest way to download from youtube.

            Steps:
            1. Just open the video in youtube and allow the buffering to finish.




            2. Don't CLOSE THE WEB BROWSER and go to /tmp/ folder.

            3. You'll see your video there, just copy it where you wan't to save it.




            IT's DONE.... :)
            Hello friends

            Steps:
            1. Open the command prompt first by pressing ctrl+alt+F2.
            2. Insert the pend drive.
            3. Your pen drive



            • Uninstall all Oracle components using the Oracle Universal Installer (OUI).
            • Run regedit by going to START-->RUN-->REGEDIT.




                  
            • Delete the HKEY_LOCAL_MACHINE/ SOFTWARE/ORACLE key. This contains registry entire for all Oracle products.



              • Delete any references to Oracle services left behind in the following part of the registry: HKEY LOCAL MACHINE/ SYSTEM/ CurrentControlsSet/ Services/Ora*. It should be pretty obvious which ones relate to Oracle.
              • Reboot your machine.
              • Delete the C: \Oracle directory, or whatever directory is your Oracle_Base.
              • Delete the C:\Program Files \Oracle directory.
              •  Empty the contents of your C:\Temp directory.
              • Empty your recycle bin.
              © 2015 Techie's House. Designed by Bloggertheme9