Translate

11 Nov 2013

JANGAR

AING LIEUR

Contekkan Basis data -> MySql

cd c:\xampp\mysql\bin
mysql -u root -p

//buat database
create database NAMA_DATABASE(cntoh:makanan);

//menggunakan data base
use NAMA_DATABaSE
contoh:
use makanan;

//buat tabel
create table NAMA_TABLE,(NAMA_FIELD1 TIPE_DATA(SIZE), NAMA_FIELD2 TIPE_DATA(SIZE));
contoh:
create table makanan(kd_makanan varchar(5),nama_makanan varchar(10),harga int);

//inptu data ke tabel
insert into NAMA_TABEL values ('isi1','isi2')
contoh:
insert into makanan values('m1','tempe',500);

//lihat data
select * from NAMA_TABLE;
contoh:select * from makanan;

16 Okt 2013

CARA INSTALL OPERA BROWSER DI LINUX - UBUNTU

12 Okt 2013

LAGI MALAS MENULIS - How to install ownCloud to Ubuntu 12.04

This short tutorial will show you how to create a personal cloud server that can be used to sync files from multiple desktops and, even better, be used to sync calendar and contacts from your android phone.

To begin, you need to add the repository for ownCloud for ubuntu 12.04.
 
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key
apt-key add - < Release.key 
Next, update the lists and install the package.
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/owncloud.list 
apt-get update
apt-get install owncloud
Once the package is installed, access the ownCloud interface at http://SERVERNAME/owncloud
The first time you launch it, it will prompt you to create an admin id and password. Optionally, you can pick the Data folder location and choose MySQL vs SQLiteownCloud Start