Posts

Showing posts with the label ubuntu

fail2ban unban ip

To search all the ips that were banned we enter interactive mode: $ fail2ban-client -i Then we check a jail status, for example sshd : > status sshd the output: Status for the jail: sshd |- Filter |  |- Currently failed: 0 |  |- Total failed: 27 |  `- File list: /var/log/auth.log `- Actions    |- Currently banned: 37    |- Total banned: 38    `- Banned IP list: <a big list of banned ips> So, if we want to unban a particular ip address, let's say X Then, we execute: > set ssh unbanip (within interactive mode) Lastly, if you want to execute it directly from command line: $ fail2ban-client get <JAIL> actionunban <IP-ADDRESS> That's all.

*** System Restart Required *** - Ubuntu

Which packages need a system reboot? Just check /var/run/reboot-required.pkgs

Pear Os Linux

Image
P ear OS is a new Linux desktop distribution based on Ubuntu Desktop with the graphical installer. Its development started in early August 2011 by David Tavares (from France), and on August 15 2011, Pear OS 1.0, the first version marked “stable,” was released. The latest edition, release on December 14 2011, is Pear OS Linux Panther 3 . A complete review of linuxbxdos

My own scheme color for ninja ide! :)

{     "keyword": "#228b22",     "operator": "#242424",     "brace": "#228b22",     "definition": "#6495ed",     "string": "#ff8c00",     "string2": "#838b83",     "comment": "#8b8878",     "properObject": "#8b0a50",     "numbers": "#ff4500",     "spaces": "#000000",     "extras": "#ffff00",     "editor-background": "#eeeee0",     "editor-selection-color": "#ebc79e",     "editor-selection-background": "#8b8878",     "editor-text": "#242424",     "current-line": "#6ca6Cf",     "selected-word": "#a2cd5a",     "fold-area": "white",     "fold-arrow": "darkGray" } Ninja-Ide Homepage!

Extract audio (in mp3 format) from a .flv file - Ubuntu 11.04

Open a console and run: sudo apt-get install ffmpeg libavcodec-extra-52 ffmpeg -i file.flv -ar 44100 -ab 160 -ac 2 audio.mp3

Show Desktop with Hot Corner (hover) - Ubuntu 11.04

This effect can be done using compiz! First, install Compiz Settings Manager from the repositories Go to " General " and click " General Options " Look for " Key Bindings " tab, and under it select " Show Desktop " (the one with a monitor icon) Finally select " Bottom Left " (for example)

ExposƩ Mac Os X like in Ubuntu 11.04

This effect can be done using compiz! First, install Compiz Settings Manager from the repositories Under " Filter ", filter by the keyword "scale" Finally, select " Scale " and in the " Binding " tab, assing a method to " Iniciate Windows Picker " (with the monitor icon). For example: " BottomRight "

Sysmonitor Indicator Ubuntu 11.04 Natty Narwhal

Image
sudo add-apt-repository ppa:alexeftimie/ppa sudo apt-get update sudo apt-get install indicator-sysmonitor source

Weather Indicator Applet Ubuntu 11.04 Natty Narwhal

Image
indicator-weather sudo apt-get install indicator-weather

Playing DVDs Ubuntu 10.04

Playing DVDs In order to play DVDs you must install some additional software. Unfortunately, DVD support cannot be provided by default in Ubuntu due to legal restrictions in some countries. Read about restricted formats before following the instructions below. There are some legal issues that you should be aware of. Install the libdvdnav4 , libdvdread4 , gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly packages. If you would like to play encrypted DVDs, press Applications → Accessories → Terminal and type the following into the screen which appears, followed by the Enter key: sudo /usr/share/doc/libdvdread4/install-css.sh Enter your password if prompted. The libdvdcss2 package will be downloaded and installed from a website. Insert a DVD into your drive. It should open automatically in the Movie Player. from help.ubuntu.com

How to Install NVIDIA drivers manually on Lucid Lynx Ubuntu 10.04

Download Newest Nvidia drivers from their website Open module blacklist as admin Code: sudo gedit /etc/modprobe.d/blacklist.conf Add these lines and save: Code: blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv Uninstall any previously installed Nvidia drivers: Code: sudo apt-get --purge remove nvidia-* Reboot your computer When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console) Login and cd to the directory where you saved your file Install drivers Code: sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run Start GDM Code: sudo service gdm start Enjoy Enjoy :)

How to disable lock screen in Ubuntu?

System -> Preferences -> Screensaver (for ubuntu 10.04)

Como escuchar la rock and pop desde Ubuntu II

Opción 2: Usar Vlc Desde File->Open Network y en Url : http://streaming.fmrockandpop.com/rockandpop?MSWMExt=.asf MS la tenĆ©s adentro! :P   O sino, desde Mplayer como dije aca

Netspeed

Image
What is Netspeed? Netspeed is just a little GNOME-applet that shows how much traffic occurs on a specified network device (for example eth0). You get the best impression of it, if you look at the screenshots below. How does it look like? This screenshot shows netspeed monitoring a W-Lan device. How to Install sudo apt-get install netspeed

Hp photosmart 7260 under Ubuntu 10.04

The problem: The printer hangs when i try to print a document (any type). At launchpad.net a ticket was submited with the same problem. A Suggestion, update to last version of hp-lib (the actual version es 3.10.5). Run hp-check -t (the first line says your installed version) Update to your last version using Synaptic, searching for hp as keyword. The solution: change the default: hp:/usb/photosmart_7200_series?serial=XXXXXXXXXXXX to: usb://hp/photosmart%207200%20series?serial=XXXXXXXXXXXX Edit this from System->Administration->Printing Select the desire printer-> Properties Under device Uri: edit what i said before. Note: XXXXXXXXXXXX is written by default, copy it straightforward Its represent your printer serial number. This solution was submitted by ben_reily at launchpad

Creating Iso files from directories

mkisofs -o name.iso directory

How to remove/install/reconfigure xorg without reinstalling ubuntu

Open terminal Remove existing xorg using the following command sudo apt-get remove --purge xserver-xorg Install xorg using the following command sudo apt-get install xserver-xorg Reconfigure xorg using the following command sudo dpkg-reconfigure xserver-xorg source: title link

TenƩs Empanadas Graciela (short TEG)

Image
is a turn-based strategy game running under Linux . The idea for this free and open source software (GNU GPL) program came from the board game TEG (based on the popular Risk game but differs in many aspects of the rules). In 1996 the Argentine Ricardo riq Quesada started working at the game, discontinued it for a few years and brought life back into the project in early 2000. Some developers, graphic artists and translators joined the project located at SourceForge's servers and made it a success. Using a Server several players can fight each other for world domination and of course also chat together. Various maps are used as battle field and also several languages like Spanish, German, French and Polish are available. Also there exists an Argentine web based version of this game called WebTeg that allows to play online with any browser of any operating system. Distributions The game is widely distributed by several GNU/Linux distributions and ported to other O...

Resize images from Console

convert name.jpg -resize 50% name.png

Cracking a Pdf Password

PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too) tool for recovering passwords and content from PDF-files. It is small, command line driven without external dependencies. The application is Open Source (GPL). pdfcrack Features: Supports the standard security handler (revision 2 and 3) on all known PDF-versions Supports cracking both owner and userpasswords Both wordlists and bruteforcing the password is supported Simple permutations (currently only trying first character as Upper Case) Save/Load a running job Simple benchmarking Optimised search for owner-password when user-password is known Install pdfcrack in Ubuntu sudo aptitude install pdfcrack pdfcrack Syntax pdfcrack -f filename [options] pdfcrack Options -b, - -bench - Perform benchmark and exit. -c, - -charset=STRING - Use the characters in STRING as charset. -m, - -maxpw=INTEGER - Stop when reaching INTEGER as password length. -n, - -minpw=INTEGER - Skip trying passwords sho...