Latest Entries
Linux

Add static IP to secondary NIC in Ubuntu 14.04

Assigning  static IP in ubuntu 14.04 is a little complex. As usual, as I do, while not wasting further time, please follow the below steps: If you’re using secondary card: root@kapil:~# lshw -C network    — to check NIC (Enabled/Disabled) root@kapil:~# sudo iplink set eth1 up — enable if disabled root@kapil:~# vim /etc/network/interfaces –modify as … Continue reading

Rate this:

Linux

How to Install LDAP Server?

I and my colleague installed LDAP server recently for learning, so will be sharing the same steps guys over here:   LDAP SERVER Configure host file Vi /etc/hosts Configure vi /etc/sysconfig/network Disable Selinux, and flash Iptables Configure Yum:- Install openldap # yum install openldap* slappasswd copy passwd cd /etc/openldap/slapd.d/cn\=config vi olcDatabase\=\{2}bdb.ldif change domain suffix olcRootPW: … Continue reading

Rate this:

Linux

Error : java.net.SocketException: Too many open files (Solved)

Originally posted on Linux-admin:
I executed a jar file and in logs i found the error java.net.SocketException: Too many open files . The purpose of my jar file was unzip a folder which contain 1500+ file and then watermark it and then zip them again. on execution I got the below error   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)…

Rate this:

Linux

Ownership Facts In Linux/Unix:

Ownership Facts When a user creates a file (or directory), the user and the user’s primary group receive ownership for the file (or directory). File ownership determines which users are allowed to change the file’s ownership and permissions. Only a file owner and the root user can change file ownership or permissions. The three permission … Continue reading

Rate this:

Linux

Environment Variable Facts-

Environment Variable Facts An environment variable is a setting that the operating system or programs working in the operating system access. Environment variables make up the user environment. The standard for writing variables names (called variable identifiers) is to use upper case. When you create a variable (called a user-defined variable), it applies only to … Continue reading

Rate this: