Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

June 11, 2022

Configure a API Backend Server with custom domain on Amazon Web Services (AWS) EC2 Ubuntu with NGINX and Certbot SSL

Hi all,

Build your own API backend server on AWS free-tier with SSL.

The below steps with reference links will provide detailed information of each step.

  1. AWS account - Free-tier
  2. Create EC2 Ubuntu
  3. Connect to Ubuntu from your local using SSH/Putty
  4. Install NodeJS
    1. Open terminal
    2. curl -fsSL http://deb.nodesource.com/setup_lts.x | sudo -E bash -
    3. sudo apt update
    4. sudo apt install nodejs //installs latest LTS nodejs
  5. Create a sample node server
  6. Install and configure node server process manager
    1. sudo npm install -g pm2@latest
    2. Navigate to nodejs server folder
    3. pm2 start <filename>
    4. pm2 startup systemd
    5. pm2 save
    6. pm2 list // List all the nodejs apps with status
    7. pm2 stop/restart/start app_name/id // Actions of nodejs servers
  7. Install Nginx
  8. Configure your domain DNS records to map to AWS EC2 public/elastic IP address
  9. Secure Nginx with SSL certs

Hope the above information is useful to set up the environment and play with your backend server.

Feel free to send your feedback and comments to psrdotcom@gmail.com


June 09, 2022

Generate Free SSL HTTPS Certificates with 90 days validity using letsencrypt

 Hi all,

As discussed in my earlier blog, Generate Free SSL Certificate using ZeroSSL where the limitation of one free certificate on ZeroSSL can be eliminated using Get HTTPS for free!

This process includes the following prerequisites and procedures.

Note: This process is not for beginners or production usage scenarios. Use this process if you are knowledgeable about certificate generation.

Prerequisites

  • OpenSSL command line
  • [Li]nix / Mac OS

Procedure

  • Open the URL https://gethttpsforfree.com
  • It has 5 steps
    • Account Info
    • Certificate Signing Request
    • Sign API Requests
    • Verify Ownership
    • Install Certificate
  • In each step, some commands or processes need to be followed to get the free SSL certificate.

  1. Account Info
    1. In this step, we will be providing the email and public key.
    2. Keep the generated private key security in your system.
      • Note: If you are unsure about the public key generation commands, click on the "how do I generate this?" link, which is available over the public key input textbox.
  2. Certificate Signing Request (CSR)
    1. Generate the CSR for the required domains
      • Note: You can generate the CSR for wildcard certificates and www subdomain with the same command
    2. Try to follow the same format, including the line feeds mentioned below.
    3. #change "/etc/ssl/openssl.cnf" as needed:
          #  Debian: /etc/ssl/openssl.cnf
          #  RHEL and CentOS: /etc/pki/tls/openssl.cnf
          #  Mac OSX: /System/Library/OpenSSL/openssl.cnf
      
          openssl req -new -sha256 -key domain.key -subj "/" \
            -reqexts SAN -config <(cat /etc/ssl/openssl.cnf \
            <(printf "\n[SAN]\nsubjectAltName=DNS:foo.com,DNS:www.foo.com")) 
  3.  Sign API Requests
    1. Sign all the requests with the private key
    • Note: You need to copy the command and execute it on your PC/Mac terminal, and the result needs to be pasted on the web page.
  4. Verify Ownership
    1. In this step, you need to prove your domain ownership
    2. You will be given 3 options
      1. Python server
      2. file-based
      3. DNS record (I've used this option)
        1. Update the DNS records with new TXT entries, and use the online dig tool to make sure the records are visible.
        2. After we verify the availability of the records, you need to click on the respective buttons on the web page.
    3. Repeat the same steps for each domain on CSR (www and any sub-domains).
  5. Install Certificate
    1. You will be able to receive your certificate in "chained.pem" format
    2. Copy and paste the first certificate section (e.g. the first "-----BEGIN CERTIFICATE-----" section) into a text file named "domain.crt".
    3. Copy and paste the second certificate section (e.g. the second "-----BEGIN CERTIFICATE-----" section) into a text file named "intermediate.pem".
    • Note: Expand the "how do I install this?" link for quick help.
Hope this will help you to generate free SSL for your websites.

Request you to send your valuable feedback and comments to psrdotcom@gmail.com

February 02, 2022

Ubuntu - update NPM and NodeJS

Hi folks,

Some people often confuses with NPM update vs Node.js update.

Let me clarify that, NPM (Node Package Manager) is a CLI (Command Line Interface) to manage the JS (JavaScript) packages from https://www.npmjs.com/ or any other external package managers like GitHub.

Node.js is a FrontEnd JavaScript Framework like Vue.js, AngularJS which helps to build the scalable network applications. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

NVM (Node Version Manager) and n are command line utilities to manage and switch between Node.js versions.

When you are installed for the first time, you will be installing Node.js from https://nodejs.org/en/download/ which also installs NPM CLI utility.


But when upgrading the NPM or Node.js, it's a different story.


Update NPM

npm install -g npm

Update Node.js with Node version manager (n)

Install the n

sudo npm install -g n

Update the Node.js to stable version

sudo n stable

As of now, the stable version is 16.3.2 which includes NPM 8.1.2

Update the Node.js to current version

sudo n current

As of now, the current version is 17.4.0 with NPM 8.3.1


Check the versions

NPM

npm --version

Node.js

node --version


Hope this helps you to understand the NPM and Node.js difference along with update of individual components.

Send your comments and feedback to psrdotcom@gmail.com

 

November 17, 2021

Extend Ubuntu VM hard disk space/size

 Hi all,


Today I will explain about the process to extend and existing disk space in Ubuntu VM.

Environment

  1. VMWare
  2. Ubuntu

Context

Increase hard disk space more than initially configured for the Ubuntu VM.

Reason

VM hard disk might running out of space.

Procedure

  • Make sure we have shutdown the Ubuntu VM
  • Increase the hard disk size
    • Make sure it's in the allowed range
  • Start the VM
  • Open the Disks application in Ubuntu
  • In below example we are extending it by additional 3GB
  • Select the Extended Partition block
  • Click Settings (Gear) icon
  • Choose Resize option
  • Use the increment (+) icon or scroll bar to increase the partition size
  • Click on Resize button
  • Enter credentials when prompted
  • By now, the extended partition will be increased
  • Time to select the file system, where exactly our data is getting stored
  • We will repeat the process of resizing like earlier
  • Using scrollbar increase the disk size
  • Click on the Resize button
  • The harddisk size is been reflected.
Hurray !! You have increased your hard disk size to store more data on the Ubuntu VM.

The same process can be used for normal Ubuntu OS also.

Please send your comments and feedback to psrdotcom@gmail.com

March 17, 2020

Connect to public hosted Ubuntu server MySQL Docker Image from local MySQL Workbench

Hi folks,

Today I am going to explain the procedure to test the public cloud hosted MySQL docker in Ubuntu Server to your local MySQL WorkBench.

We configured a Ubuntu Server on public cloud and installed docker.
Ping the public IP address to make sure, it is reachable to your pc/laptop.

Configure System

Install MySQL Docker Image

# docker pull mysql/mysql-server:latest

Check the images

#docker images
You should be able to view the downloaded mysql server image

Start the MySQL Server

# docker run --name=mysql1 -p 33061:3306 -d mysql/mysql-server
-d : Run in daemon mode
-p host_port:container_port
--name: container name
The mapped public ubuntu server port is 33061, which is mapped to the mysql server port 3306.

Check the containers

# docker ps
You should be able to view your mysql docker containers with container id and ports information

Get the MySQL root user password

MySQL generates a one-time password for docker container and writes to the log.

  • To view the log, execute the following command

# docker logs mysql1

  • To get the generate one-time password, filter the log with keyworkd "GENERATED"

# docker logs mysql1 2>&1 | grep GENERATED

  • You should be able to get the line like below

GENERATED ROOT PASSWORD: Axegh3kAJyDLaRuBemecis&EShOs

  • Copy the one-time password. In the next step, we will use this to login.

Reset MySQL root user password


  • Connect to MySQL server

# docker exec -it mysql1 -uroot -p

  • Paste the generated root password
  • Change the password

mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'yourpwd';
mysql> FLUSH PRIVILEGES;
  • Though you have the root user credentials, you won't be able to connect.
Root cause: root user belongs to localhost, not for the public host usage
Solution: create another user with all privileges
mysql> CREATE USER 'username'@'%' IDENTIFIED BY 'youpwd';
mysql> GRANT ALL PRIVILEGES on *.* TO USER 'username'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;

  • Exit the mysql

mysql> exit;

  • Restart the docker

# docker restart mysql1

Connect from MySQL Workbench


  1. Open MySQL Workbench
  2. Click on add new connection icon
  3. Enter the "Connection name"
  4. Enter host name "public IP address" or "URL"
  5. Enter username as "dev" (Above created user)
  6. Click on Password "Store in vault" button and enter the "dev" user password
  7. Click on "Test Connection" button
  8. You should be able to view the "Successfully made the SQL Connection" pop-up


Hope this tutorial helps you to get connected with your public hosted mysql docker instance to your local mysql workbench.

Please send your feedback and comments to psrdotcom@gmail.com

March 06, 2020

View docker image file content with folder structure

Hi folks,

I have come across a scenario where I need to see the image contents.

Yes, I want to view the image content with hierarchy.

Then I found this dive, which has done it beautifully.

Install on Ubuntu PC


  1. # wget https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb
  2. # sudo apt install ./dive_0.9.2_linux_amd64.deb

Usage


  • Get the docker images list
    • # docker image list
  • Choose the image which you want to explore by copying the "Repository" name
  • Run the command
    • # dive
  • It takes some time to analyse and display the image contents in hierarchical manner.
  • Of the left side, it will have the image layers
  • Select the appropriate image layer with up/down arrow keys
  • By pressing the "Tab" you will be able to switch to right side view where your files are available
  • Use space to expand/collapse the folder
  • Dive will display each folder size
  • See the sample docker image contents with dive below




  • To quit/exit from the dive, use Ctrl+C


Hope this is helpful

Please send your feedback and comments to psrdotcom@gmail.com

August 22, 2015

UDPCast, udp sender and udp receiver Sharing files over LAN/Wi-Fi

Hi admins,

Have you ever thought of sending files/folders to all your systems which are connected over LAN?
Have you ever thought of copying the entire partitions including OS to all your systems with same configuration which are connected over LAN in your lab?

You might be using some proprietary tools.

Let me share my knowledge of open source tools in Ubuntu to perform the job.

It is UDP Case with following operations
  1. udp-sender
  2. udp-receiver

Simple usage can be seen in References 2

References

https://www.udpcast.linux.lu/cmd.html
https://www.udpcast.linux.lu/cmdlinedoc.html

Please send your comments and feedback to psrdotcom@gmail.com

Ubuntu Windows dual boot order changes GRUB

Hi friends,

From long time, I was thinking of modifying my default boot option to Windows instead of Ubuntu. Finally today, I've done those changes in my laptop.

My system has Windows 10 and Ubuntu 14.04 dualboot and Ubuntu OS is my default boot option with 10 seconds timeout.

I thought of sharing the information with everyone.

Please open the terminal and run the followin commands in sequence 
  1. sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  2. sudo apt-get update
  3. sudo apt-get install grub-customizer
By now, grub-customizer will be successfully installed in your PC.

Please follow the below step to do the necessary changes in boot order

  • Open the grub-customizer
 

  • Grub customizer lists the installed OS with versions
 

  • Rename the OS entry by right clicking and selecting "Rename" option [Optional]
 

  • Choose the default boot option by navigating to "General Settings"
  • Select options from "predefined" entry


  • Click on "Save" option to save all the changes.
  • You can revert the changes by clicking the "Revert" option, if you feel like going back to original/initial options

Hope it would help you in changing the default boot order

Please send your comments and feedback to psrdotcom@gmail.com

December 19, 2014

Android Screencast Configuration Install in Ubuntu

Hi all,

Today, I am going to show you how to show the android screen on your Ubuntu.

Procedure

  • Download the androidscreencast from the official link
  • Just by running the jnlp, you won't be able to see the screen
  • Java has security restictions
  • Now we have to manually add Android screencast url to be allowed in Java Security in Ubuntu
  • Go to jre folder
    • Example: /usr/lib/jvm/oracle-(8/7)-java/jre/bin/
  • Run the following command
    • $ ./ControlPanel
  • Select "Security Tab"
  • Click on "Add" button
  • Enter the following http address
    • http://androidscreencast.googlecode.com

References

https://code.google.com/p/androidscreencast

Please send your comments and feedback to psrdotcom@gmail.com

December 17, 2014

Android insufficient permissions for device

Hi Friends,

I was having an issue when connected my friend's Micromax Doodle to my Ubuntu with the following error
"insufficient permissions for device"

Resolution

  1. Open Terminal
  2. Kill the server by typing the following command
    • $ adb kill-server
  3. Now, start the server
    • $ adb start-server
  4. On your device, a pop-up might come asking for granting the permission
  5. Click on "Yes" for approving the access
  6. Now, check your device status with the following command
    • adb devices
  7. With the above command, you should be able to see devive IMEI and device name
Enjoy the Ubuntu and Android combination :)

Please send your comments and feedback to psrdotcom@gmail.com

December 14, 2014

Install and configure latest Oracle Java JDK 8 and 7 in Ubuntu

Hi friends,

Today, I'll try to explain the way how to install the latest Oracle Java JDK 8 and 7.

Pre-requisites

Ubuntu 12.02 or above

Procedure

We can install in two ways
  1. Using PPA
  2. Manual Installation

PPA installation

  • Open terminal from "Applications" or press key combination "Ctrl+Alt+T"
  • Type the following commands in sequence
    • $ sudo apt-add-repository ppa:webupd8team/java
    • $ sudo apt-get update
  • To install latest JDK 8, type the following command
    • $ sudo apt-get install oracle-java8-installer
  • To install latest JDK 7, type the following command
    • $ sudo apt-get install oracle-java7-installer
  • Once the download complete, it will ask for agree for terms and conditions
  • Click on "OK" to complete the installation

Manual Installation

  • Download the Oracle JDK from the following official link
  • Extract the downloaded zip (Example "jdk-1.8.0.25.tar.gz")
  • It will create a folder with name "jdk-1.8.0.25"
  • Create a folder "java-8-oracle" under "/usr/lib/jvm" folder
    • $ sudo mkdir -p /usr/lib/jvm/java-8-oracle
  • Move the folder contents to /usr/lib/jvm/java-8-oracle
    • $ mv jdk-1.8.0.25/* -rf /usr/lib/jvm/java-8-oracle/

Configure the java executables

Configuration can only be done if more than one JDK is installed.

To configure java execute the following command

$ sudo update-alternatives --config java

Example output if Java 7 and Java 8 installed
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                     Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-7-oracle/jre/bin/java   2         auto mode
  1            /usr/lib/jvm/java-7-oracle/jre/bin/java   2         manual mode
* 2            /usr/lib/jvm/java-8-oracle/jre/bin/java   1         manual mode

Similar way you can do for javac, javaws and other executables

Configure javac

$ sudo update-alternatives --config javac

Configure javaws

$ sudo update-alternatives --config javaws

Happy java coding guys :)

References

  1. http://askubuntu.com/questions/121654/how-to-set-default-java-version
  2. http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04
  3. http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre

Please send your feedback and comments to psrdotcom@gmail.com

June 18, 2013

Unable to Share folders in Ubuntu problem got resolved (Samba)

Hi friends,

I was not able to share my folders within network sometime back.

After searching and modifying configuration file my problem got resolved.

Problem

Unable to share Ubuntu folders

Message:  

net usershare' returned error 255: net usershare add: cannot share path /opt/foldingathome as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = False"
to the [global] section of the smb.conf to allow this.

Resolution:

  1. Type the following in console
    • $ sudo vi /etc/samba/smb.conf
  2. Go to [global] section
  3. Add the following line
    • usershare owner only = False
  4. Save and exit from vi
  5. Restart Samba service
    • sudo service samba restart
Now, you can happily share your folders over network

Please send your feedback and comments to psrdotcom@gmail.com
 

June 07, 2012

Ubuntu Linux Free and Best Audio (MP3, Ogg, etc.) and Video (AVI, MP4, etc.) Editors, Cutter, Joiner

Hi folks,

I would like share some best audio and video editors in Ubuntu Linux. Install common-codecs to use these Audio/Video editors.

In Ubuntu Software Center, search for Ubuntu restricted extras and install.

Audio Editors:
  • Audacity
  • Command Tools for MP3 Cutter and Joiner: mp3split, mp3wrap
  • Jokosher
  • Grip
  • Hydrogen
  • Sound Converter (Extract Audio from a Video File)
  • Muse
  • RoseGarden
  • Ardour
  • SoundKonverter
  • StreamRipper
  • LLMS

Video Editors:
  • Openshot
  • AvideMux
  • Cinelerra
  • Kino
  • Jahshakha
  • Pitvi
  • Lives
  • Vivia
  • FFMpeg
  • Handbreak
  • VLC Media Player (Don't get surprise, see the 4th Reference link)

Most of the above mentioned softwares can be downloaded from the Ubuntu Software Center/Synaptic Package Manager.

Download the editor(s) and, be creative in your own way.

References:

http://ubuntup.blogspot.in/2010/09/best-audio-mp3-cutter-converter-editor.html
http://techcityinc.com/2009/04/14/10-best-audio-editors-for-linux/
http://techcityinc.com/2009/02/04/top-10-free-video-editors-for-ubuntu-linux/
http://ubuntup.blogspot.in/2010/10/best-video-editor-converter-splitter.html

June 02, 2012

Live CD Ubuntu Customization Kit (UCK) without Internet

Hi friends,

As many of you know that, UCK (Ubuntu Customization Kit) requires Internet when customizing the Live CD.

Why we need Internet while customization?

  • To get the updates from the repositories we need the internet.
  • To install any software using apt-get/synaptic package manager.
Do we need Internet all the time?

According to me, We may not need the Internet for small updates.
So, I have modified the customization scripts to work without Internet.


Pre-requisites:

Please download the following files.

sources.gz: 
According the ubuntu distro, we need to get the sources.gz from the link
http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/$DISTRO_CODENAME/main/source/Sources.gz

gfxboot-theme-ubuntu_x.x.x:
http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/

Please place these two files in ~/Softwares/UCK/ directory

Note: ~ is home directory of the user.

Apply Patches

If you installed UCK, you will having the /usr/lib/uck/customization-profiles/localized_cd/ directory
In that directory, you will be having customize and customize_iso scripts.

Those two scripts will be copies to /home//tmp folder while running the UCK.

So, please apply the following patches in /usr/lib/uck/customization-profiles/localized_cd/ 

Now apply the patch as shown below

$ patch -u customize customize.patch
$ patch -u customize_iso customize_iso.patch

customize.patch


--- customize 2012-06-01 21:47:31.905741928 +0530
+++ customize_old 2012-06-01 21:46:03.509742149 +0530
@@ -121,8 +121,7 @@
arch=`if [ -d /lib64 ]; then echo x86_64; else echo i586; fi`
echo ">> Customizing: $rel, $kernel $arch"

-# Commented by PSR
-#prepare_install || failure "Preparing installation failed, error=$?"
+prepare_install || failure "Preparing installation failed, error=$?"

# List of packages to install to support the selected languages:
PACKAGES_TO_INSTALL=""
@@ -153,16 +152,16 @@
fi
done

-# Commented by PSR
- #install_packages $PACKAGES_TO_INSTALL || failure "Installing language packs failed, error=$?"
+ install_packages $PACKAGES_TO_INSTALL ||
+ failure "Installing language packs failed, error=$?"

# NOTE: we first install selected language packs, then remove others as
# installing a language pack might pull in packages that were not
# previously present
echo "Removing unnecessary language packages..."
REMOVED_PACKAGES=`dpkg-query --show | cut -f1 | grep -E '^(language-pack|language-support|firefox-locale)' | grep -Ev "[-]($LANGPACKS_CONCATENATED)\>"`
-# Commented by PSR
-# remove_packages $REMOVED_PACKAGES || failure "Removing packages failed, error=$?"
+ remove_packages $REMOVED_PACKAGES ||
+ failure "Removing packages failed, error=$?"
fi

if [ "$RUN_MANUAL_CUSTOMIZATIONS" = "yes" ] ; then

customize_iso.patch


--- customize_iso 2012-06-01 21:47:38.369741917 +0530
+++customize_iso_old 2012-06-01 21:46:00.441742156 +0530
@@ -50,9 +50,6 @@
REMASTER_DIR="$REMASTER_HOME/remaster-root"
BOOT_LANG=`cat "$SCRIPT_DIR/livecd_locale"`

-# Added by PSR
-SOURCES_DIR="/home/user/Softwares/UCK"
-
function failure()
{
echo "$@"
@@ -83,21 +80,12 @@
DISTRO_CODENAME=`cd "$ISO_REMASTER_DIR"/dists && find . -maxdepth 1 -type d | grep '/' | cut -d '/' -f2` || failure "Unable to identify Ubuntu distro codename"
APT_SOURCES_TMP_DIR=`mktemp -d`
-# Commented by PSR
-# wget -c http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/$DISTRO_CODENAME/main/source/Sources.gz -O "$APT_SOURCES_TMP_DIR"/Sources.gz
-
-# Added by PSR
- cp "$SOURCES_DIR"/"$DISTRO_CODENAME"_Sources.gz "$APT_SOURCES_TMP_DIR"/Sources.gz
-
-# Commented by PSR
-# GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')
+ wget -c http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/$DISTRO_CODENAME/main/source/Sources.gz -O "$APT_SOURCES_TMP_DIR"/Sources.gz
+ GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')

-# Commented by PSR
-# wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE || -# failure "Unable to download gfxboot-theme-ubuntu source package from $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE"
+ wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE || + failure "Unable to download gfxboot-theme-ubuntu source package from $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE"

-# Added by PSR
- cp "$SOURCES_DIR"/gfxboot-theme-ubuntu_0.14.2.tar.gz .
tar xfz *.tar.gz || failure "Unable to extract gfxboot-theme-ubuntu source package"
fi

Please apply the patch files and run the UCK without Internet.

Enjoy a quick Ubuntu Customization.

Please send you comments and feedback

May 11, 2012

Ubuntu Customization Kit (UCK) Problem Solved in 12.04 Precise Pangolin

Hi friends,

I had an issue with UCK (Ubuntu Customization Kit) in Ubuntu 12.04.

Problem:
After selecting the language pack, the UCK crashes. It doesn't show the error also.

Solution:
  • I have uninstalled it completely.
  • I have delete the folder /usr/lib/uck --Doesn't know this is right cause
  • I have updated my Ubuntu 12.04 with latest updates --For no reason, Just tried my luck
  • Then I have tried to do as mentioned in the link.
  • This problem was resolved but a new problem came into picture i.e. resolve.conf problem
  • After googling, I found this patch which helped me to resolve the problem.

Now I am happy that, I am able to customize my latest Ubuntu 12.04 Precise Pangolin also.

References:
http://askubuntu.com/questions/129933/running-uck-causes-zenity-crashed
https://bugs.launchpad.net/uck/+bug/946480

April 27, 2012

Upgraded to Ubuntu 12.04 LTS from Ubuntu 11.10

Hi all,

Today I have upgraded my PC from Ubuntu 11.10 to Ubuntu 12.04 LTS.

Procedure:

I have downloaded the .iso file from Ubuntu.com
Burn the .iso file into a CD.
Booted from the CD and upgraded.

After upgrading some of the non-compatible softwares has been removed.

I manually found the un-installed softwares and installed it.

My Review:

Look and feel: Not much difference between 11.10 and 12.04
Features: Inbuilt privacy application to specify that, "Don't record activity"
Videos: Search Youtube videos and play directly

Lot more features to search ..

February 22, 2012

Title Bar Missing Problem When Alt + Space keys pressed in Ubuntu for Window Menu Barwith Solution

Hi friends,

I had been facing an issue in my Ubuntu desktop edition.

The problem is, when I was pressing Alt+Space buttons on keyboard for window menu bar, the window title bar is gone.

I was surprised !!!

This will a big headache till you do any one of the following actions Logout, Restart or Shutdown your system (PC).

Finally after searching in Internet, I found the solution which worked for my Ubuntu desktop.

I would like to share that to all.


Solution 1:
  • If you have installed "Compiz" then,
  • Please go to "CompizConfig Settings Manager"
  • Check whether "Window Decoration" option is checked or not.
  • If it is unchecked then "Check" it.

Solution 2:
  • In command prompt (Console) window type the following command
    • $ unity --reset

If solution 1 is not working for you then please go ahead with solution 2.

If you have any queries, you can reach me by mailing to psrdotcom@gmail.com

February 10, 2012

Try day to day useful tools on your Windows/Linux(Ubuntu) operating system

Hi friends,

When I was surfing the internet, I found some useful day to day applications/tools. I thought "let me share these applications", so that atleast someone will get benefit from at least some of the tools which they are looking for.

Let me briefly explain, what it contains. The best applications/tools in 2011 developed in Windows and Ubuntu operating systems.

I personally liked,

Ubuntu Applications

News-RSS Ticker: Place your feed on desktop
Blogilo: Desktop Blogging client
MyPaint: Paint app similar to windows
Cairo-Dock: Mac like dock
Lockit: Take screenshot of app or specific area
Desktop Nova: Wallpaper rotator
Gnome Subtitles: Customize subtitles for a movie or any video
Touchpad Indicator: Automatically disable touchpad when mouse is connected
Live USB Installer: Load operating system to USB and use it anywhere you want (Carry OS with you)

Windows Applications

FTP Scheduler: Schedule your FTP upload/download file times
Tweak IE9: For better security in IE and Groupping Tabs like Firefox
CSVed: Editor to edit CSV like files
DiffPDF: Compare the differences between PDF files
TexMaker: Editor for Latex files
Folder Axe: Split your large files
Mosaic: Windows 8 look in Windows 7
Image Composite Editor: Stich photos to make panorama image
BlueStacks: Run Android apps and Games in windows
Batch Compiler: Compile you batch files and make executable
TyperText: Specify your own keyboard shortcuts to run/launch applications and even website links
KumoSync: Sync your google docs to local computer
Soluto: Remotely manage and fix PC Issues

Lot more tools are available online .. Hope some of the above apps will be useful to you.

References:
www.addictivetips.com/ubuntu-linux-tips/best-60-linux-applications-for-year-2011-editors-pick/
http://www.addictivetips.com/windows-tips/150-best-windows-applications-of-year-2011-editors-pick/

January 06, 2012

Create custom mozilla firefox profile with browser settings customization in Ubuntu and Windows

Hi all,

Today I have customized my mozilla firefox browser with custom settings by creating my own profile in my user account.

Follow these steps in creating the custom profile for firefox in Ubuntu
  1. Open terminal (Keyboard Shortcut Key: Ctrl+Alt+t)
  2. Change the directory to mozilla preferences directory for user
    • $ cd ~/.mozilla/firefox
  3. Create a new directory yourname.default
    • ~/.mozilla/firefox$ mkdir psr.default
  4. Open the existing profiles.ini file
    • ~/.mozilla/firefox$ gedit profiles.ini &
  5. Replace the Path variable with the following
    • Path=psr.default
  6. Save and close the profiles.ini file
  7. Change the directory to psr.default
    • ~/.mozilla/firefox$ cd psr.default
  8. Create a user.js file
    • ~/.mozilla/firefox/psr.default$ gedit user.js &
  9. Edit the all possible settings by following the references, which are listed down
  10. For Windows Operating System mozilla firefox browser customization, you can follow this link http://www.pcc-services.com/kixtart/firefox-lockdown.html

References:http://www-archive.mozilla.org/unix/customizing.html#prefs
http://thegoldenear.org/toolbox/windows/docs/mozilla-pre-config.html
http://www.pcc-services.com/kixtart/firefox-lockdown.html
http://www.eng.uwaterloo.ca/twiki/bin/view/Linux/FirefoxLockdown

If you have any queries, please write to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com