Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, 2 October 2014

Instalar mapas en un GPS Garmin o memoria SD con y sin Basecamp


Requisitos


  1. Descargar Basecamp
  2. Descargar el mapa segun el pais
  3. GPS Garmin (opcional)
  4. Cable USB cinco pines IMAGEN (opcional)

Tambien se puede instalar el o los mapas en una memoria SD, sin necesidad de tener el GPS

Descarga de mapas


No todos son gratuitos

Bolivia
Colombia
Venezuela (requiere un pago anual)


Descarga de mapas gratuitos


Opcion 1: OpenStreetMap



Desde OpenStreetMap puedes descargarte el mapa que quieras, totalmente gratuito


http://garmin.openstreetmap.nl/

Para descargar un mapa de OpenStreetMap sigue estos pasos:

  1. En: Choose your map type, selecciona el tipo de mapa que quieras, por defecto esta seleccionado: Generic Routable
  2. En: Include a TYP file (Optional), dejalo en: None
  3. En: Choose a preferred country, selecciona el contienete y luego el pais
  4. En: Perhaps you'd like to add additiona tiles? dejalo como esta
  5. En: Request your map or download it directly, te aparecera, el link de descarga o un cuadro de texto solicitando un correo electronico donde te llegara el link de descarga
Seleccionar continente y pais

Como puedes ver en la imagen, aparece abajo el link de descarga(en este caso), ya que quizas te pida un correo electronico, donde enviaran el link de descarga, el link de descarga que te envian al correo tiene un duracion, si no me quivoco de 24 horas, pasadas las 24 horas el link desaparecera

En el link te aparecera algo como esto:

Descargas

  • En la carpeta: metadata, hay informacion acerca del mapa
  • osm_generic_windows.exe, es el archivo de instalacion del mapa para Windows
  • osm_generic_tiles.zip, es para Linux
  • osm_generic_macosx.zip, es para Mac OSX
  • osm_generic_gmapsupp.zip, dentro de este archivo .zip esta el mapa comprimido en un archivo .img, este es otro metodo de instalacion del mapa, directamente puedes colocar este archivo .img dentro de la tarjeta de memoria SD o GPS


Opcion 2: OpenMapChest


OpenMapChest es otra pagina donde te puedes decargar mapas gratuitos, pero en este caso, hasta el dia de hoy creado este post, te descargas el mapa pero por continentes, por ejemplo, si quieres descargar el mapa de Argentina, te descargaras el mapa de Sur America completo

Para descargar mapas hay dos opciones

  • Descargar el mapa usando un cliente BitTorrent, recomiendo qBittorrent  
  • Descargar el mapa con un link directo, pero debes registrarte en la pagina


Instalar el mapa



OpenStreetMap

Ejecuta el archivo: osm_generic_windows.exe y sigue las instrucciones

OpenMapChest

Tambien tiene dos opciones de descarga

  1. Mapa para guardar en la memoria SD
  2. Mapa para instalar con MapSource de Garmin, MapSource esta obsoleto, no recibe actualizaciones de 2010, aunque eso no importa mucho, lo importante es instalar el mapa actualizado, en todo caso es mejor la opcion de descarga del mapa para la memoria SD




Instalar el Basecamp


ATENCION!!
Este paso es solo para mapas de OpenStreetMap

Instalar el Basecamp tambien es sencillo, solo sigue las intrucciones del instalador y listo


Instalar el mapa en el GPS Garmin con Basecamp


ATENCION!!
Este paso es solo para mapas de OpenStreetMap

Teniendo instalado el Basecamp y el mapa, procedemos a instalarlo en el GPS o memoria SD, usando el Basecamp

  • Conectar el GPS al PC usando el cable cinco pines IMAGEN o introduce una memoria SD
  • Ejecutar el Basecamp

Basecamp

  • En el panel izquierdo, puedes ver que aparece un dispositivo Garmin (Z:), en realidad es una tarjeta SD de 4GB, cuando conectas el GPS, te aperecera en el panel izquierdo, la memoria interna del GPS (y si tiene tambien una memoria SD dentro del GPS, tambien aparecera), y este procedimiento es el mismo tanto para una memoria SD o GPS
  • En el panel izquierdo, selecciona donde quieres instalar el mapa, ya sea, en la memoria SD o en el GPS
  • Click derecho y selecciona: Instalar mapas en [NOMBRE MEMORIA] (LETRA)

Instalar mapas en la memoria SD o GPS


  •  Mostrara esta ventana


MapInstall


  • Click en: Continuar


Seleccionar mapa


  • Selecciona el mapa que quieras instalar de la lista que esta abajo, tambien puedes seleccionar ciudades, haciendo click en el boton: Buscar una ciudad...
  • Para instalar el mapa, debes seleccionarlo primero, dos imagenes de ejemplo: (leer imagenes)


Ejemplo para seleccionar el mapa

 

Seleccionando mapa

  • Al soltar el boton del mouse, quedara asi:


Mapa seleccionado

  • Opcionalmente si deseas instalar mas de un mapa, escoje el siguiente mapa de la lista de abajo, selecciona todo el mapa y asi sucesivamente con todos los mapas que quieras instalar, eso si, recuerda tener espacio en la memoria donde lo va a instalar
  • Click en: Continuar
  • Te aparecera la siguiente ventana, donde te mostrara, que mapa o mapas se van a instalar


Instalar mapa


  • Click en: Instalar
  • Y espera a que se instale o instalen los mapas, mientras mas pesado el mapa mas se tardara


Finalizar instalacion del mapa o mapas

  • Click en: Finalizar
  • Listo!!



Instalar mapas directamente en el GPS o memoria SD



En vez de descargarte el instalador ejecutable del mapa, te descargas el archivo de imagen con la extension .img, la diferencia entre esta opcion y la del Basecamp es que el Basecamp compila los mapas seleccionados y los guarda en un archivo unico .img
Una desventaja que tiene el GPS es que para copiar mapas grandes de mas de 1GB en la memoria interna del GPS o en una memoria SD que este insertada en el GPS, puede llevar mucho tiempo, para darte un ejemplo, el copiado al GPS(ya sea a la memoria interna o SD insertada en el GPS) puede tener una tasa de velocidad de 400KB/s, si copias un archivo de 1GB puede tardar mas de 40 minutos en copiarse

La solucion a esto es un lector de memoria SD

Lector de memoria USB


O si tienes una laptop con lector integrado tambien puede servir

Si copias los archivos de mapas .img directamente a la memoria SD usando un lector, la copia sera muchisimo mas rapida, la tasa, dependiendo de la marca, capacidad, etc... seria de entre 5MB/s a 10MB/s, una diferencia muy grande, mas de diez veces en comparacion a la copia directa al GPS


Copiar archivos .img



Para instalar directamente un archvo .img a una memoria SD es muy sencillo, sigue estos pasos


  • Inserta memoria SD en tu PC o laptop
  • Dirigete a la memoria SD
  • Crea una carpeta llamada: Garmin
  • Dentro de esa carpeta puedes copiar los archivos .img ***
  • Inserta la memoria SD en el GPS
  • GPS viejo te diriges a: Herramienta -> Configuraciones -> Mapa -> Info de mapa o Acerca del mapa
  • GPS nuevo te diriges a: Configuracion -> Mapa y vehiculo -> Baja hasta donde dice: misMapas
  • Alli deberias de ver el/los mapas instalados
  • Listo!!


*** IMPORTANTE



En algunos GPS permiten tener varios archivos .img, ya sea en la memoria interna del GPS o en la memoria SD, tendrias que actualizar el firmware del GPS ya que en algunos casos resuelven problemas como estos de no tener varios archivos .img, con WebUpdater puedes actualizar el firmware del GPS

Si por alguna razon no te detecta varios mapas .img, puedes copiar los archivos con estos nombres, a ver si los detecta


  • gmapprom.img (este nombre nomalmente es del mapa que viene por defecto en el GPS)
  • gmapsupp.img (y este y los otros nombres son suplementarios)
  • gmapsupp1.img
  • gmapsup1.img
  • gmapsupp2.img
  • gmapsup2.img


Luego de cambiar el nombre, inserta la memoria SD y mirate si los detecta, estoy seguro que si, sino, recuerda actualizar el firmware del GPS, averigua en internet las limitaciones del GPS o el mismo firmware

Por ultimo te puedo decir que se puede compilar varios archivos .img en un sol oarchivo .img, usando el programa GMapTool, programa gratuito y facil de usar y RECUERDA que los GPS y las memorias SD usan el sistema de archivo FAT32 que tiene una limitacion de 4GB por archivo, asi que no puedes crear un archivo .img de 4GB porque no te dejara copiarlo



Publicado en tttony.blogspot.com

Thursday, 2 January 2014

Linux backup-Five Linux backup tools that won't let you down

Linux backup tools that won't let you down

              Linux backup

 


With Linux, you will find quite a lot of backup tools, ranging from the overly simple to the overly complex. There are command-line tools, GUI tools, server-based tools, and combinations. Some of these backups are so incredibly difficult, their usefulness comes into question. So where do you find that happy medium? That, of course, depends upon your purpose and your budget.
I want to suggest what I believe are the five best Linux backup tools, which cover everything from the simple desktop to the complicated server backups. These are all free, except for one enterprise tool that requires support.

1: LuckyBackup

LuckyBackup is my go-to backup tool for the Linux desktop. It's easy to use and flexible, reliable, and it's one of the few desktop GUI entries that make it easy to set up scheduling. But don't let its ease of use fool you. LuckyBackup is powerful. Lucky can handle full backups, snapshots, sync backups, inclusion/exclusion, local or remote backups, restore, simulation, and much more. If you're looking for the ideal Linux desktop backup, LuckyBackup just might be your lucky charm.

2: DejaDup

DejaDup is another easy-to-use Linux desktop backup tool. Some users might find it overly simplified, with its single window consisting of two large buttons labeled Restore and Back Up. But there is a decent feature list behind those two buttons. DejaDup offers support for local and remote backups (even Amazon S3, RackSpace Cloud Files, and Ubuntu One), encryption, compression, incremental backups, backup schedules, and full GNOME integration. In other words, that simple interface is ideally suited for users who want a tool that can reliably back up their data without a lot of complexity.

3: Tar/rsync

These two commands are the bread and butter of most backup systems. But just because they are used by so many GUI tools, that doesn't mean you can't use them from the command line. With these two tools, and a bit of bash scripting, you can create some powerful backup solutions. Add cron to the mix, and those powerful, user-generated tools can be scheduled as flexibly as any backup tool. These tools are often the only option when dealing with a GUI-less server.

4: DD

The dd command is an ideal command-line tool for making bit-for-bit copies of a hard drive. This tool can copy a single file or an entire drive. When you need to clone a drive, and the command line is all you have available, dd is what you will need. Like the tar/rsync one-two punch, dd and rsync can do the same thing, only with an entire drive. Use this tool to create regular images of your drive in case something catastrophic happens and you need to restore a cloned copy of a drive.

5: Acronis for Linux

That's right, one of the Mac Daddies of backup has an option for the Linux server. Acronis Backup and Recover (ABR) 11 for Linux has arrived and it's pure power. A full-featured, GUI enterprise backup solution is available for those needing a seriously powerful backup solution with the inclusion of support. Granted, the cost for ABR 11 ($853 per license) will stab at your budget. But for those who rely on a company behind products, ABR 11 is the right tool for the job.

Linux backup

The Best Linux Server Backup


The Best Linux Server Backup
You should look into Linux Server Backup to protect yourself from unforeseen data loss. Your data is the most important thing that you have in today's competitive world. Losing it would be disastrous for your business, as it would alienate your customers. Although data reliability has gone up in the last few years, natural disasters such as hurricanes and earthquakes can threaten your information at any time during the year.

There are also risk factors which are not physical in nature. Your data can be affected by rogue software such as virus, worms and Trojans. It is also susceptible to hacking and other attempts at data manipulation by hackers. A good firewall definitely helps, but having backup solution will make sure that you have the latest records for security.

Linux offers a number of features that makes it the best solution for Linux server backup. The operating system has been built to be very stable and robust, allowing hosted websites to have very high up times. This flexibility allows advanced features to be available at free of cost. Major operating systems like Ubuntu, Red Hat and CentOS have web-based backup options available that let you carry out remote backups whenever you please.

The best thing about Linux is that it offers network encryption. As a matter of fact, this makes it very hard for hackers to break into your data. Most Linux distributions offer 256-bit network encryption and 256-bit AES storage encryption, along with unique security certificates, making your data secure from interception and attacks. These features also stop your data from leaking, ensuring peace of mind for you and your customers.

Another great thing about this backup solution is that it is highly scalable. It can adapt to any environment - from small-scale data to large-scale environments with petabytes of information. Your Linux server backup will be able to meet anything you can throw at it; it will process all data without a hitch.
These are some of the features that you should really look for in Linux backup solution. The operating system's kernel has been built from the ground up to be highly robust and scalable, handling anything you can give it. It is used actively around the world in a number of small and large-scale environments without any problems. It is also highly secure and will protect your Linux server backup from hackers and remote attacks, among other things.

Discover which Linux Server Backup has the "Must Have" features. Visit http://www.druva.com and find out what features are needed before you purchase any backup program. Try our Windows Server Backup Program "Absolutely Free" for 30 Days.
Article Source: http://EzineArticles.com/?expert=John_Z_Perry

Monday, 30 December 2013

how to install linux mint in vmware


 So, you've heard about this Linux thing and want to know what it's all about. While a die hard Windows user myself, there's some really good reasons to understand and use Linux.

I won't call Linux virus proof, because there's no such thing (with the exception of a mechanical cash register, that just barely qualifies as a computer), but you are far less likely to encounter Linux viruses than those for Windows or Mac OS.

Linux has the very distinct advantage of being largely free and open source, so updates are frequent and cost nothing. There's a world of excellent software available for the platform and tools to run Windows applications with some love and some work.

I'll be demonstrating the installation process for Linux Mint through a virtual machine using the very excellent and free VMWare Player.

download vmware
1) Download and install VMWare Player.





First, you'll want to visit VMWare.com and visit the Products section,
under Free Products for VMWare player.

Download VMWare Player for Windows and run the installer when it finishes downloading. The program is straight forward on its install and the defaults should all be perfectly OK.

2) Download Linux Mint
How to Install Linux Mint in to a Virtual Environmentdownload linux mint 
 
Linux Mint can be found at linuxmint.com. Visit the Download page to find the different versions.
For our purposes, we'll be working with the Cinnamon 32-bit version of Mint.
Choose a mirror appropriate for your region of the world.
The file will download as a.iso file. This is a disk image file, sort of like a direct copy of a DVD. The file extension is named for the ISO, the International Organization of Standards. Save this file to an easy to remember location on your computer.

 3) Configure Your Linux Mint Virtual Machine

Open your newly installed VMWare Player and choose Create a New Virtual Machine.

Choose your ISO from which to install Linux Mint. If you get a warning about VMWare not being able to detect which operating system you are installing, you can simply ignore it. We'll be specifying the OS. Click Next.

Select Linux as the Guest Operating System, and leave (or select if needed) Ubuntu as the Version. Click Next.

Give your virtual machine a name. Choose a location to save your virtual machine. Click Next.
Configure your storage settings. Since this is a test machine, and we don't need to use a lot of space, 8 GB should be sufficient to play around and install some applications. I prefer to store the virtual disk as a single larger file, since I generally won't be moving it. Click Next.
Verify your settings and click Finish. Your basic settings are now complete.

4) Install Linux Mint
How to Install Linux Mint in to a Virtual Environment

*ADVANCE WARNING: If at any time while installing Linux Mint, you can't find your mouse cursor or it gets "stuck" press the Control and Alt buttons together. This is a function of the VMWare Player.*
Select Play Virtual Machine using either of the green Play Buttons.

If you get a popup to install VMWare Tools, choose Remind Me Later.

Let the auto load cycle complete. After some message appear, Linux Mint will boot directly to the desktop. Mint is designed to run as a Live Operating System, which means it can run directly from the disk or disk image (.iso).

From here you can explore and use Linux Mint, but it won't be particularly fast compared to a full installation. Double click the Install Linux Mint icon on the virtual desktop.

The installer window will launch and as your to specify your language. I'll be running under the assumption of English. Click Continue.

Assuming your PC is online, and you set up your virtual hard disk to be 8.0 GB, you should have two check boxes on the next screen. Click Continue.

Select the Erase Disk and install Linux Mint option, and leave all other options unchecked. You are working inside of a virtual hard disk, and it's completely isolated from the rest of your computer, so you won't erase anything on your PC. Click Install Now.

The operating system will generally auto-detect your region. If not, type in your city to have it set your time zone. Click Continue.

Define your keyboard layout. Click continue.

Set up your name, your computer (VM's) name, your username, and your password. I've set my machine to log in automatically and set a password of "password1" since this machine is only for playing around and not for any of my personal information or online transactions. I've also set it to log me in automatically so I don't have to type in my password every time. Click continue after you have set up your user identification.

You'll notice arrow buttons on the side of the Mint installer screen as it wraps up the install. You can click through these to take a mini-tour of the Mint operating system. Let the installer complete its tasks. Grab a soda or something if you finish with the tour. You can click out of the virtual machine to play some solitaire on your host PC while you wait.

When Mint is done installing, it will prompt you to continue testing (work with the live desktop) or restart and launch in to the normal install of Mint. Click Restart Now.

Mint will ask you to remote the installation media, close the tray, then press the enter key. Since we aren't working off a DVD, we'll need to dismount the image. Press Ctrl and Alt together on your keyboard to unlock your mouse.

Click the Player button in the upper left of the VMWare Player window, select Removable Devices, select CD/DVD, and click on Settings.

Un-check the Connect as power on button for the CD/DVD drive. Click the OK button. Click back on to the black Mint Logo screen and press the enter key on your keyboard. Mint will now reboot.
Mint will reboot and automatically log you in to your desktop, where you'll be greeted by the Welcome to Linux Mint window. You can choose to have this show up at start up or not. Click the Close button on the window.

5) Using Linux Mint

For Windows users Mint is a very intuitive operating system. The Menu button in the bottom left functions like the Start button in Windows. Opening it will reveal a large menu of applications, sorted by type. Click through and see what you can find. Most of them are very self-explanatory.

Unlike Windows Linux is built on a package manager system instead of an executable system for installing new programs. Let's install Skype on Mint.

From the Menu, choose the Software Manager. When prompted, type in your password. The software manager application will launch.

Search for Skype using the search box in the upper right. Type in Skype and press the enter key.
Mint will find the package to install Skype. Double click on it to bring up the information window.
Click the install button. Skype will install itself and the screen will say "installed" once complete. Close the Software Manager.

Going to the Menu and selecting the Internet category will show Skype installed on the machine.
From here, explore Linux Mint, and get a feel for it. There's many usability resources on the Web, and this should get you started pretty well.


basic linux commands

 basic linux commands

basic linux commands

hi guys, hiyou have installed your favorite linux distro and you are sitting in front of it. Probably you must have heard a lot of frightening things about its console. Here you will see some basic linux commands which will help you to get familiar with linux command line. So let's continue with the linux commands cheatsheet.
But first a few words about a very basic command called man. man comes from manual and it works like this man command_name. With this command you can view information on how to use any command of your system. There is even a man page for man! Try typing man man and you ll get the point. So if want further information and details on a command listed below just type man command_name
Lets get started!
 basic linux commands
basic linux command line

Viewing, copying, moving and deleting files

ls Display the contents of the current directory
ls -a Display also hidden files and hidden directories
cp filename /path/dir_name Copy filename into directory /path/dir_name
cp -r dir_name /path/dir_name2 Copy the entire dir_name into /path/dir_name2
cp filename1 filename2 /path/dir_name Copy filename1 and filename2 into /path/dir_name
rm name Remove a file or directory called name
rm -r name Remove an entire directory as well as its included files and subdirectories
mv filename /path/dir_name Move filename into /path/dir_name
mv filename1 filename2 Rename filename1 to filename2
cat filename Display filenames contents
more filename Display filename in pages. Use spacebar to view next page
head filename Display filenames first 10 lines
head -15 filename Display filenames first 15 lines
tail filename Display filenames last 10 lines
tail -15 filename Display filenames last 15 lines
pwd Display current directory
cd /path/dir_name Change to directory /path/dir_name
cd .. Go 1 directory up
mkdir dir_name Create directory dir_name
rmdir dir_name Delete directory dir_name
 

Finding files and text within files

updatedb Update (create first time used) a database of all files under the root directory /
locate filename Find file filename searching in the database
find / -name filename Starting from the root directory search for the file called filename
find / -name *filename Same as above but search for file containing the string filename
grep string /path/dir_name Starting from /path/dir_name search for all files containing string
which application_name Search $path for application app_name
whereis application_name Search $path, man pages and source files for application_name
  basic linux commands

Archived files

Decompress

tar -xzf filename.tgz Decompress tzg file
tar -xzf filename.tar.gz Decompress tar.gz file
tar -xjf filename.tar.bz2 Decompress tar.bz2 file
 
Compress
tar -czf filename.tar /path/dir_name Compress directory /path/dir_name to filename.tar
gzip -c filename > filename.gz Compress /path/dir_name to filename.tar.gz
bzip2 -c filename > filename.bz2 Compress /path/dir_name to filename.tar.bz2
  basic linux commands

Using rpm files 

rpm -hiv package.rpm Install rpm called package.rpm
rpm -hiv --force package.rpm Install rpm called package.rpm by force
rpm -hUv package.rpm Upgrade rpm called package.rpm
rpm -e package.rpm Delete rpm called package.rpm
rpm -qpil package.rpm List files in not-installed rpm called package.rpm
rpm -ql package.rpm List files in installed rpm called package.rpm
rpm -q str List installed rpms containing the string str
rpm -qf /path/application_name Display the rpm that contains application application_name
  basic linux commands

Starting and Stoping 

startx Start the X system
shutdown -h now Shutdown the system now and do not reboot
halt
Same as above
shutdown -r now Reboot
reboot Same as above
shutdown -r +10 Reboot in 10 minutes
   basic linux commands

Mounting filesystems

mount -t vfat /dev/sd(a)(1) /mnt/c_drive Mount the first partition 1 of the first hard disk drive a which is in fat32 vfat dormat under /mnt/c_drive directory
mount -t iso9660 /dev/cdrom /mnt/cdrom Mount cdrom under /mnt/cdrom directory
umount /mnt/hda1 Unmout the above
  basic linux commands

User administration

users Display users currently logged in
adduser username Create a new user called username
passwd username Define password for user called username
who List logged-in users
whoami Display current user
finger username Displays info about user username
su Log in as root from current login
su - Log in as root from current login and take root's path
exit Exit from console login (ie, logout).
 basic linux commands

Processes 

command Execute command in the foreground
command & Execute command in the background
ctrl+z Suspend a program
ctrl+c Interrupt a program
ps List all processes
kill -9 pid Kill process with id pid
top Monitor processes in real time
 basic linux commands

Networking 

hostname List the system's hostname
ifconfig Set/Display network information
host ip Resolves ip's hostname
ping ip/hostname Check if ip/hostname is reachable
traceroute ip/hostname Find network path to ip/hostname
  
 basic linux commands

System Information

uname -a General system information
fdisk -l List partition tables
cp filename /path/dir_name Copy filename into directory /path/dir_name
df -T -h List filesystem disk space usage
lspci List PCI devices
lsusb List USB devices
free -m Display RAM+Swap usage

 basic linux commands

Program Compile

gcc -o output file.c Compile a C program
./output Run a C program you have compiled
g++ -o output file.cpp Compile a C++ program
./output Run a C++ program you have compiled
./configure && make && su -c 'make install' Configure, compile and install a program with Makefile

Friday, 27 December 2013

Install and Configure Apache Traffic Server on Ubuntu Server 12.04

Apache Traffic server is a reverse proxy, cache proxy and forward proxy. Web proxy caching enables you to store copies of frequently accessed web objects and then serve this information to users on demand. It improves performance and frees up Internet bandwidth for other tasks.


appach

Installation


Installation of Apache Traffic Server is bit tricky on Ubuntu due to absence of standard apt-get easy installer package. Well but its not that difficult though. I am writing down step by step process for easy understandability.

Download latest tar.bz2 from apache website and put that on Ubuntu server any directory.

wget http://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-4.0.1.tar.bz2

tar xf trafficserver-4.0.1.tar.bz2

cd trafficserver-4.0.1

 sudo apt-get install g++ libssl-dev tcl-dev libexpat1-dev libpcre3-dev libcap-dev libcap2

 ./configure

 $ make

 $ sudo make install

Server level configuration

 

After successful installation, open ld.so.conf (sudo vi /etc/ld.so.conf) and add following line.
include /usr/local/libexec/trafficserver

Run the following command: 
sudo ldconfig

Steps for Start and stop


To start Traffic Server manually, issue the following command, passing in the attribute start. This command starts all the processes that work together to process Traffic Server requests as well as manage, control, and monitor the health of the Traffic Server system.

sudo service trafficserver start/stop

All the configuration parameter related to cache are located in /usr/local/etc/trafficserver/records.config file after making any configuration changes do run command traffic_line -x to apply the configuration changes.

Installation Directories


When we install traffic server, we had not provide the installation directories for config files and executable. These stuffs has been placed with default conventions.

All configurations files :

/usr/local/etc/trafficserver/

All executables :

/usr/local/libexec/trafficserver

Important Configuration Files & Usage

 

sudo vi /usr/local/etc/trafficserver/records.config

For changing default port as well as connection time out etc. related data.
Don't forget to execute following command in case of minor rule change:

sudo traffic_line -x

In case of severe change like port etc please make sure you had restarted the server:

sudo service trafficserver restart

For Configuring the mapping 

 

sudo vi /usr/local/etc/trafficserver/remap.config

In the above file, we can provide as many map, reverse map, redirect, reverse redirect configurations.

Apache Virtual Host Specific Configuration

 

Step 1:
sudo vi /usr/local/etc/trafficserver/records.config

In the file make following changes so config read like below
CONFIG proxy.config.reverse_proxy.enabled INT 1
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1 (It make sure host name in http header doesn't change)
CONFIG proxy.configurl_remap.remap_required INT 1

Step 2:
sudo traffic_line -x

Step 3:
sudo vi /usr/local/etc/trafficserver/remap.config

Step 4:
sudo traffic_line -x
Above configuration is sufficient for setting the initial reverse proxy to listen on default port and serve the request based on domain name from provider (Apache)


Cache Configuration


CONFIG proxy.config.cache.ram_cache.size INT -1 (default value 1 MB per 1 GB Disk Space, alternatively you can set 20971520 (20 MB))

Monitoring Traffic & Log File


Log file location - var/log/trafficserver


source ; inuxsystemhacks.com

red more: 

 Configuration serveur apache

 
 

Wednesday, 25 December 2013

dual-boot Windows 8 and Linux

How to dual-boot Windows 8 and Linux

get Windows 8 and Linux booting from the same machine without too much trouble. Ashton Mills explains.


windows 8
You’ll need this To its credit, Windows 8 adds much more than just the Modern UI. There’s the underlying changes for memory efficiency, graphics performance (particularly elements like images, for which the Modern UI heavily relies on) and of course, the range of system-wide improvements like more informative copy dialogues and the ever-so-sexy Task Manager.
It also revamped, for the first time, both the dreaded BSOD screen and in many ways, its reluctant partner: the Windows boot manager. Under the bonnet the Windows boot manager works much the same as it did in Windows 7, with the added difference that’s it’s a heck of a lot nicer to look at. No longer are you presented with merely an ASCII-based white-on-black boot menu, much like GRUB for Linux; instead, there’s a soft blue background with large icons and fonts that mimic the Modern UI — and it’s mouse driven to boot (HA! See what I did there?). Such that, for some of us here at APC, we actually prefer the look of Windows 8’s boot manager than the traditional Linux one, even if slightly prettified in distributions like Ubuntu.
So, while you can easily set up a dual-boot system by installing Windows 8 first and then Linux, you’ll be left with GRUB to manage your boot. If you prefer the look of the Windows 8 menu, here’s how to dual-boot Windows 8 and Linux using the Windows 8 boot manager.

Step 1: Installation order

Installing Windows 8 and Linux on the same system doesn’t change — always do Windows first and then Linux second. However, the only difference now is to install GRUB to the root partition (or a /boot partition, if you set one up) instead of the MBR of the hard drive. For example, you might configure your installation to look something like the diagram below.
When you do this, you initially won’t be able to boot to Linux once the installation finishes. This is fine, as we’ll fix that in a moment.
You can configure your installation to look something like this. 


Step 2: Install EasyBCD

Reboot and once Windows 8 has loaded, drop to the desktop and head to neosmart.net/EasyBCD. Click on ‘Register’ at the bottom of the page and optionally fill in your details if you’d like to help support EasyBCD. This isn’t necessary, though, and you can click ‘Download!’ to download EasyBCD whether you register or not.
EasyBCD has been around for some time and provides flexible control over the Windows Boot Configuration Data (BCD). This includes the boot menu, for which Windows is actually quite a capable tool. It’ll happily boot a range of Windows operating systems and much like GRUB, it can be configured to chain-load non-Microsoft operating systems — with a little help, anyway. One of the features of EasyBCD is the integration of both a GRUB boot image and GRUB chain-loader, allowing you to boot Linux from the Windows boot menu.
EasyBCD has been updated with Windows 8 support, making it a snap to use the new Windows 8 boot menu to boot both Windows and Linux.
The contents of the BCD loader for dual-booting Windows 8 and Linux.

Step 3: Chain-load GRUB

Start EasyBCD and back up the current BCD configuration file by clicking ‘BCD Backup/Repair > Backup Settings’. Next, click ‘Add New Entry’ and under the ‘Linux/BSD’ tab, click on the ‘Type’ field and choose ‘GRUB2’ (if using Ubuntu). Under the ‘Name’ field, change it to whatever distribution you’re using and for ‘Drive:’, set it to ‘Automatically locate and load’.
Hit ‘Add Entry’ and you’re done! If you click on the ‘View Settings’ button, you should see a new entry for your distribution or ‘NeoSmart Linux’ if you didn’t change the name.
Adding a new entry to boot Linux.
If you’re using another version of Linux, check to make sure which version of GRUB it’s using. If the original GRUB is being used, you’ll need to select ‘GRUB’ instead and, since it can’t be automatically located and loaded, set the partition you installed GRUB to in the ‘Drive:’ field. Later, if for whatever reason this isn’t working, you can try ticking ‘Use EasyBCD’s copy of GRUB’.
Finally, if you forgot to change the name for the entry or want to change it later, click ‘Advanced Settings’ and under the ‘Basic’ tab rename the entry before clicking ‘Save Settings’.
Naturally, you can also use EasyBCD to alter other boot menu settings such as reordering the list, setting the default operating system and changing the timeout. All of these can be found under the ‘Edit Boot Menu’ section. Don’t forget if you run into any problems, you can also restore your original Windows 8 boot menu settings from the ‘BCD Backup/Repair’ option.
And that’s it! Enjoy your dual-boot Windows 8 and Linux system with a more modern and cleaner boot time interface.

Other tips: Cheating Windows 8’s cheat

Once you have more than one operating system installed alongside Windows 8, you may notice some interesting behaviour with the way Windows 8 boots. When you’re presented with the boot menu, this isn’t a first step before choosing what operating system loads. As part of its changes to decrease boot times, Windows 8 actually loads in the background and the boot menu is more a formality: if you click to boot Windows 8, you’ll instantly be presented with the login screen; if you choose to load another operating system, your machine will reboot before loading into the other OS.
It’s a bit of a hack on Microsoft’s part to create the illusion of speed and while it doesn’t bother us too much (having SSDs for boot drives helps), you can bypass this behaviour with a neat little tool also made by NeoSmart: iReboot.
EasyBCD has an option to install iReboot under ‘Useful Utilities’, but we found this didn’t work. Instead, head to neosmart.net/iReboot to download and install the latest version.
Once installed, a tray icon will appear to you let choose from your boot menu what operating system you’ll load at your next boot, making it possible to reboot once to Linux, instead of twice when rebooting from Windows 8. Neat!

source ; apcmag.com

Tags : Windows, Windows 8, Linux, Microsoft, advantages of Microsoft Windows 8.1, Cheating Windows 8’s cheat,Install EasyBCD,Windows 8 and Linux booting,dual-boot Windows 8 and Linux,

Monday, 23 December 2013

How to Set up a Network in Ubuntu

Configuring networks such as a Digital Subscriber Line (DSL) or Asynchronous Digital Subscriber Line (ADSL) primarily used for accessing the internet can be a hassle, especially when you aren't using the same operating system as what the directions were originally written for. This article is a starting point for configuring DSL using Ubuntu Linux.

Ad

Edit Steps

  1. How to Set up a Network in Ubuntu
     
    1
    Open Network Connections to set up network settings in Ubuntu. Go to “System”, “Preferences” and chose “Network Connections."
    Ad
  2. How to Set up a Network in  Ubuntu
     
    2
    Under the “Wired” tab, click on “Auto eth0” and select “Edit."
  3. How to Set up a Network in  Ubuntu
     
    3
    Click on “IPV4 Settings” tab. Chose the “Automatic (DHCP)” option if your network has a DHCP server. The DHCP Server has automatically assigned the IP address to your system. Click "Apply."
    • You also chose the “Manual” option from the Method drop-down list and assign the IP address, netmask and gateway manually. You'll also have to assign the DNS Server address. 
    • Click "Apply."
      How to Set up a Network in  Ubuntu
  4. How to Set up a Network in  Ubuntu
     
    4
    Check the IP address settings. Go to “Applications” “Accessories” and chose “Terminal."
  5.  
    5
     
    Type the following command into terminal: “sudo ifconfig” without quotes.
  6. How to Set up a Network in  Ubuntu
     
    6
     
    Get your new addresses. The Ifconfig command will show the inet address, broadcast address and mask address.
Source : wikihow.com

More Article :

 installer chromium ubuntu
 
Tags : How to Set up a Network in Ubuntu ,ubuntu,configure internet linux ubuntu,internet,configure internet linux command line

Saturday, 21 December 2013

Run Backtrack 5 On Android Devices


Description: Backtrack is a very popular linux distribution for penetration testing. It has hundreds of tools for pentesting and hacking. Now a version of backtrack is available for arm processor devices. Normally android based mobile devices uses arm processor so we can install arm version of backtrack on android devices.
This video explains very clearly step by step method of installing process of arm version of backtrack on android devices. Following are the steps and utility for the installation process.
1. Download terminal emulator,android vnc and arm version of backtrack.
2. Extract the content of img file and transfer it in to memory of android devices.
3. Install BusyBox and start it.
4. Open terminal emulator. use "cd" command to get in backtrack directory where extracted content is saved on memory card of device. In this case command is
cd /sdcard/BT5
5. Type "sh bootbt" and we will be in Backtrack.

Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play)
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
If you like this page, let Google know: Security Geeks - Security and Ethical Hacking Tutorials Home eBooks Pentesting Tools Hackers Media Wallpapers Section WebTools Section Partners Write For Us Wednesday, 20 March 2013 How To Install Backtrack In An Android Device - The Easiest Way Share On Google+Add This To DeliciousTweet/ReTweet ThisShare on FacebookStumbleUpon ThisDigg This Related Posts Plugin for WordPress, Blogger... Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play) All of the programs mentioned above are free. Ok, now let's start, The first thing you need to do is install Busybox from Google play: Install it, then open it when it's done, it will install some more things. When it's done, install Linux Installer from Google Play: Open Linux installer, then click on Install Guides from the list on your right hand side: When you click that, you'll see a list of Linux distros, click on Backtrack and you will see a screen with steps on how to install it. Now click on the second page of those steps, you will get a page that looks like this: Just click on "Download Image", and let it finish downloading. While it's downloading, open Google play and install Terminal Emulator, and Zarchiver. Terminal Emulator: Zarchiver: When it finishes downloading, open Zarchiver, and look for the ZIP file that you downloaded, and extraxt the image into a root folder called "backtrack", extract the image into an external memory card not the internal one. Once it's done, open Linux Installer again, and click on launch, you'll get a screen that looks like this: If it didn't recognize any distro, click on Setting > Edit then change the file path there to your backtrack image, the .img file that you extracted. When it finally say "backtrack" on the drop down list, click "Start Linux" Terminal Emulator will open, you just have to proceed with the installation steps, ask you for a new password, and some preferences. When it's done you will get a red "root@localhost~#" like the picture bellow: You are now in backtrack! Now if you want backtrack in GUI, open Google play, and install Android VNC: Open It when it finishes installing, and it will look like this: Set to the same settings in the picture, but not the IP address, you can get your IP by opening backtrack terminal, in terminal emulator, and running "ifconfig" command: Settings for VNC are, Username: backtrack Password: backtrac IP: from the "ifconfig" command or just put 127.0.0.1 Color Format: 24-bit Now click connect, and boom! You'r in backtrack Desktop! ;) When you finis using it, remember to disconnect VNC AND exit backtrack in Terminal Emulator, else it will be taking your battery in the background. And note that Ubuntu can be installed in the same exact way, just the username and password for VNC will change. That's it guys, enjoy! :) You might also like: How To Pentest With Your Android Device - dSploit How To Remove Google Ads From Android Apps - Lucky Patcher Security Flaw Could Give Hackers Complete Control Of ... 92% of Android Application Found Under Malicious Attacks How To Remove The License Verification From Android ... Linkwithin Love to hear what you think! By SecurityGeeks Labels: Android, android pentesing, Backtrack, backtrack on android, HOW TO Newer Post Older Post Home Search The Blog Translate Select Language​▼ Become a Fan Today! Popular Posts How To Remove The License Verification From Android App/Games Using Lucky Patcher Hello guys, Today I'm going to show you how to remove the license verification from apps and games. License Verification can be found ... How To Install Backtrack In An Android Device - The Easiest Way Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Roote... How To Find Out If You Have A Keylogger Installed On Your Computer Sometimes, there is a downside to the fact that the internet makes everything so easy. Case in point: cybercrime. Without ever seeing you,... How To Scan A Website For Vulnerabilities Using BackTrack - Uniscan Hello guys, today I'm going to show you how to scan for vulnerabilities in a website, or all the websites in the server. In this tutor... Special Categories HOW TO Linux Tutorial pentesting Backtrack Guest post How To Secure HTML Video Turorial Android Hacking Exploiting Fun 0day BEST OF Blogger Follow Us Share on facebook Share on twitter Share on google_follow Share on youtube Share on rss Total Pageviews 1390190 DMCA.com Latest News Microsoft Says Cybercriminals Behind ZeroAccess Have Abandoned the Botnet Galaxy Note Pro Tablet Might Be Samsung’s 12.2-Incher The Washington Post Hacked Again, Employee Credentials Compromised Reddit Girl Gets Secret Santa Gift from Bill Gates Viber for Windows 8 Officially Launched – Free Download Pentesting Tools SSI-SCAN: a simple PoC SSI injection vulnerability scanner IP-Digger v 3.0 The WeB Xploit3r Released by Team FreaK Coderz Droid Explorer by 17 years old student from Kashmir Weevely 1.1 Released dSploit - Android Pentesting tools Hot Posts How To Install Backtrack In An Android Device - The Easiest Way How To Remove The License Verification From Android App/Games Using Lucky Patcher How To Scan A Website For Vulnerabilities Using BackTrack - Uniscan How To Remove Google Ads From Android Apps - Lucky Patcher How To Find Out If You Have A Keylogger Installed On Your Computer Web Programming Series - HTML Tutorial 1 Gags ShareThis Copy and Paste Deal Finder
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play)
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybo
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play) All of the programs mentioned above are free. Ok, now let's start, The first thing you need to do is install Busybox from Google play:
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play) All of the programs mentioned above are free. Ok, now let's start, The first thing you need to do is install Busybox from Google play: Install it, then open it when it's done, it will install some more things. When it's done, install Linux Installer from Google Play: Open Linux installer, then click on Install Guides from the list on your right hand side: When you click that, you'll see a list of Linux distros, click on Backtrack and you will see a screen with steps on how to install it. Now click on the second page of those steps, you will get a page that looks like this: Just click on "Download Image", and let it finish downloading. While it's downloading, open Google play and install Terminal Emulator, and Zarchiver. Terminal Emulator: Zarchiver: When it finishes downloading, open Zarchiver, and look for the ZIP file that you downloaded, and extraxt the image into a root folder called "backtrack", extract the image into an external memory card not the internal one. Once it's done, open Linux Installer again, and click on launch, you'll get a screen that looks like this: If it didn't recognize any distro, click on Setting > Edit then change the file path there to your backtrack image, the .img file that you extracted. When it finally say "backtrack" on the drop down list, click "Start Linux" Terminal Emulator will open, you just have to proceed with the installation steps, ask you for a new password, and some preferences. When it's done you will get a red "root@localhost~#" like the picture bellow: You are now in backtrack! Now if you want backtrack in GUI, open Google play, and install Android VNC: Open It when it finishes installing, and it will look like this: Set to the same settings in the picture, but not the IP address, you can get your IP by opening backtrack terminal, in terminal emulator, and running "ifconfig" command: Settings for VNC are, Username: backtrack Password: backtrac IP: from the "ifconfig" command or just put 127.0.0.1 Color Format: 24-bit Now click connect, and boom! You'r in backtrack Desktop! ;) When you finis using it, remember to disconnect VNC AND exit backtrack in Terminal Emulator, else it will be taking your battery in the background. And note that Ubuntu can be installed in the same exact way, just the username and password for VNC will change.
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play) All of the programs mentioned above are free. Ok, now let's start, The first thing you need to do is install Busybox from Google play:
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
Hello guys, today I'm going to show you the easiest way to install backtrack on an android device. For this tutorial you need: Rooted android device Linux installer (Can be found on Google play) Zarchiver (Can be found on Google play) Busybox (Can be found on Google play) Android-VNC (Can be found on Google play) Terminal Emulator (Can be found on Google play) All of the programs mentioned above are free. Ok, now let's start, The first thing you need to do is install Busybox from Google play: Install it, then open it when it's done, it will install some more things. When it's done, install Linux Installer from Google Play: Open Linux installer, then click on Install Guides from the list on your right hand side: When you click that, you'll see a list of Linux distros, click on Backtrack and you will see a screen with steps on how to install it. Now click on the second page of those steps, you will get a page that looks like this: Just click on "Download Image", and let it finish downloading. While it's downloading, open Google play and install Terminal Emulator, and Zarchiver. Terminal Emulator: Zarchiver: When it finishes downloading, open Zarchiver, and look for the ZIP file that you downloaded, and extraxt the image into a root folder called "backtrack", extract the image into an external memory card not the internal one. Once it's done, open Linux Installer again, and click on launch, you'll get a screen that looks like this: If it didn't recognize any distro, click on Setting > Edit then change the file path there to your backtrack image, the .img file that you extracted. When it finally say "backtrack" on the drop down list, click "Start Linux" Terminal Emulator will open, you just have to proceed with the installation steps, ask you for a new password, and some preferences. When it's done you will get a red "root@localhost~#" like the picture bellow: You are now in backtrack! Now if you want backtrack in GUI, open Google play, and install Android VNC: Open It when it finishes installing, and it will look like this: Set to the same settings in the picture, but not the IP address, you can get your IP by opening backtrack terminal, in terminal emulator, and running "ifconfig" command: Settings for VNC are, Username: backtrack Password: backtrac IP: from the "ifconfig" command or just put 127.0.0.1 Color Format: 24-bit Now click connect, and boom! You'r in backtrack Desktop! ;) When you finis using it, remember to disconnect VNC AND exit backtrack in Terminal Emulator, else it will be taking your battery in the background. And note that Ubuntu can be installed in the same exact way, just the username and password for VNC will change.
- Read more at: http://www.securitygeeks.net/2013/03/how-to-install-backtrack-in-android.html
 
 
Source : Opensourcegangster from Youtube  

more poste

Download back track 5.0

backtrack 5 sur usb

linux and windows 7 dual boot

Tags : Video , Android, Backtrack 5 , Run Backtrack 5 On Android Devices




Friday, 15 February 2013

linux and windows 7 dual boot

Dual Boot Your Pre-Installed Windows 7 Computer with Ubuntu

You have a new computer that came with Windows 7 pre-installed on it, and you want to create a dual boot system so you can run Ubuntu Linux as well. Here we take you through the process to install Ubuntu on your pre-installed Windows 7 machine.
For this demonstration we’re using Windows 7 Home Premium (32-bit) and Ubuntu 9.10 (32-bit)
Install Ubuntu
Here we will set up a basic dual boot system with the Ubuntu 9.10 disc that will create GRUB as your boot loader. On the Window 7 machine pop in the Ubuntu disc and boot from it.
11linux
If you experience a problem with the graphics with Ubuntu not displaying correctly, go back to the start screen, hit F4 and select Safe graphics mode.

Continue through the installation steps by selecting your language, time zone, and keyboard layout. When you get to the following screen (step 4 of 6), the easiest method for beginners is to select the first option– Install them side by side, choosing between them each startup. On the first bar you’ll see is the entire Windows 7 partition. Then on the second bar, you can slide it up or down to specify the amount of hard drive space you want for Ubuntu.

The green area represents the amount of space we’re leaving for Windows 7, and the brown is the space we’re allocating for Ubuntu.In this example we’re sliding it down to 10GB and leaving the rest for Windows.

Click continue to the verification dialog box.

In the next step create your user name, password, and configure log in options.

If everything looks good, go ahead and click Install. If you need to make any changes you can still go back and make them at this point.
 
The installation will start showing a progress bar and display new features in Ubuntu 9.10.

The amount of time it takes to install will vary from system to system, and once it’s complete, go ahead and restart the machine.

When the machine reboots you’ll see the GRUB loader where you can boot to Ubuntu or Windows 7.

One thing to point out in my experience with this method is when you first boot into Windows 7, Check Disk runs, then reboots and you need to choose the Windows 7 option again from the bootloader.

Conclusion
This should help get you started in enjoying a Windows 7 / Ubuntu Linux dual boot configuration. There are definitely other ways to get a Windows / Linux dual boot system, but if you want a quick method, so you can try out Ubuntu, this method works well.
source  http://www.howtogeek.com/howto/9059/dual-boot-your-pre-installed-windows-7-computer-with-ubuntu/