Remote desktop your Linux using Xmanager

It’s really helpful to remote your Linux. For example if your Linux is in Data Center where the place is so  cold  and there is  no ‘cozy’ place  for  you  to  install  and  configure  something  in your  Linux  that  need X11(Like install Oracle using Oracle Universal Installer).

To remote your Linux into your workstation you need software to remote your Linux, for now i choose Xmanager (Quite simple but “LICENSED” huh). There is other tool like VNC or XMing(I think i choose XManager because i’ve use it in my Solaris Box long time ago and always got good connection using it)

So to enable your Linux for remote desktop just follow this simple  instruction :

1. Open gdm.conf configuration file, usually located in /etc/X11/gdm/gdm.conf or /etc/gdm/custom.conf

2. Edit gdm.conf file, in section [gdcmp] change enable =  false  to  enable  =  true

3. Change run level to 5 in file /etc/inittab (example : x:5:once:/etc/X11/prefdm -nodaemon

4. Restart gdm service by simply run command : gdm-restart

5. Find your Xmanager source, installed it but not crack it.

PS : To enable X graphic open your terminal using root and type xhost +

Now let see my Linux Box in my workstation

Apache on Solaris 10

Solaris 10 already have Apache in it, in order to use it you just need to start the service. The step to start the Apache server are :
1. Go to /usr/apache/bin : #cd /usr/apache/bin
2. To start the service : #./apachectl start
You will get error message if you don’t have httpd.conf located in /etc/apache/
To create htttpd.conf just copy httpd.conf-example located in /etc/apache/ :
#cp /etc/apache/httpd.conf-example /etc/apache/httpd.conf
After that try again run command #./apachectl start
If it success than in your solaris will show message ./apachectl start: httpd started
3.After that you can try your Apache server using your browser and type : http://yourIPserver/

That’s all

Web for monitoring Server and DB in DataCenter

The idea(actually is developing existing web) for creating Web for monitoring Server and DB in DataCenter is came to me when one of my comrades introduce to me and my other work partners about web for monitoring resource in Data Center like server and database.
We need to have this web beacause we have a lot of server to monitored. And we can do it manually checking it one by one. And also inside those servers we have databases to managed.
Actually we already have application for monitoring performance of the server, but that application only show us response time not the detail of the server.
So in our Web for monitoring Server and DB in DataCenter will be given detail information to us about server and database performance like CPU usage, Memory usage, diskspace check , tablespace check and etc. And we hope our Web for monitoring Server and DB in DataCenter can give us notification wheter it via email or via sms (eg. server send sms when the diskspace is 80% used).
And i have an idea for further development this web will be act like an intelligence web who can not only give us information but also can fix the problem by itself.
So it’s not just only give us information about the condition of the server and database but also can take an action based on that information. It’s just like we plug our standard operation procedure(SOP) into that server and tell the server to do just like in SOP.

So the point for our Web for monitoring Server and DB in DataCenter will be like this :
1. Give real time usefull information about our server and database condition.
2. Server can take immediate action based on information processsed by server and the standard operating procedure we plug in to that server

The point look like simple (only 2 points), but i thought that i have to work on it more seriously so my data center will be full automate……(hopefully)

When dream drives you…….

The points on installing Oracle in non windows environment

The points on installing Oracle in non windows environment is (from my point of view) are :

  1. Of course you must have the Installer source and check if the installer is compatible with your UNIX or LINUX version
  2. Check the packages needed by the oracle Installer to successfully installed in your UNIX (check the pkginfo) and Linux (check it use rpm command)
  3. Check your memory ( mostly oracle required 512 MB)
  4. Check your diskspace, including your tmp diskspace and another partition for the oracle.
  5. Create your Optimal Flexible Architecture (OFA), it’s the oracle file folder structure
  6. Create DBA and OINSTALL group for installation
  7. Set environment variable for oracle, including oracle_home,oracle_base, etc.
  8. Create user oracle for installation.

This some useful link for Oracle installation in non windows environment :
oracle documentation
ORACLE-BASE