Install, Configure, and Deploy .war Application in Glassfish

Glassfish is a free, open source application server which implements the newest features in the Java EE 5 platform. The Java EE 5 platform includes the latest versions of technologies such as such as JavaServer Pages(JSP) 2.1, JavaServer Faces(JSF) 1.2, Servlet 2.5, Enterprise JavaBeans 3.0, Java API for Web Services(JAX-WS) 2.0, Java Architecture for XML Binding(JAXB) 2.0, Web Services Metadata for the Java Platform 1.0, and many other new technologies. You can use glassfish to replace apache web server or bea weblogic. The commercial version of this application server is Sun Java System Application Server. Continue reading

LDAP Server (OpenLDAP) in OpenSuse 10.2

You might wonder what is LDAP, well in my opinion LDAP is a program that can manage all the user in our environment. One of the example is Windows Active Directory, with this you can make centralized login for all of your user, you also can manage how to define the rules for your user (like password policy). Too bad that you have to pay a lot of money to get this software, so the alterantive is by using OpenLDAP. Both Windows AD and OpenLDAP are a good LDAP server, but to configure LDAP is quite painful, you have to do it in konsole, but in OpenSuse 10.2 you can configure it with yast. Continue reading

Managing Disk Quota in OpenSuse 10.2

Hi all, once again I will post some stuff that makes your OpenSuse 10.2 become a very useful Server. This time I will give you how to manage the utilization of your hard disk usage by your user, in this case for your storage server. Sometime it really pain in the ass if one of our user put a lot of data in our very limited storage – like I did 😛 – so as an admin we should give some effort to limit their storage capacity. Continue reading

Multiple Subnet DHCP Server in OpenSuse 10.2

Hi all, long time not writing about IT stuffs, I’ve been a little busy lately :P. Anyway you might be wandering why my writing always about OpenSuse, well it because in my workplace they all use OpenSuse as primary OS (even for servers) for software development, of course there are some Windows PC, but it’s only about 30 %, and some using Solaris, so it’s a Unix world here 😀

About a month ago my boss asked me to replace the old machine that did all from proxy, DNS, DHCP, and Internet gateway. So in my plan I want to divide the machine into 2 machine one for DHCP and DNS while the other for proxy and internet gateway. For now I will discuss about DHCP server for multiple subnet. Continue reading

Modification in Samba Server – Mixing User and Share Level Security

As you know samba is used to share Linux machine, so that it can be visible when accessed by Windows machine (CMIIW), making Linux become a good File Server in a mixed network environment. Anyway as a file server we cannot just give the access to everyone to “see and access” all the folder inside it. I bet you still want to have some privacy for your self.

Authentication in Samba comes in several ways, but what we are focusing is on the mixing of share and user level security. In user level, the user need to input some credential BEFORE the user want to “see and access” what file available in that share. While in share level, the user can see all the file but then, the user need to put some credential if they want to access the file (each file or folder has different password) So what we want to do is to have user-level security on your Samba server, but we want Windows clients to be able to see a list of shares on the Samba server without authenticating, like a share level server.

Continue reading