Tuesday, November 27, 2012

svn: warning: cannot set LC_CTYPE locale



svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_CTYPE is UTF-8
svn: warning: please check that your locale name is correct


To fix above issues, simply create an environment variable LC_ALL and set it to 'C'. 

e.g., 

export LC_ALL=C


Thursday, November 8, 2012

Configuring Filezilla for Resuming File Upload


1. Go To Transfer Option On Top. 
2. Expand It,Click Default File Exits Action.
3. A small Window will come where u will see Download and Upload.
4. Expand Upload and click Resume File Transfer.

That's all you need to do. 

Cheers.

Wednesday, November 7, 2012

Change Timezone of Ubuntu Machine to UTC from Command line



1.  Open Terminal. 
2.  sudo dpkg-reconfigure tzdata
3.  Follow on screen instructions and select your preferred time zone. 


Simple.. Isn't It?

Saturday, October 27, 2012

What is NAT (Network Address Translation)?


When your firewall or router is configured so that all other devices on internet recognize your home/office servers as having a valid Public IP Address then such a configuration is said to be using NAT or IP masquerading. 

Why NAT?

1.  No one on the Internet knows your true IP address. Thus it protects your PCs by assigning them IP addresses from "private" IP address space that cannot be routed over the Internet. This prevents hackers from directly attacking your home systems because packets sent to the "private" IP will never pass over the Internet.

2.  Hundreds of PCs and servers behind a NAT device can masquerade as a single public IP address. This greatly increases the number of devices that can access the Internet without running out of "public" IP addresses.


NAT Configurations? 

You can configure NAT to be one to one in which you request your ISP to assign you a number of public IP addresses to be used by the Internet-facing interface of your firewall and then you pair each of these addresses to a corresponding server on your protected private IP network. You can also use many to one NAT, in which the firewall maps a single IP address to multiple servers on the network.





What are Private IP Addresses and what are their ranges?


Some IP Address ranges are meant only for private networks. These are never used or routed on the internet... these IP Address are called as Private IP address. 

Here are the IP ranges which are private:


10.0.0.0 - 10.255.255.255

172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

There is one special IP address which is called the localhost IP Address. This IP address is defined as 127.0.0.1. Whether or not your computer have a network decide, your system will always have this IP address assigned to it.

Tuesday, October 23, 2012

Installing tomcat 7 on Ubuntu Server 12.04 (Precise Pangolin)


The easiest way to install tomcat7 on ubuntu Server 12.04 or Precise Pangolin is to use apt-get. 

Here is the command: 


sudo apt-get install tomcat7


If you already had tomcat6 earlier on this machine there might be issues with tomcat6-commons when running this. Make sure you remove tomcat6-common before running the above command. 


sudo apt-get remove tomcat6-common


Manual Install: 

1. Make sure you have JRE Installed on your machine. 

2.  Download Tomcat 7 tar.gz binary distribution

3.  Unpack it using tar xvzf apache-tomcat-7.0.29.tar.gz

4. Create a directory where you want to install it and them move the unpacked stuff there. For e.g., I've created a directory named /usr/share/tomcat7. Use below command to move it: 

sudo mv apache-tomcat-7.0.29/ /usr/share/tomcat7


5. Edit catalina.sh and add following lines: 

JAVA_HOME="/usr/lib/jvm/jdk-6u32"
JRE_HOME="/usr/lib/jvm/jdk-6u32/jre" 


6.  Start tomcat using below command 

sudo /usr/share/tomcat7/bin/catalina.sh run


That's It... Simply Isn't It?

Thursday, October 18, 2012

ubuntu 12.04 features list


Head Up Display (or HUD)

HUD integrates application menus into the desktop UI. With an application open, hit the Alt key to bring up the HUD. When the HUD is open, you can easily search your application menus based on keywords. This means you will not have to poke through application menus.

New privacy tool

With this tool you can figure out what exactly Unity records and what it doesn’t. You can turn recording off to completely disable the feature or you can specify what files and applications it can record.

Launchbar

It can now be set to auto-hide. Icons can be resized now. It is no longer set with the dodge window behavior. This caused a lot of issues when interacting with certain applications. The default behavior now is always on top.

Change to Unity Dash

Now, the Dash shows Recent Apps first, Recent Files next, and finally, Recent Downloads.

Video Lens

Unity Lenses allow you to easily organize items in the Unity Dash. If you open the Video Lens, you can select and play videos from a variety of sources, such as those from your local collection, YouTube movies, BBC iPlayer, and TED Talks. Open the Lens, do a search, and click on the video you want to view.

Rhythmbox default

Ubuntu is returning to Rhythmbox as the default music player. 

MyUnity

Ubuntu Unity will finally include a configuration tool for the desktop. This application was developed to provide full customization of Unity features, including the Unity Launcher, Dash, Panel, Desk, and Font. This tool was available for 11.04 and 11.10, but had to be installed from the Software Center. Now, MyUnity will be installed and ready for configuration by default.

Trackpad support

Owners of trackpads whose clickable button is built into the surface can now enjoy support for their device. Most new Synaptics trackpads are supported, as are Apple Macbook trackpads. Ubuntu 12.10 should also include support for Apple’s Magic Trackpads.