Kamis, 26 Agustus 2010

Login Sebagai root melalui GUI Ubuntu 9.10

Secara defaultnya ketika kita selesai instalasi Ubuntu maka kita belum bisa login sebagai root. Bagaimana agar user root bisa login melalui modus grafis (GUI), berikut langkah-langkahnya:

1. Login sebagai user biasa melalui GUI. User biasa adalah user yang Anda buat ketika melakukan instalasi.

2. Klik pada menu System > Administration > Users and Groups.

3. Kemudian akan di tampilkan user dan group yang ada dalam system. Di sana Anda akan melihat user root dalam kondisi terkunci (locked), yang harus Anda lakukan adalah membuka kunci tersebut dengan cara Klik use root, kemudian klik tombol UNLOCK. Ketika Anda mencoba untuk men-unlock user root, Anda akan diminta untuk memasukkan password – password yang Anda gunakan untuk login ke sistem, bukan password root. Masukkan password Anda kemudian klik Ok.

4. Anda akan melihat user root sekarang sudah dalam keadaan UNLOCK atau terbuka. Double klik pada user root, masukkan password untuk user root dan klik Ok. Tutup jendela Users and Groups.

5. Buka terminal melalui Applications > Accessories > Terminal.

6. Masuk sebagai root pada terminal dengan mengetikkan su – root dan masukkan password root.

7. Lakukan perubahan pada file /etc/gdm/gdm.conf. Anda bisa menggunakan text editor yang Anda sukai, tapi saya lebih suka menggunakan pico karena kemudahannya. Ketikkan pico /etc/gdm/gdm.conf

8. Cari kata AllowRoot=false kemudian ganti dengan AllowRoot=true.(ingat nilai ini bersifat case sensitive – besar kecil huruf dianggap beda). Simpan dan keluar dari terminal.

9. Log out dari user Anda yang sekarang dan login sebagai root dengan password yang sudah di set sebelumnya.

(sumber: http://lancingtanggung.laros.or.id/linux/login-sebagai-root-melalui-gui-ubuntu-9-10/)

Antena OutDor yang Power Full Untuk AirLive WL-1700

.Omni 15 dbi utk ngambil dari semua arah
. omni 8 dbi yg sederhana tp mumpuni..mayah bgt...
. Yagi 14 dbi

Rabu, 18 Agustus 2010

Membuat Aplikasi Penjualan VB 6.0 menggunakan DataBase Access (Form Pelanggan)

Kali ini, saya akan sedikit menjelaskan bagaimana cara membuat Form Pelanggan yang nantinya akan digunakan sebagai salah satu pondasi suatu aplikasi sederhana yang akan kita buat. Coding itu nantinya bisa anda rubah sesuai kebutuhan anda, dan tentu saja source yang saya berikan pada kesempatan kali ini sangatlah sederhana. Anda harus mengembangkan kembali sehingga aplikasi yang anda bangun bisa menjadi lebih baik dan mendekati sempurna.



                                                                        Gambar 1.1

Seperti pada gambar 1.1 diatas, bisa kita lihat form entri pelanggan yang akan kita buat. Ini belum sepenuhnya lengkap sebagai suatu aplikasi, ini hanya sepenggal menu yang akan menjadi pondasi suatu aplikasi penjualan yang akan kita buat. Setelah ini saya akan menjabarkan bagaimana Source Coding yang membangun Form Pelanggan tersebut. Apabila anda ingin merubahnya, sebaiknya anda jg membongkar coding tersebut. Untuk menampung pertanyaan, silahkan masukan beberapa pertanyaan kedalam komentar ada blog ini. Sebelum itu saya ingatkan kepada anda bahwa dalam hal ini saya menggunakan Microsoft Access 2003 sebagai media penyimpanan data, anda jg bisa mengganti dengan media penyimpanan data yang lain, tetapi coding untuk koneksi tersebut harus anda rubah juga,,


Berikut ini Source Coding yang anda perlukan :


Dim CONN As New ADODB.Connection
Dim rspelanggan As New ADODB.Recordset
'Sebagai

Sub koneksi()
Set CONN = New ADODB.Connection
Set rspelanggan = New ADODB.Recordset
CONN.Open "provider=microsoft.jet.oledb.4.0;data source=" & App.Path & "\DBJUAL.mdb"
End Sub

Private Sub Command1_Click()
If Command1.Caption = "INPUT" Then
    Command1.Caption = "SIMPAN"
    Command2.Enabled = False
    Command3.Enabled = False
    Command4.Caption = "BATAL"
    Call TERBUKA
    Text1.SetFocus
Else
    If Text1 = "" Or Text2 = "" Or Text3 = "" Or Text4 = "" Or Text5 = "" Then
        MsgBox "DATA BELUM LENGKAP"
        If Text1 = "" Then
            Text1.SetFocus
        ElseIf Text2 = "" Then
            Text2.SetFocus
         ElseIf Text3 = "" Then
            Text3.SetFocus
         ElseIf Text4 = "" Then
            Text4.SetFocus
         ElseIf Text5 = "" Then
            Text5.SetFocus
        End If
    Else
        Dim SIMPAN As String
        SIMPAN = "INSERT INTO PELANGGAN(KODEPLG,NAMAPLG,ALAMATPLG,TELEPONPLG,PERSONPLG) VALUES " & _
        "('" & Text1 & "', '" & Text2 & "', '" & Text3 & "', '" & Text4 & "', '" & Text5 & "')"
        CONN.Execute SIMPAN
        Call SEMULA
    End If
End If
End Sub
Private Sub Command2_Click()
If Command2.Caption = "EDIT" Then
    Command2.Caption = "SIMPAN"
    Command1.Enabled = False
    Command3.Enabled = False
    Command4.Caption = "BATAL"
    Call TERBUKA
    Text1.SetFocus
Else
    Dim EDIT As String
    EDIT = "UPDATE PELANGGAN SET NAMAPLG ='" & Text2 & "',ALAMATPLG='" & Text3 & "',TELEPONPLG='" & Text4 & "',PERSONPLG='" & Text5 & "' WHERE KODEPLG='" & Text1 & "'"
    CONN.Execute EDIT
    Call SEMULA
End If
End Sub

Private Sub Command3_Click()
Command1.Enabled = False
Command2.Enabled = False
Command4.Caption = "BATAL"
Call TERBUKA
Text1.SetFocus
End Sub

Private Sub Command4_Click()
If Command4.Caption = "TUTUP" Then
    End
Else
    Call SEMULA
End If
End Sub

Private Sub FORM_ACTIVATE()
Call koneksi
ADO.ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & App.Path & "\DBJUAL.MDB"
ADO.RecordSource = "PELANGGAN"
ADO.Refresh
Set DG.DataSource = ADO
DG.Refresh
End Sub

Sub TERBUKA()
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
End Sub

Sub TERKUNCI()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
End Sub

Sub TAMPILKANDATA()
Text2 = rspelanggan!NAMAPLG
Text3 = rspelanggan!ALAMATPLG
Text4 = rspelanggan!TELEPONPLG
Text5 = rspelanggan!PERSONPLG
End Sub

Sub KOSONGKAN()
Text1 = ""
Text2 = ""
Text3 = ""
Text4 = ""
Text5 = ""
End Sub

Sub SEMULA()
FORM_ACTIVATE
Call KOSONGKAN
Call TERKUNCI

Command1.Caption = "INPUT"
Command2.Caption = "EDIT"
Command3.Caption = "HAPUS"
Command4.Caption = "TUTUP"

Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
Command4.Enabled = True

End Sub

Private Sub Form_Load()
Call SEMULA
End Sub


Private Sub Text1_KeyPress(KeyAscii As Integer)
KeyAscii = Asc(UCase(Chr(KeyAscii)))
Text1.MaxLength = 6
If KeyAscii = 13 Then
    If Command1.Caption = "SIMPAN" Then
        Call koneksi
        rspelanggan.Open "SELECT * FROM PELANGGAN WHERE KODEPLG='" & Text1 & "'", CONN
        If Not rspelanggan.EOF Then
            Call TAMPILKANDATA
            MsgBox "KODE SUDAH ADA, GANTI KODE LAIN"
            Call KOSONGKAN
            Text1.SetFocus
        Else
            Text2.SetFocus
        End If
    End If
   
    If Command2.Caption = "SIMPAN" Then
        Call koneksi
        rspelanggan.Open "SELECT * FROM PELANGGAN WHERE KODEPLG='" & Text1 & "'", CONN
        If Not rspelanggan.EOF Then
                Call TAMPILKANDATA
                Text2.SetFocus
        Else
            MsgBox "KODE TIDAK ADA"
            Text1.SetFocus
        End If
    End If
    If Command3.Enabled = True Then
            Call koneksi
            rspelanggan.Open "SELECT * FROM PELANGGAN WHERE KODEPLG='" & Text1 & "'", CONN
            If Not rspelanggan.EOF Then
                Call TAMPILKANDATA
                pesan = MsgBox("YAKIN AKAN DIHAPUS", vbYesNo)
                If pesan = vbYes Then
                    Dim HAPUS As String
                    HAPUS = "DELETE *FROM PELANGGAN WHERE KODEPLG='" & Text1 & "'"
                    CONN.Execute HAPUS
                    Call SEMULA
                Else
                    Call SEMULA
                End If
            Else
                MsgBox "KODE TIDAK DITEMUKAN"
                Text1.SetFocus
                Text1 = ""
            End If
        End If
End If
End Sub


Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text3.SetFocus
End Sub

Private Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text4.SetFocus
End Sub

Private Sub Text4_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text5.SetFocus
If Not (KeyAscii >= Asc("0") And KeyAscii <= Asc("9") Or KeyAscii = vbKeyBack) Then KeyAscii = 0
End Sub

'PERSONPLG
Private Sub Text5_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then
    If Command1.Caption = "SIMPAN" Then
        Command1.SetFocus
    ElseIf Command2.Caption = "SIMPAN" Then
            Command2.SetFocus
    End If
End If
End Sub


Senin, 09 Agustus 2010

Habis turun gunung..

Wah udah berapa lama ini blog sudah terlantar..
hahahah..
Maklumlah, lama digunung soalnya..
Sebenernya masih banyak tutorial yang mau saya postingkan, cuma saya juga bingung akan mulai dari mana..
Saya tertarik dengan V.B, dan Wireless..
Dan mungkin nanti saya akan membagikan kepada kalian tutorial tersebut..

Untuk sekarang memang tutorial masih dalam pembangunan..
Sabar yach..
hehheheh...
Tunggu saja tanggal mainnya..

Kamis, 07 Januari 2010

How to install operating system (Windows XP)

  

At this time, I will be explaining to you about how to install the operating system into your PC. The operating system is a software system which regulates and controls the hardware and provides ease of use to the user's computer. This OS controls data storage, input, output from one device to another device. I hope, with a clue and this simple information can help and facilitate you to install Windows XP into your PC.
There are several important points that you have to prepare before doing the installation of the operating system into your PC, including the following:


  • Check all your computer hardware is already installed / installed correctly.
  • Check your BIOS settings are already configured correctly.
  • Prepare the Operating System CD (Windows XP)


After the three points above is complete, you are ready to perform the installation process. I explained to you about how to install Windows XP by using 'SunVirtualBox' as the media, the following configuration settings:





Picture 1.


1.)  Picture above is the first time the display setup you would have encountered in the installation process. If you have not installed Windows XP, then press "ENTER" to continue. And if you've installed Windows XP on your PC, then you just have to make choices to two, by pressing the"R" to make the process 'Repair', and last option is if you want to exit the installation menu, then press "F3".







Picture 2.
2.) Second picture shows a subsequent process, and then continue by pressing the "F8" to agree on any set of rules that Microsoft Corp.







Picture 3.
3.)Steps we should do next is to create a partition as shown in the picture 3 above. Make a partition suit your needs. After the partitioning process is complete, then press "ENTER" to make formatting your hard drive partitions. Try to compare the partition C and other partitions comparison 40: 60, why? Because the memory in use by the system range is only 40%.







Picture 4.
4.)After you have finished formatting the partition division like picture 4, and then you need to provide a few glasses of milk and crunchy nuts to wait for the distribution process is complete partition, because it will spending your times.









Picture 5.
5.) After the partition process is finished, the computer will restart automatically and will to the next stage of the installation menu.









Picture 6.
6.) Display the picture above is the next stage of the installation process. You just have to wait until the menu Regional And Language Option appears. This process usually takes a relatively long time and saturate, so you have to prepare some snacks (low calorie of course, so not fat ^ ^) and soft drinks until the process has been completed.









Picture 7.
7.) After the Regional And Language menu option appears, select the 'NEXT' button with your toe like the picture above. Easy enough right??! Installation of Windows XP operating system is not really a difficult thing in the operating system installation than others. But sometimes people are lazy do that, so that the Windows XP installation process seemed difficult. Once this process is complete, the next stage I will explain to you.









Picture 8.
8.) After you have finished processing the Regional And Language menu option, then display the next picture is like the picture above. You only need to fill your personal data on the foam that had been determined. After that, simply by pressing the 'NEXT' button the process will continue into the next stage.









Picture 9.
9.) The next stage is to fill the Windows XP Product Key into the foam that had been prepared. Fill out the generated product key is printed on your Operating System CD into the foam, then click the 'NEXT' button to perform further configuration process. You may not generate any code to fill product key, because if one, then the installation process can not continue.









Picture 10.
10.) Ok,we've come to the next stage. Here we only need to fill foam data computer name and your administrator password. It looks easy and simple, but remember, you must remember your administrator's password! If not, then you will be hard to change your Windows XP settings, because that have the right to change your Windows XP settings, only the administrator. While the client can only use the facility without changing the existing setting.









Picture 11.
11.) When finished enter the computer name and administrator password, the display will appear like the picture above. You must set dates, months, and years based on your time, and to choose Time 
Zone [GMT +07.00] Bangkok, Hanoi, Jakarta, if you in indonesia, because I was in Jakarta, so the time zone I selected as the image above. So, choose the appropriate time zone for your area. When finished the you must click 'NEXT' button to continue the installation process further. I think, in this tutorial I do not need to explain in detail to you how entering data content, because you'll be able and can do that. Come on, you can!! Hehehehhe ^o^.









Picture 12.
12.) At this timeyou can only waited for a few minutes. Just advice from writers, you must prepare snacks (Low calories) and a glass of warm milk as a companion. Hehehehhe ^0^ ..... For this time, you only need to be patient waiting for the loading process you set up Windows XP, this process may take approximately 40 to 50 minutes.









Picture 13.
13.) Display the picture above, shows the Typical settings for your computer to connect one computer to another. Choose the first option is based on TCP / IP for setting this time, and then continue by clicking on the button 'NEXT' to continue some of the final stage of Windows XP installation.









Picture 14.
 14.) After you finish selecting typical setting for a network connection your Local Area Network, now you just need to give the local name area network (LAN) in accordance with your will, but let it go, if you are not interested to give a name. Because in this case is not too important to debate. Hehehhe .. When finished, click the NEXT button to the next process.









Picture 15.
 15.) The next process depicted as the image above. And back again Will Gate makes you waited for!! Heheheh .. Okay then, let us enjoy this leisure time by eating snacks that we have prepared. Your reply could not buy it, so that your pain. Hehehehhe .. Just a joke from the author ^ ^. It is in the process takes time long enough, you must be patient and pray, your computer may be in use, hahaha just kidding. After the loading process is complete, then your computer will restart automatically.











Picture 16.
16.) This is the first Opening display stating you have successfully installed the Operating System to your PC. For this final stage we only need to set up the big toe to click NEXT, NEXT, and NEXT. Hehehhehe.









Picture 17.
 17.) After the opening greetings to Windows, you will be given 2 choices, which is living or dead??!! Just a little joke from the author, hehehe ..You will be faced with two choices, the option to Update your Windows XP automatically or not. So, please you choose, Brithney Or Obama. Upssss, why Obama? My advice, choose Obama because he is more handsome. Heheheh .. Enough already joked, back to the topic. When finished, you just need to select the 'NEXT' button to the next process.









Picture 18.
18.) For this final stage you only need to 'Skip' the Checking Internet Connectivity. When finished, you'll go to the Registration Menu Windows XP Operating System.











Picture 19.
19.) I suggest to you, don't register your Windows XP. (because if your Windows XP proved false, can serious! Heheheh.. So, you must buy a CD Master the Windows XP original). When finished, click the NEXT button with the big toe of your friend to run the next stage.











Picture 20.
20.) Picture above shows the display menu USER / CLIENT which will operate Windows XP. USER may only use the facilities of Windows XP without changing the existing setting, and the right to change the existing settings administrator only. When finished, choose 'NEXT' to the next process. 











Picture 21.
21.) This is a thank you from Will's Gate because we've added Rich himself. Picture 20 above shows that we've managed to install the operating system on your PC. After clicking the "FINISH", your computer will automatically go into your Windows XP desktop. The following few examples of Windows XP that have been successfully installed.









Picture 22.
22.) If you enter in the previous 2 or more of the user that the display will appear like the picture above.You just choose which user you are going to choose to run Windows XP. Easy enough right?? And the outcome of the installation of Windows XP will appear on your Desktop like the image below:











Picture 23.
23.) Congratulations, you've managed to install the operating system into your PC. In order to get more leverage, install some Progam and specific applications to maximize the performance of your Windows XP.


 Enjoy your success time, and do not forget to treat me ok. Hehehhehe ..Hopefully a little discourse above can be useful for you and can add insight into all of us about how the Windows XP installation process.
 Thank you in advance for all the support especially for Lirva32 and lots of names that I can not mention one by one.Thank you and until the conference ... ... ... .. (^_^). Peace, Love, And Gaul...!!