Install And Configure LTSP Server In Ubuntu 12.04 with Dnsmasq

LibreOffice 4.0.4 Has Been Released. Install It On Ubuntu 13.04 , 13.10

Install Skype 4.2 in Ubuntu 13.10/13.04/12.10 and 12.04

Skype allows people to communicate with each other by messaging, voice calling and video calling over internet. Skype also provides services for phone calls on the telephone networks ....

Display Username On Unity Panel In Ubuntu 13.04 and Ubuntu 13.10

Iptables Rules To Block SSH Brute Force Attack


SSH brute force attack means cryptanalytic attack, that is used against any encrypted data. In the brute force attack, attackers scan for SSH daemons exposed to the Internet. The scans can be done by bots; usually automated scans target the regular SSH TCP 22 port. Assuming the TCP port22 is found open, service identification is attempted. SSH banners can expose info about the SSH service and the underlying OS. Based on the information gathered attackers try to discover valid username and password combinations through SSH brute force attacks; these are not quite brute force attacks, rather they use weak passwords dictionaries. A prime target will be the root account. If root login over SSH is allowed with a weak password, attackers may end up in complete control of the exposed system.


Block SSH brute force attack via two simple Iptables rule.

iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH
iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 8 --rttl --name SSH -j DROP

[Solved] Ethernet(eth0) not working in Ubuntu 12.04 and 13.04 with Atheros


Here is how I solved the problem that Ethernet does not detected in my Ubuntu 12.04 with Atheros AR8162 network card. The problem might be due to the incompatibility of the built-in drivers in Ubuntu release, updated the kerenel and installed proper driver to make it working.

First you have to upgrade the kernel version to 3.9

Open the terminal(Alt+Ctrl+T) and run the following commands:
cd /tmp
Download the auto installaion script.
wget https://www.dropbox.com/s/6vrphp8dzo89aaa/install_kernel3.9.sh install_kernel3.9.sh
chmod +x install_kernel3.9.sh
Run the script
sudo ./install_kernel3.9.sh
Restart the machine to take effect.
sudo reboot

Now we are going to install the Ethernet driver.

In a Terminal try the following commands to download the ethernet driver and install it.
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install

Finished... Now your Ethernet is up and running.!!

This method will also works on the following Network card devices.

The alx driver provide support for:

1969:1091 - AR8161 Gigabit Ethernet
1969:1090 - AR8162 Fast Ethernet
1969:10A1 - QCA8171 Gigabit Ethernet
1969:10A0 - QCA8172 Fast Ethernet

atl1c provides support for these chipsets:

1969:1063 - AR8131 Gigabit Ethernet
1969:1062 - AR8132 Fast Ethernet
1969:2062 - AR8152 v2.0 Fast Ethernet
1969:2060 - AR8152 v1.1 Fast Ethernet
1969:1073 - AR8151 v1.0 Gigabit Ethernet
1969:1083 - AR8151 v2.0 Gigabit Ethernet


AddMeFast Youtube Video Likes iMacros Bot Script 2013

Hey guys, here is another iMacros script that will like Youtube videos on AddMeFast. I have tested this and 100% working.

You can also check our previously released auto facebook likes script 2013.

Copy and paste the below code and save it as youtube-likes.iim (or anyname.iim) in iMacros folder.

If you are using Ubuntu or any other Linux systems, put the below script in

~/iMacros/Macros

VERSION BUILD=7500718 RECORDER=FX
SET !ERRORIGNORE YES
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1

AddMeFast Facebook Likes iMacros Script Bot 2013

Hello guys, here is another iMacros script that will like Facebook pages on AddMeFast. I have tested this and 100% working.

Checkout the new youtube video likes script 2013

If you dont have iMacros already, click here to download it.

Please remember, while you are using it with firefox, set the speed to Medium in iMacros options, otherwise your facebook account will be banned.
Copy and paste the below code and save it as facebook.iim (or anyname.iim) in iMacros folder.

If you are using Ubuntu or any other Linux systems, put the below script in

~/iMacros/Macros/

SET !ERRORIGNORE YES
URL GOTO=http://www.addmefast.com/free_points/facebook_likes.html
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS

How to deactivate or disable Bluetooth on Ubuntu system startup


Folllow the below steps to deactivate or disable Bluetooth on Ubuntu system startup

Open a Terminal by pressing Alt+Ctrl+T

Run sudo gedit /etc/rc.local and add this before line with exit 0:

rfkill block bluetooth

Save and close the file.


You should still be able to enable Bluetooth through the top bar applet.

This should work for most systems but it looks like there are a few bugs lurking in the kernel's ACPI for Thinkpads. If you're on a Thinkpad, add the following to
/etc/rc.local:

sudo gedit /etc/rc.local

paste the following line

echo disable > /proc/acpi/ibm/bluetooth

Save and close the file.

If you have any problem turning on bluetooth and wifi after using this trick, just open the terminal and run the following command to check which device is being blocked:

sudo rfkill list all

Best PHP Editors For Ubuntu 13.10, 13.04, 12.10, 12.04 And Linux Mint 14, 15


Here is the list of PHP editors that we can install it on Ubuntu.

Image courtesy: Linuxforu

 gPHPedit

 

gPHPedit is a small UTF-8 compatible text editor for the GNOME desktop environment, built using Scintilla. It was originally written by Andy Jeffries, and is currently being maintained by Anoop John. It is similar to gedit with the difference that it is designed for PHP and HTML text editing. It is free software licensed under the terms of the GNU General Public License (GPL),

* Syntax highlight PHP, CSS, HTML.
* Auto complete function names, parameters and variables.
* Syntax checking (lint).
* Integrated help inside the editor.

Install gphpedit by executing following command.

sudo apt-get -y install gphpedit

Geany 


Geany is a lightweight cross-platform GTK+ text editor based on Scintilla and including basic Integrated Development Environment (IDE) features. It is designed to have short load times, with limited dependency on separate packages or external libraries. It is available for a wide range of operating systems, such as BSD, Linux, Mac OS X, Solaris and Windows. Among the supported programming languages and markup languages are C, C++, C#, Java, JavaScript, PHP, HTML, LaTeX, CSS, Python, Perl, Ruby, Pascal, Haskell, Erlang, Vala and many others.
In contrast to traditional Unix-based editors like Emacs or Vim, Geany more closely resembles programming editors available for Microsoft Windows such as Programmer's Notepad or Notepad++, both of which also use Scintilla.

Install Geany

sudo add-apt-repository ppa:geany-dev/ppa
sudo apt-get update
sudo apt-get install geany geany-plugins

Bluefish


Bluefish is a powerful editor targeted towards programmers and webdevelopers, with many options to write websites, scripts and programming code. Bluefish supports many programming and markup languages. Bluefish is a multi-platform application that runs on most desktop operating systems including Linux, FreeBSD, MacOS-X, Windows, OpenBSD and Solaris.

Install Bluefish

sudo add-apt-repository ppa:klaus-vormweg/ppa
sudo apt-get update
sudo apt-get install bluefish

screem

 

SCREEM (Site CReating and Editing EnvironMent) is not an HTML editor. Well, it is an editor now, but the plan although somewhat vague at the moment, is to make it much more than an HTML editor. The authors are aiming to make it and entire web production environment.Some of the highlights of screem.

* Link validation.
* Auto completion, high level tree view of functions and variables.
* DTD checking and suggesting html that is compatible with current DTD.
* Plugin support or helper applicaitons. eg: HTMLTidy to clean up code.
* Automatically close tags.
* Preview page.
* Page template support.
* Auto sync with remote site.
* Spell checker.
* Task management to track status of your project using TODO comments.
* Wizards to simplify code generation.
* PHP function reference.

Install screem 

sudo apt-get -y install screem

Quanta plus

 

 Quanta Plus, originally called Quanta, is a web Integrated development environment (IDE) for HTML, XHTML, CSS, XML, PHP and any other XML-based languages or scripting languages. It is part of KDE, a Linux desktop environment, released in the Kdewebdev package. Quanta was licensed under GPL before the release of version 2.0 final.

* Syntax coloring.
* Auto complete.
* Integrated source-control support system.
* Remote site sync.

Install quanta

sudo apt-get -y install quanta

kate , gedit

 

Kate is a powerful text editor that can open multiple files simultaneously.
With a built-in terminal, syntax highlighting, and tabbed sidebar, it performs as a lightweight but capable development environment. Kate's many tools, plugins, and scripts make it highly customizable.
 

Kate's features include:


* Multiple saved sessions, each with numerous files
* Scriptable syntax highlighting, indentation, and code-folding
* Configurable templates and text snippets
* Symbol viewers for C, C++, and Python
* XML completion and validation This package is part of the KDE 4 Base applications module.

Install kate

sudo apt-get install kate

Install gedit

sudo apt-get install gedit

gvim / vim

 


Vim is a text editor written by Bram Moolenaar and first released publicly in 1991. Based on the vi editor common to Unix-like systems, Vim is designed for use both from a command line interface and as a standalone application in a graphical user interface. Vim is free and open source software and is released under a license that includes some charityware clauses, encouraging users who enjoy the software to consider donating to children in Uganda.[3] The license is compatible with the GNU General Public License.

* Has support for plugins and has many plugins available to support php.
* Integrated debugging via a plugin.
* Or any other thing you are dreaming of.

Install vim

sudo apt-get -y install vim


Install RecordMyDesktop on Ubuntu 12.04 and Linux Mint 14, 15


RecordMyDesktop is a free and open source desktop screencasting software application written for GNU/Linux. The program is separated into two parts; a command line tool that performs the tasks of capturing and encoding, and an interface that exposes the program functionality graphically. There are two front-ends written in python with pyGtk (gtk-recordMyDesktop) and pyQT4 (qt-recordMyDesktop). RecordMyDesktop also offers the ability to record audio through ALSA, OSS or the JACK audio server. RecordMyDesktop only outputs to Ogg using Theora for video and Vorbis for audio.


Features


* Freeware: Distributed as freeware for business or personal use. However if you want to redistribute Wink, you need to get permission from the author.

* Cross-Platform: Available for all flavors of Windows and various versions of Linux (x86 only).

* Audio: Record voice as you create the tutorial for explaining better.

* Input formats: Capture screenshots from your PC, or use images in BMP/JPG/PNG/TIFF/GIF formats.

* Output formats: Macromedia Flash, Standalone EXE, PDF, PostScript, HTML or any of the above image formats. Use Flash/html for the web, EXE for distributing to PC users and PDF for printable manuals.

* Multilingual support: Works in English, French, German, Italian, Danish, Spanish, Serbian, Japanese, Brazilian Portuguese and Simplified/Traditional Chinese.

* Smart Capture Tools: Capture screenshots automatically as you use your PC, based on mouse and keyboard input (great time saver and generates professional captures).

* Performance/Quality: Creates highly compressed Flash presentations (few kbs to few hundreds of kbs, much smaller than competing commercial products) ideal for using on the web.

Open terminal paste the following commands to install recordmydesktop

sudo add-apt-repository ppa:webupd8team/gtk-recordmydesktop

sudo apt-get update

sudo apt-get install gtk-recordmydesktop