Arsip Bulanan: Februari 2007

Kunci File Folder

saya mau bagi info buat rekan2 gimana caranya ngekunci file folder supaya tidak bisa di buka orang lain. :

  1. file/folder di windows explorer di klik kanan and klik propertis
  2. di propertis tandain hidden. & close windows explorer
  3. klo windows explorer di buka lagi maka file/folder yang dihidden gak keliatan lagi
  4. untuk memunculkan file/folder itu lagi cobain :
  • buka command promt
  • ketik drive/folder dimana file kamu yang tadi di hidden
  • lalu ketik : ATTRIB -R -H -S -A /D /S
  • setelah itu buka windows explorer and file/folder ente yang hidden tadi udah muncul lagi
  • Contoh : D:\RUDI>ATTRIB -R -H -S -A /D /S

Create or Delete A Service in Windows XP

Services are added from the Command Prompt. You need to know the actual service name as opposed to what Microsoft calls the Display Name. For example, if you wanted to create or delete the Help and Support service, the name used at the Command Prompt would be “helpsvc” rather than the Display Name of “Help and Support”. The actual service name can be obtained by typing services.msc in Run on the Start Menu and then double clicking the Display Name of the service. Once you know the name;
To Create A Service

* Start | Run and type cmd in the Open: line. Click OK.
* Type: sc create <service name>
* Reboot the system

To Delete A Service

* Start | Run and type cmd in the Open: line. Click OK.
* Type: sc delete <service name>
* Reboot the system

If you prefer to work in the registry rather than through the command prompt to delete services;

* Click Start | Run and type regedit in the Open: line. Click OK.
* Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
* Scroll down the left pane, locate the service name, right click it and select Delete.
* Reboot the system

Bikin Mail Serv Simple yg Bagus

Linux ServerBikin mail serv mungkin emang bukan hal yang baru. Tapi ada 1 software yg lumayan bagus buat bikin MTA. Yaitu Communigate.

Dengan interface grafis a la web (kayak yahoo, gmail dll) aplikasi ini mudah bgt buat dijalanin.

Langkah2 nya :

Langkah pertama yaitu dimulai dari menyiapkan PC yang akan digunakan, untuk selanjutnya diberi sistem operasi. Selanjutnya yaitu proses instalasi RedHat Linux 9.0. (instal sendiri ajah ya!)

Kalo udah jadi, donlot software yg mo diinstall. Cari di
Donlot paket dgn extensi rpm, ato tar.gz nya.

Lakukan instalasi aplikasi mail server. Ketikkan perintah sebagai berikut :

$ rpm –ivh CGatePro-Linux.i386.rpm
$ /etc/rc.d/init.d/CommuniGate start

Trus buka lewat browser, ketik IP dengan port 8010, ex (port 8010 digunakan untuk postmaster ato owner nya )

Klik pada Account, masukkan username dan password. Lihat petunjuk pada file konfigurasi dengan perintah :

$cat /var/CommuniGate/Accounts/postmaster.macnt/account.settings

Defaultnya adalah seperti ini :

ExternalINBOX = NO;
Password = 8417;
UseAppPassword = YES;

Abis tu, masuk ke Domain Settings dan pada Auto Sign Up Ganti parameter dengan Yes dan Update.

Trus ketik IP dengan port 8100 pada browser, ex ( 8100 adalah port untuk user ato pengguna email )

Klik pada Sign Up untuk mendaftarkan account user. Lalu isikan informasi sesuai keinginan pada tiap kolom

Setelah itu klik pada Sign Up dan kita akan kembali pada jendela awal. Masukkan nama user sesuai informasi pada waktu pendaftaran. Setelah itu kita akan masuk pada account kita.

Selanjutnya, coba fasilitas lain yang diberikan oleh CommuniGate yaitu mailing list atau yang lebih sering disebut millist. Pertama, masuk ke alamat postmaster pada kemudian masuk pada Account dan pilih salah satu user yang akan menjadi moderator millist tersebut.

Pada kolom Mailing List ketikkan nama group yang akan dibuat lalu klik Create List. Setelah itu lihat setting grup melalui Settings – List. Edit setting sesuai keinginan dengan cara melilih grup. Klik pada nama grup untuk mengedit pengaturannya.

Windows – running Apache and MySQL from a CD

Q – I’m writing a web based application (using PHP and MySQL) and I’ve just been told that I also need to produce a stand alone demo version to run on PCs running windows. What shall I do?

A – Configure an Apache server, PHP and MySQL to run from a CD, using port numbers that aren’t normally used. Add a batch file to install the few directories that need to be writable on the user’s PC, and to kick off the services / daemons. Your demo version will then be useable in just the same way as the web based application – it will even be accessible on your intranet if the demo PC is connected! Since all the components of the system are Open Source, you shouldn’t have licensing issues if you’re giving away your demo version – but it might be as well to check with the MySQL folks in particular if you’re going to be selling it to make money – their general motto is “If you’re distributing it for free, we’re free. If you’re charging, then we’ll charge you”.

A grand theory, but does it work in practice? Yes, we’ve done it!

In detail:


1. Create a folder under the top level of your C: drive (in our example, we’ve called it c:\dcserver)

2. Download the distributions that you want to install on your server – we’ve put ours into a subdirectory of dcserver to that the full originals will be distributed onwards with the CD, making open source license adherence easier and ensuring that we have all the original tools available for tailoring later.


3. Install the web server to a subdirectory of dcserver (we’ve chosen to call ours Apache)

4. Install the PHP distribution to a subdirectory of dcserver (we’ve called ours PHP)

5. Copy the PHP .dll files and the php.ini file from the php directory to the apache directory as described in the PHP installation instructions

6. Create a subdirectory for read/write information testing on the c: drive – we’ve called ours c:\dcdata

7. Modify the Apache configuration file, removing drive-specific references (since you don’t know what drive letter will be used when you run the CD) and pointing error log and other output areas at the c:\dcdata area. Here’s a log of the changes we made for this purpose using the above releases of the software. Other mods are made here too – we’ve also changed the server from port 80 to port 8000 to avoid conflict with any other web server running on the host system, and we’ve added in the extra stuff to call up the PHP.

< ServerRoot “C:/dcserver/apache/Apache”

> ServerRoot “/dcserver/apache/Apache”
< PidFile logs/

> PidFile c:/dcdata/
< ScoreBoardFile logs/apache_runtime_status

> ScoreBoardFile c:/dcdata/apache_runtime_status
> Listen 8000
< Port 80

> Port 8000
< DocumentRoot “C:/dcserver/apache/Apache/htdocs”

> DocumentRoot “/dcserver/apache/Apache/htdocs”
< <Directory “C:/dcserver/apache/Apache/htdocs”>

> <Directory “/dcserver/apache/Apache/htdocs”>
< UserDir “C:/dcserver/apache/Apache/users/”

> UserDir “/dcserver/apache/Apache/users/”
< ErrorLog logs/error.log

> ErrorLog c:/dcdata/httpderror.log
< CustomLog logs/access.log common

> # CustomLog logs/access.log common
< Alias /icons/ “C:/dcserver/apache/Apache/icons/”

> Alias /icons/ “/dcserver/apache/Apache/icons/”
< <Directory “C:/dcserver/apache/Apache/icons”>

> <Directory “/dcserver/apache/Apache/icons”>
< Alias /manual/ “C:/dcserver/apache/Apache/htdocs/manual/”

> Alias /manual/ “/dcserver/apache/Apache/htdocs/manual/”
< <Directory “C:/dcserver/apache/Apache/htdocs/manual”>

> <Directory “/dcserver/apache/Apache/htdocs/manual”>
< ScriptAlias /cgi-bin/ “C:/dcserver/apache/Apache/cgi-bin/”

> ScriptAlias /cgi-bin/ “/dcserver/apache/Apache/cgi-bin/”
< <Directory “C:/dcserver/apache/Apache/cgi-bin”>

> <Directory “/dcserver/apache/Apache/cgi-bin”>
> ####################### Extra Stuff!!
> AddType application/x-httpd-php .php .php4
> LoadModule php4_module “/dcserver/apache/Apache/bin/php4apache.dll”
> SetEnv PHPRC /dcserver/apache/Apache/bin

8. Start the test server by running the apache.exe file that’s at the top of the Apache tree; you should get a message that Apache and PHP have started


9. Point your browser at  http://localhost:8000/
and you should see a “your Apache server has been successfully installed” page.

10. place the following in a file called first.html in the htdocs directory

<head><title>Stand Alone Apache Test</title></head>
<body><h1>Test</h1>Server operational</body>

and point your browser at


11. place the following in a file called second.php in the htdocs directory

 <h1>Stand Alone CD Server verification</h1>
<?php phpinfo(); ?>

and point your browser at



12. Unpack and install MySQL in a subdirectory of c:\dcserver (i.e. run the setup.exe script)

13. Start the MySQL server on port 3307 using
mysql\bin\mysqld –port=3307 –basedir=/dcserver/mysql –datadir=/dcserver/mysql/data/

14. log in to MySQL and set up a test user account – let’s call it user “trainee” with password “abc123″. Also at this stage you should set the root password for the SQL server.

15. Create a test table in mysql – for example use the mysql client program to
use test;
create table example (id int primary key not numm auto_increment, info text);
insert into example (info) values (”The sky is blue”);
insert into example (info) values (”The grass is green”);

16. Test the MySQL in association with the web server and PHP by creating the following file in the htdocs area of apache – called third.php:

 <h1>MySQL test</h1>
mysql_connect(”localhost:3307″,”trainee”,”abc123″) ;
$rid = mysql_query(”select * from example”);
while ($igot = mysql_fetch_assoc($rid)) {
echo $igot[info];
echo “<br>”;

and point your browser at:


At this point you should see a complete PHP page showing the contents of the SQL database. However, the database is running from the dcserver directory which is read/write and this won’t work if you try to cut it onto a CD and run from the CD.

The following stages show you how to add batch files onto your CD to copy vital files into the dcdata area when you run from CD on a target machine. You should try these out for testing at this stage, but you’ll need to come back and add your application itself into the htdocs directory and into your SQL database and cut production CDs later.


17. Add a file called appstart.html to the htdocs directory to represent the portal to your application

<head><title>Welcome to the Super Application (CD version)</title></head>
This is where the fun stuff goes<br>
For support staff<br>
<a href=second.php>PHP test</a><br>
<a href=third.php>PHP and SQL test</a><br>
If these tests fail, you have server problems<br>

18. Add the file README.html into the \dcserver directory as follows:
This is the readme file for starting your CD based application….

To run the web server and Digital Class application from this folder:

a) Doubleclick on startsql.bat
b) Doubleclick on startweb.bat
c) Point a browser at

Failure to follow these instructions may lead to the software failing
to work.


Link <a href=http://localhost:8000/appstart.html>HERE!</a> to Digital class

19. Add a file startsql.bat to the \dcserver directory as follows:

 echo “Starting SQL server. Please ensure web server also started”
if not exist c:\dcdata mkdir c:\dcdata
if not exist c:\dcdata\ibdata1 xcopy \dcserver\mysql\data\*.* c:\dcdata /Q/S
mysql\bin\mysqld –port=3307 –basedir=/dcserver/mysql –datadir=c:/dcdata –read-only

20. Add a file startweb.sql to the \dcserver directory as follows:

 echo off
echo “Starting web server. Please ensure SQL server also started”
if not exist c:\dcdata mkdir c:\dcdata
echo .
echo .
echo .
echo After Web server start message, please ensure SQL server is started
echo .
echo .
echo .

21. Ensure that the web and SQL servers are shut down (a reboot is not a bad idea!)

22. Cut a test CD.


a. Insert the CD into the CD drive on the target computer; a window showing its contents will pop up.

b. Double click on the “startsql” icon

c. Double click on the “startweb” icon

d. Double click on the README.html icon and a browser window will start up. You can follow the links from that page to test your installation.


a. Establish the name or IP address of the machine on which the CD is running.

b. Point a browser on your second test machine at
(replace the IP address in this example as appropriate, but leave the 8000 port number)

Some notes:

i) This is an example setup that you’re welcome to use as guidance
– it works for us but you may find different circumstance and you
may wish to modify the procedure. No responsibility can be taken by the author of these notes for any errors or shortcomings, nor the consequences thereof.

ii) The data in the SQL database is left on the hard disc from one run to the next and the sample batch files do NOT overwrite it. You may wish to modify this behaviour for security reasons, or if you want a fresh new start each time.

iii) These notes are written by Graham Ellis of Well House Consultants ( and are subject to the copyright statement (c) 2004 on our web site. Please visit our web site ( for details of our training courses which include PHP Programming. MySQL, and Apache configuration and deployment

Sisip Gambar Yahoo ID

<– Awal Kode YM Anda –>

<a title=”yang jaga situs ini” xhref=”” mce_href=””>
<img border=0 xsrc=”″ mce_src=”″></a>

<– Akhir Kode YM Anda –>

Bibit, Bebet, Bobot…bobok yuk!

Ini adalah kutipan sebuah postingan milis yang saya ikuti dan oleh seseorang yang namanya sebenarnya cukup dikenal dalam komunitas itu secara penguasaan ilmu pada bidangnya.

* Saudara Heri Sutadi hanya disebut sebagai Pengamat Teknologi Informasi, dan bekerja di sebuah organisasi Sistem Informasi. Tidak jelas latarbelakang pendidikan formalnya dan praktek profesionalnya.

Kadang ya capek ngebaca postingan seperti ini, secara pribadi sih kalau emang menulis hal yang bagus dan objektif kenapa sih kita ndak bisa lapang dada menerimanya sebagai bahan evaluasi. Kenapa kalau ada satu tulisan yang sekiranya menyudutkan satu pihak tertentu jadi seperti budaya kita untuk langsung mencari hal-hal untuk menepisnya, bahkan sampai pada sisi yang sebenarnya sama sekali ndak ada sangkut paut dengan materi yang ditulisnya.

Apa salah kalau anak bajingan bicara soal shalat, mengagungkan Tuhan seperti layaknya seorang kiyai atau pendeta agung? Lha kalau memang isi materinya benar ya kenapa ndak menerima, bukan malah mencari-cari apa latar belakangnya karena sudah berani ngomong seperti itu. Apa bisa memastikan air yang ada dalam gelas itu rasanya pasti masam hanya karena gelas itu berwarna kuning oranye?

Padahal dah banyak banget kenyataan yang musti kita terima bahwa latar belakang ndak menentukan kualitas orang. Kalau bicara soal teknologi, ndak usah lah jauh-jauh dengan apa yg terjadi di luar sana. Sisi KPU sendiri yang sebenarnya jadi topik dalam postingan itu yang orang-orangnya punya nama dan latar belakang yang mentereng, ya nyatanya tetep bisa dikibuli oleh mahasiswa yang kuliahnya justru ndak ada kaitannya dengan ilmu komputer. Apa masih belum cukup-cukup jadi pelajaran kita untuk ndak memandang usul/argumen seseorang atas dasar latar belakang itu?

**sigh… -(

Jelek, Kangen banget :-(

picture-138.jpgBerjauhan itu sungguh-sungguh ndak enak, banyak banget hal-hal yang sulit buat dipahami saat berjauhan seperti ini, kalau orang bilang ndak semua bisa diungkapkan lewat kata ya itu emang bener sih. Sebab dua mata yg saling bicara membawa makna dan arti yang jauh lebih dalam betapa rasa sayang yang ada dalam hati.Sampai saat ini ndak terasa hampir sewindu sudah kita bersama dan berbagi. Begitu banyak suka, duka, asa, riang, dan benci. Dan kali ini aku cuma ingin menuliskan lagi bait-bait coding yang dulu pernah saya implementasi di delphi, dengan MySQL, ditemani Compaq Presario, semilir angin memori windows yang meniup virtual ram, dan riang suara harddisk yang mengalir di bawah sana.