Posts

Showing posts with the label Linux

Bulk Upload users into LDAP Directory

In this post I am not going to talk about setting up your LDAP using OpenLDAP. There are lots of websites explaining that. However when I tried to upload users in bulk into the directory I was not able to do the same. The reason there was not even a single article which could give me some information on the same. So here is how to do it. Environment: Ubuntu 10.04 Server OS, OpenLDAP with phpldapadmin. I had the user list with the first name and the last name and the email address. I converted this spreadsheet into a .CSV file. # sudo su - (only for convenience)   # cat user-file.csv Krishnan, Sethuraman, krishnan@mydomain.com Anidha, Krishnan, anidha@mydomain.com Tanya, Krishnan, tanya@mydomain.com My requirement was to populate the following attributes in the LDAP. dn: uid=krishnan,ou=people,o=mycompany changetype: add objectClass: inetOrgPerson objectclass: top cn: Krishnan Sethuraman sn: Sethuraman uid: krishnan mail: krishnan@mydomain.com userPassword:...

Learning Zabbix

What is Zabbix? Zabbix is a network management system created by Alexei Vladishev. It is designed to monitor and track the status of various network services, servers, and other network hardware. (Courtesy Wikipedia). I wanted to learn Zabbix as it is a very important tool to monitor servers and hence decided to install it and practice. To install and use Zabbix you must first install LAMP on your machine. I followed the following steps to install Zabbix on my machine. Install the server: sudo apt-get install zabbix-server-mysql Install the agent   sudo apt-get install zabbix-agent Install the front end   sudo apt-get install zabbix-frontend-php Browse to http://localhost/zabbix Login as admin with a password of zabbix Change your password immediately by clicking on the profile link to the top right and clicking the Change Password button. Follow the Zabbix QuickStart Guide .

Studying Linux distros

I have just installed Virtualbox on my desktop running Ubuntu 10.04. I will using Virtualbox to try and study Fedora and Ubuntu server edition.

Moved to Ubuntu 10.04

Image
I tried using Puppy Linux for quite some time. I was pretty much impressed by it. It enabled me to work with Linux without the need to install. I need Windows XP to test a lot of software and also to duplicate and troubleshoot client problems. Puppy Linux is a very thin software and it was fun to use it from USB stick. I used the 4GB HP drive for the purpose. However the version of puppy linux that I was using had some serious bugs. I was using puppy linux 5.2. It recognized my laptop's wlan card but the drive was not good. With WPA connection type I faced frequent disconnections. My laptop has Broadcom 802.11b/g WLAN card. Connecting to wi-fi during meetings and all was becoming very difficult and hence I had two choices. 1. Moving to WIndows XP. 2. Moving to a stabler version of Linux. I decided to go with the later. As Ubuntu is my favorite Linux distro and I have been using Ubuntu from 2008 on my home PC I decided to go with it. I had a Ubuntu 10.10 CD but I needed a USB stick ...

Using Puppy Linux

Image
Linux operating systems come in different flavors and size. Every linux distro that is available or comes out into the market are unique and are accepted by a wide variety of people. I basically love Ubuntu Linux. Ubuntu is robust and at the same time is light and easy to use. It is also a very stable operating system and doesn't crash or hang. In the past I have used Fedora 2 and Knoppix 3.2. I felt that Fedora is a very very heavy operating system. Knoppix was a revolution as it brought the live CD concept into the market. Still it was not up to the mark for me. It has been years since I have started using Ubuntu. Recently I came into a situation where I had to have windows on my laptop to test windows based softwares. But I wanted to have Linux as my operating system. The only option was to have a live USB stick. Hence I did a google search to see which Linux OS would be suitable for me. I came across, DSL(Damn Small Linux), Puppy Linux and a few more. Some time in the past I ha...

My new Linux blog

Image
I have found my long lost love. It is nothing but Linux. I have again started to work completely on Linux and I am enjoying every bit of it. I also want to post a lot of stuff on Linux over here, but I then felt that it would affect my personal space. People coming to this blog would be confused on what the is the theme of this blog. So I made up my mind to start a separate blog for Linux. Though at times I feel that it is difficult to maintain two blogs, still I wanted to keep two blogs for few reasons. First my personal blog should always remain my personal blog. Though has and will have some technology related stuff, it will not be a full fledged tech blog or to be precise it will not be a full fledged Linux blog. My new Linux blog will be called Linux Jockey and can be found at  http://linuxjockey.blogspot.com/ . I will update a lot of stuff about Linux that I have worked on. - Krishnan urf Linux Jockey !

Installing Virtual Box in Ubuntu 10.10

Image
I have used Ubuntu 10.10 to install virtual box and to write this tutorial. Copy paste the below mentioned command in the Linux shell command prompt. echo "deb http://download.virtualbox.org/virtualbox/debian maverick non-free #VirtualBox" | sudo tee -a /etc/apt/sources.list wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - The above command would have modified the /etc/apt-get/sources.list file. To install virtual box type the below mentioned commands. # sudo apt-get update # sudo apt-get install virtualbox-3.2 Related Screenshots: (please refer the below highlighted lines)

Interesting Linux Blogs To Follow

here are a lot of interesting blogs out there focusing on FOSS and Linux development, even though most of them are news aggregators, some of them publishes original contents which is what I am most interested in. Every week I find a new interesting site that I wish I knew about before; so today as I share with you some of the interesting Linux/FOSS blog I follow, I am hoping you will also share your favorite Linux blogs that I might not have seen before. There are three elements that I look for when I subscribe to a blog: 1) They are regularly updated. 2) They have full content for feed readers. 3) They publish original contents. While corporate and big name blogs with many authors has more refined contents, I am personally more interested on personal blog with their own style of writing that I can relate to. Here are some of the interesting Linux blog I follow (in no particular order): Mark Shuttleworth: This is where the founder of Ubuntu unwinds his thoughts. Though not as frequ...