Selamat Ulang Tahun ke-2 Putri Kecilku

Posted by cikul | Posted in Keluarga, Life | Posted on 01-09-2014-05-2008

0

Alhamdulillah.. 1 September 2014, sudah genap 2 tahun Nareswari Tsuraya Mahardhika melengkapi kebahagiaan ayah dan ibumu.. Tumbuh semakin besar, semakin pintar dan tentunya menggemaskan.. :)

IMG_20140901_094148

Masih ingat 2 tahun yang lalu, engkau lahir dari rahim ibumu dengan tangisan yang sangat keras, seakan engkau ingin memberitahukan ke semua orang bahwa kau telah lahir di dunia dan merasa bangga bisa lahir dari rahim seorang ibu yang hebat, ibu yang rela mengorbankan jiwa, raga dan selalu memberikan kasih sayangnya.

20140629_130411

Dan masih teringat bagaimana senangnya kakak laki-laki-mu ketika tahu bahwa dia mendapatkan adik yang sehat dan lucu, begitu bangganya dia bakal memegang tanggung jawab untuk bisa menjaga adik perempuan tersayang-nya.

Terima Kasih Allah, engkau telah melengkapi kebahagiaan keluarga kami, berikanlah kami selalu rahmat, kesehatan dan petunjuk agar kami bisa membimbing anak-anak kami menjadi anak yang sholeh dan sholehah, dan bisa membawa keluarga kami menjadi keluarga yang sakinah, mawaddah, warahmah.

 

Record Shell Session in Linux

Posted by cikul | Posted in Linux | Posted on 03-12-2013-05-2008

0

Sometimes we need to log all activity we do in linux terminal. That is no problem if your terminal client had the feature, but if your terminal client don’t have feature to log your session, you can use “script” command record everything you do in a terminal session.

it’s very simple to use script, you only type this command from your shell


script -a filename

Now everything you type, as well as everything that returns as output, will be saved into the filename you chose to output to.

To stop script session, type “exit”, and script daemon will stop to recording your session


[root@server ]# exit
exit
Script done

Add multiple IP Address CentOS

Posted by cikul | Posted in Linux | Posted on 02-12-2013-05-2008

0

In Linux, we can add more than 1 IP Address in single ethernet device. To adding more IP address we must add new IP in network device configuration file,


nano /etc/sysconfig/network-scripts/
 

Read the rest of this entry »

Install MariaDB on CentOS

Posted by cikul | Posted in Linux | Posted on 28-11-2013-05-2008

0

MariaDB repositories doesn’t included by default on CentOS.
If you want to install MariaDB using YUM, you need to add MariaDB repository

nano /etc/yum.repos.d/MariaDB.repo

Read the rest of this entry »

[Linux] Find/search text in file under directory

Posted by cikul | Posted in Linux | Posted on 12-03-2013-05-2008

0

To search text in file under directory/subdirectory, for example we want to find php file under /home directory contains text “eval” in the content, we can use command :


shell [~]# find /home/ -name "*".php -type f -print0| xargs -0 egrep "eval" | uniq -c | sort -u | cut -d":" -f1 | awk '{print "Warning - please check this files " $2}' | uniq > eval.log

[CentOS-RedHat] Linux /boot: Out of Disk Space While Installing Package kernel

Posted by cikul | Posted in Linux | Posted on 21-01-2013-05-2008

0

When updating Kernel using YUM, i got this error message :

Transaction Check Error:
  installing package kernel-2.6.32-379.14.1.lve1.1.9.9.el6.x86_64 needs 10MB on the /boot filesystem
Error Summary
-------------
Disk Requirements:
  At least 10MB more space needed on the /boot filesystem.

It means /boot partition is out of disk space. You need to verify this with the df command

Read the rest of this entry »

[JQuery] Open POST result in new window

Posted by cikul | Posted in Internet, Programming, web | Posted on 16-10-2012-05-2008

0


$.post('/url/to/get/data',data,function(result) {
WinId = window.open('', 'newwin', 'width=400,height=500');
WinId.document.open();
WinId.document.write(result);
WinId.document.close();
});

[Oracle] Automatically Kill inactive Sessions

Posted by cikul | Posted in Oracle, Programming, SQL, Technology | Posted on 28-09-2012-05-2008

0

The problem you could face with arbitrary killing of inactive sessions is that you may kill a session that was still running (it could have just completed one procedure & hadn’t yet started another).

Perhaps an easier way to accomplish what you want (although I’m guessing here at what it is you want to do!) is to set the users’ profiles to automatically kill their session after a specified period of time e.g.

Read the rest of this entry »

[Oracle] instance recovery required, cannot set ARCHIVELOG mode

Posted by cikul | Posted in Oracle, SQL, Technology | Posted on 26-09-2012-05-2008

1

When I try to set archivelog in another machine using this guidance. I’ve got this error message :


SQL> startup mount;
ORACLE instance started.

Total System Global Area  320309648 bytes
Fixed Size                   731536 bytes
Variable Size             285212672 bytes
Database Buffers           33554432 bytes
Redo Buffers                 811008 bytes
Database mounted.
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode

Read the rest of this entry »

[Solaris] Check CPU Speed & Memory Size

Posted by cikul | Posted in Linux, Technology | Posted on 26-09-2012-05-2008

0

SUN OS based on UNIX, but has different structure with another linux system. For example in Linux, you can easily check CPU & Memory info using /proc/cpuinfo and /proc/meminfo, or you can check hardware information using lspci or dmidecode.

And how in SunOS?

Read the rest of this entry »