Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, May 30, 2013



1. Configure the network (static IP).


sudo apt-get update


3.  Edit /etc/hosts The installation will take the domain name of the line

Server.m4dom.local server 127.0.1.1

4. It is advisable to change the hostname in / etc / hostname to match the way you made ​​to / etc / hosts.
5. Install the LDAP server. During the installation we will be asked for the password of the administrator of the LDAP tree.

sudo apt-get install slapd ldap-utils

6. Verify the correct operation of LDAP

ldapsearch-x-LLL-b dc = m4dom, dc = local

7. Install the phpldapadmin

sudo apt-get install phpldapadmin

8. Properly configure phpldapadmin. Edit /etc/phpldapadmin/config.php and replace dc = example, dc = tld our domain name (dc=example,dc=com). Restart Apache

service apache2 restart

9. We can manage to enter the domain through the URL http://sserver/phpldapadmin. We login with
User: cn = admin, dc = m4dom, dc = local
password: entry during the installation of slapd

Wednesday, May 29, 2013

Webhosting with HA and with kloxo NFS, Rsync, Heartbeat

Comming Soon Subscrice through Email within few days I will update



Monday, May 13, 2013

No Matter what people think about UNITY/UBUNTU but it seems that ubuntu community is adding a WOW factor to the SYSTEM in terms of speed, stability, design, smoothness and the best thing is that unity is getting mature day by day by the release of newer version you can note the changes in unity from 11.04 to 13.04 unity/ubuntu has grown really well and its getting my favourite interface.

Ubuntu 13.04 is released.
Well when people talk about features in newer version of any thing though its a OS or a CAR they first see the changes in design and hardly note the improvements in core/functionality of that particular thing.Today i am going to talk about my personal experience with ubuntu as a END user.

What is my experience as an END USER?
END USER ? whats that??? :O
Well let me explain by end user, I mean that i am using ubuntu 13.04 for the first time and I love music, I love surfing internet, I love fast system ETC.

so, My first reaction was
WOOOWW its DAMN fast.

My End User Experience In Terms Of Speed.
BOOTING TIME ----------------- Fast
Iniciating Session ------------------ Fast
Firt time opening Mozilla/chrome after login -------------- Normal
HERE STARTS FUN
Opening Filemanger ------------------------- Cooool Fast
Open any other program --------------- Taking really less time

In terms of speed ubuntu 13.04 amazed me and all time I say wow.

My End User Experience In Terms Of Design.
Well design is not that changed but i am liking the way we can manage files in Nautilus and start menu of ubuntu/unity i liked from the first day and its also really improved. There is not much to talk on design but there are alot of new customization options in UNITY A few icons are new and what i liked in design are two things
1. File manager sidebar
Look at the cool sidebar icons i love these icons they are so simple and clean

2. Top bar in file manager
in Top bar we have new features in search within folders and arange icons and new style buttons these are cool looking buttons.

3. Changes in Start MENU UNITY




If you righ click any APP in start menu of unity/ubuntu your will see the description of the app and its really cool.

THATS ALL ABOUT DESIGN FOR ME

But at the end i must say I am using ubuntu from past 1 month and i have no issue of compatibilty and I got no Error its so stable to me i use VirtualBOX and mutliple machines to practice my networking and i use as web server as well i have no issue with this at all I have installed SUBLIME editor free version and its just so cool

Here is a screenshot of SUBLIME editor for Ubuntu


Thanks for reading , If you like that topic please comment , share and subscribe.










Thursday, January 31, 2013

A few days ago I saw that ubuntu is realeasing there OS for smartphones, better said for phones. I was waiting for the ubuntu for android but ubuntu developers took it one step further and now they are releasing there own os working on mobile phones and it has alot of cool features connecting all your devices from smart phone , tablets and pcs in one OS thats one step towards brighter future for computing and tech lovers.

Checkout official page for more information 


Here are some design features of Ubuntu for phones.

Everything at your fingertips 

Ubuntu uses simple natural swiping gestures from the edges of the screen to make it easier than ever to access your content and switch between apps. Every edge of the phone is used, letting you move faster between apps, settings and content. 

Favourite apps 

 A short swipe from the left edge of the screen is all it takes to reveal your favourite apps. There’s room for everything you use daily, available instantly from the welcome screen or any application. Ubuntu lets you switch faster between running and favourite apps than any other phone.

Always running 

Page either left or right from the home screen to see the content you use most. A full left-to-right swipe reveals a screen showing all your open apps, while a swipe from the right brings you instantly to the last app you were using. Switching between running applications has never been quicker or easier. 

Going back 

A swipe from the right edge takes you back to the last app you were using; another swipe takes you back to the app you used before that. It’s natural to keep many apps open at once, which is why Ubuntu was designed for multi-tasking. No other smartphone lets you switch between applications this quickly. 


Content, not controls 

Swiping up from the bottom edge of the phone reveals app controls. You can hide or reveal them instantly, which means they don’t take up room on the screen, leaving you free to focus on the stuff that matters. Immerse yourself in your photos, web pages, music, messages and apps. 

A whole world of apps 

Web applications sit alongside native apps on Ubuntu. They get their own icons and the same access to system notifications. So apps like Facebook, Twitter, Google Maps, Gmail and Spotify are all available – and thanks to Ubuntu’s web app APIs, it’s easy for web developers to install their sites as full applications. But Ubuntu isn’t limited to HTML5. Native apps are blazingly fast, taking advantage of the full capabilities of the phone’s processor and graphics hardware. And a mobile SDK does most of the work to give you that gorgeous, distinctive Ubuntu look and feel. Run local Ubuntu apps and remote Windows apps on a secure docked phone – the new thin client of choice. Your Ubuntu phone can be managed with standard enterprise Ubuntu management tools that also handle servers, cloud infrastructure and desktops. Secure your infrastructure using Ubuntu’s browser and email client, delivering your legacy Office apps from your data centre. 

Find anything, anywhere, instantly 

Just tell your phone what you’re looking for and watch the results come in. If it’s a person, you’ll see data from your email and phone contacts alongside Facebook friends and followers on Twitter. Looking for music? Ubuntu doesn’t just search your phone. It also searches online retailers including Amazon and the Ubuntu One Music Store, putting the whole world of music at your fingertips, alongside your personal collection. Your phone will find it, let Ubuntu do the work.

Tuesday, January 15, 2013


INTRODUCTION
What is PGP? It is the most popular program encryption and creation of public and private keys for security applications, so it is considered a hybrid.
And GPG? GNU Privacy Guard is a tool for encryption and digital signatures that somehow comes to replace the PGP but the main difference is free software licensed under the GPL (General Public License). It uses software algorithms restricted by patents such as IDEA encryption algorithm in PGP is present almost from its inception. It has been replaced by other non-patented algorithms as ElGamal, CAST5, Tripe DES, AES and Blowfish. Distribution is that it comes pre-installed on GNU / Linux distributions and versions exist for Windows.
Symmetric encryption with gpg
To see the version installed gpg we can do:

gpg - version

You will also see the algorithms available public key encryption, the functions summary and compression available.
We realize symmetric encryption of a file with the-c option:

gpg-c file_to_encrypt

Then we asked for a password or private key phrase that will be used for both encryption and decryption. This application will generate a file in the same directory where the file originated adding the extension. Gpg. This file is a binary output.
If we want a text file that consists of ASCII characters will add the option-ai get an output format. Asc

gpg -c-a file_to_encrypt

Gpg files only works if we have to encrypt the folder package and / or compress first.
We can add compression to encrypt the file with the-z dem set the compression level 0 (no compression) to 6, for example:

gpg -c-z 6 file_to_encrypt

If we write the output to a different file, or use the option, for example:

gpg-o datosfinancieros.info.txt misdatos.info.gpg

To decrypt:
gpg arxiuadesencriptar.gpg
If we see the decrypted file can add the-d option:
gpg -d file_to_decrypt.gpg

ASYMMETRIC ENCRYPTION WITH GPG
Key generation
We will create or generate a key pair for use in asymmetric encryption. To do this we simply run:
gpg - gen-key
During the build process we will doing a series of questions, such as the type of encryption you want to use, the intensity of encryption, da expiry date of the key and our name and an email address is which shall USERID. Neither is sufficient to accept the default options:

Types of keys: the first option (DSA and ElGamal) that allows us to encrypt and sign.
Size of keys: we can choose between 1024 and 4096 bits. By default recommended 2048. The larger safer but more time encryption and decryption.
Valid for option comes default is 0 which never expires. If set to expire after a certain time we will have to regenerate the keys and resubmit our public key to those who were using.
Key generation: The final step in generating the keys, will ask for a sentence or passphrase, ie a password. It is important to choose a strong password hard to guess but easy to remember for us. If we can not forget to use the gpg key related.
When there is the process of generating keys is a good idea to play an mp3, move the mouse ... so that will generate random numbers and keys are created before.
If this is your first run will create a directory in which to save the configuration file and the files and secring.gpg pubring.gpg. The first stores private keys and the second public.

For public keys that we have available to run:
gpg - list-keys or gpg-k
For private keys that we have available we run:
gpg - secret-keys or gpg-k
Called ring files found in the public and private key. If we delete some key first have to delete the private key and then the public.
To delete the private key is used:
gpg - delete-secret-key ClauID
To clear the public keys is done with the command:
gpg - delete-key ClauID
The keys are identified by the so-called footprint ("huella"). The trace is a series of numbers that are used to verify if a key really belongs to the owner. If we get a key you can see what your mark and then ask the owner let us say. If the two agree the key is correct and has not been manipulated. The mark is like md5 which verifies that a file has not been tampered with. To see the imprint:
gpg - fingerprint ClauID

Copy and key distribution
Once we have generated the keys we give our public key people and organizations trust so they can verify the identity of our messages. This can be done in several ways:

Raising it to a key server: These servers are often interconnected, it is said that the key to raising the other server already has knowledge of the existence of our new key. We can use for example the server pgp RedIRIS. The order to upload it would be:

gpg - send-keys - keyserver pgp.rediris.es ClauID

To perform a key public institutions or people you want to communicate privately us a message, or check these:

gpg - keyserver NomDelServidor - recv-keys ClauID

Sending it by courier or giving it personally (on a USB, CD, etc.). Using a. To do this we turned this key in a text file with the command:
gpg - armor - output NameOF_file - export ClauID

It is important to have a copy of our private key so that, in case of disaster or data loss, you can recover it. To export the private key to a file:

gpg - armor - output NameOfFile - export-secret-key ClauID

If we go private key in a file and want to import it into our team could do with it:
gpg - import fitxerdeclaus

How to remove keys from distributed servers?

If we have forgotten the password, or have lost your private key, you can generate a revocation certificate and upload it to a keyserver.

It is recommended to create this certificate when creating the keys to the end of the creation process requires the password (if you hope to make it when we have forgotten your password you can no longer create!). We must keep this certificate in a safe place because if you steal it could revoke our keys and leave them unused.

The command to create this certificate:
revocacion.asc gpg-o - gen-revoke ClauId

If we have to import the key file of the certificate of revocation. Once revoked encryption key can no longer decrypt messages but. The amount to be:

gpg-import revocation.asc

If we will list the key listing that shows the date of revocation.
The last step is to communicate that our key server key is no longer valid with the command:

gpg - keyserver NomDelServidor - send-keys ClaveId

Web of trust
Create a ring of confidence is key people have signed the other people who have signed with your signature and ensure that this key really say that it is and has not been altered.


For more information:
http://www.rediris.es/cert/servicios/keyserver/remove.html
http://www.lostscene.com/manuales/gnupg.php
http://www.gnupg.org/gph/es/manual.html

Sunday, January 13, 2013


There many excellent options for open source accounting software which cover basically anything from ledger bookkeeping to report and forecasting. However, you must know that having an accounting software does not turn you into an accountant and you still need a basic grounding of the fundamentals of accounting and bookkeeping. However, these accounting software applications are a decent mix of old school accounting merged with ERP that helps you to understand where your business is going and what needs to be improved or fixed. Hit the jump for the top three picks for open source accounting software

1. GnuCash (gnucash.org)
GnuCash has gained a lot of popularity and is very user-friendly. It is perfect for both small business and personal financial applications that use the standard double-entry accounting which helps to detect and track the errors from the source. GnuCash can be tailored or customized to your requirements and it supports various function too. It does not contain a payroll module, however, you could manage a payroll for a smaller headcount by manually entering the variables. GnuCash is free and supports many different languages.

2. SQL Ledger (sql-ledger.com)
The SQL Ledger is ERP systems that is web-based and is adequate for shops that process a lot of packing lists, vouchers, check printing, purchase orders and so on, apart from the regular ledger accounting. It is a cross platform application that required both an SQL server and a Web server. This open source accounting system works better with Linux. This software is available in two versions – enterprise and free of cost. The former has advanced features like a better payroll module, barcode and label printing, an integrated Help system, invoice consolidation and an advanced phone and email support system.

3. XTuple PostBooks (http://sourceforge.net/projects/postbooks/)
XTuple PostBooks is the main highlight of the fabulous XTuple ERP Suite. It has seven modules comprising of Sales, Accounting, Manufacture, CRM, Purchase, Products and Inventory. PostBooks is free and has various advanced features that includes a task manager, trouble tickets, multi-location and multi-user, shipping/receiving, quotes, assemble-to-order configurator and bill of materials. The annual license for the various editions range from $400-1500 a year. You also have other options like cloud license and perpetual license as well. The more costly the system, the more functionality you get such as multi-warehouse management, drop-ship purchasing, asset management and depreciation and capacity planning. xTuple is an ideal open source accounting software for a growing small-scale enterprise.

Linutop is a company based out of Paris that specializes in small form factor energy efficient embedded type PC’s. They have  a variety of devices with no moving parts and utilize open source software based on Ubuntu for the platform. They were kind enough to send me a Linutop 2 to review.Linutop 2


We’ll start off with the un-boxing, the Linutop 2 arrived in a timely manner after the order process considering it was being shipped from Europe to the US but I did have a little issue with the post office requiring my signature since I wasn’t home. I was anxious to get my hands on the device and had to wait an extra day for it to get back to the post office which was a bit of a bummer. I knew the device was small, but the package it came in was smaller than I expected, inside the box full of packing peanuts was another box with the Linutop neatly tucked away in more layers of foam. Once I removed the device I was truly amazed by the size as impressed by the build quality. The enclosure is well built and strong, sort of reminded me of a small inverter or amplifier you’d use in a car. You could probably stand on it without causing any damage to the device.
If I was prepared I would have had been ready to go, but unfortunately I had given my USB keyboard away and did not have another one on hand (I still live in the stone age with PS/2) After a quick trip to the store I got a USB keyboard and was ready to go. After plugging the device in and powering up, I was surprised at how quickly theLinutop OS booted.
The Linutop OS is based off of Ubuntu and after installing to a thumb drive has a few options of how you can configure the device. Secure (on reboot set to default), and two forms of persistent; all changes stay after reboot and only user data stays after reboot. The configuration application is pretty neat, putting what you need to configure the device in a few tabbed pages without being overwhelming. Linutop OS comes pre-installed with popular software such as Firefox, VLC, the Libre Office, Pidgin and lots of other small utilities. It also has gnome-terminal and additional software can be installed easily through the usual Ubuntu methods.
The specifications are rather impressive for the small form factor, and everything works right out of the box. Anyone could jump right in and use the device, even those not too familiar with Linux. I have two sets of grandparents, one technically savvy and the other set only just upgraded to a flat screen and DVD player. I have no doubts that if I got a device like this for the latter, with a little instruction I am confident they’d be able to browse the web, e-mail and chat with family and friends, all be it very slowly.
After considering how I could utilize the device I thought I’d give it a shot as a energy efficient PC for a while, which is the companies main niche. As a desktop replacement it is a little underpowered on it’s own but for light usage it would would. The device struggled to play high definition streaming video’s but it did manage to play lower quality just fine (it could be a resolution thing.) When using it to access a VirtualMachine through SSH tunneled RDP it handled the higher quality better and with the power of the VM server it was more responsive and I was surprised when I heard sound through the little on-board speaker.
Linutop PC’s are used around the world as kiosks, digital signage and terminals in hotels, restaurants, banks, museums and public areas replacing power hungry hard to manage devices with a low maintenance energy efficient device; what’s not to like about that?
was given an opportunity to review The Linux Command Line, a Complete Introduction, by William E. Shotts, JR from No Starch Press and decided to give it a go. Being somewhat of a command line geek, I’m always on the lookout for good material to learn new and interesting things, and perhaps recommend to others. This is one of the better books I’ve read on the Linux Command line. It is easy to read and users with a little experience will find it has straight forward descriptions and examples. The book contains a lot of information and the only thing I’ve found lacking is diagrams, but if you’re not a particularly visual learner, this may work for you. The book is intended to be read from cover to cover, which is exactly what I did (very rare for me, I tend to jump around.) It is not supposed to be a reference work, but more of a story. The story starts off basically enough, moving on to more advanced topics, finishing with shell scripting, though there may be some squabbling over the order in which it is presented. The gentle introduction to vi gives enough information on how to use it without being too overwhelming, and to be honest it covers just about everything I can remember how to do with vi without picking up a reference. Pretty much everything I’ve ever written in the Shell Script Sundays could be explained in this book, but as it wasn’t written as a reference, it doesn’t really work well as one. If you’re new to the Linux command line you’ll walk away knowing what it is capable of; how to do all kinds of stuff that the “experts” do on a daily basis and probably more. For example, I can’t remember the last time I printed something from the shell. There is so much information contained within this book, you’re almost guaranteed to learn something, I did.
TOP