Archive for July 2008
system > administration > sypnatic package manajer > edit > mark packages by task… > tandai LAMP server > ok > apply
berhasil install LAMP
2. Masuk ke terminal
$ sudo /etc/init.d/apache2 start
$ sudo /etc/init.d/mysql start
$ mysql -h localhost -p -u root
Ketika diminta password tekan saja enter. Secara default, root pada MySQL tidak memiliki password. Catatan: root di MySQL berbeda dengan root di sistem Linux.
mysql> create database pos;
Query OK, 1 row affected (0.31 sec)
Perintah diatas untuk membuat database pos
mysql> grant all on pos.* to 'admin'@'localhost' identified by 'pointofsale';
Perintah diatas kurang lebih berarti memberikan akses penuh pada database pos, untuk user admin yang berada pada server localhost, dengan password pointofsale.
Download software PHP Pos versi terbaru disini
Unzip atau ekstrak file zip di folder desktop
Ketik
# cd /var/www
Lalu buat folder baru dengan nama pos dengan perintah:
/var/www# mkdir pos
/var/www# chmod 777 -R pos
Lalu pindahkan file PHP Pos yang sudah diekstrak ke folder pos
Lalu ketik lagi
/var/www# chmod 777 -R pos
3. Instalasi PHP Pos
Buka browser Anda, dan masuk ke http://localhost/pos/PHP_Point_Of_Sale_9.1/install/
Pada tahap ini, Anda tengah memulai proses instalasi.
1. Anda akan diminta menetukan bahasa yang akan digunakan
2. Isi data-data pada kotak yang tersedia
3. Isilah Database name = pos. Ini adalah nama database yang telah kita buat pada bagian instalasi sebelumnya.
4. Default USERNAME adalah admin dan default PASSWORD adalah pointofsale.
5. Isilah seluruh data lainnya dengan lengkap, kemudian klik install. Perhatikan bahwa tulisan berhuruf tebal menandakan kotak disebelahnya haruslah diisi.
6. Jika seluruh isian telah Anda isi dengan benar, proses instalasi akan berlanjut.
7. Selanjutanya Anda akan diarahkan (klik here) ke halaman login.
8. Silahkan login dengan User Name = admin dan Password = pointofsale. Anda akan masuk ke halaman utama.
Install GD support php5-gd in Ubuntu
--------------------------------------------
Just type following command to install this module:
$ sudo apt-get install php5-gd
Restart Apache
# sudo /etc/init.d/apache2 restart
And then Restart Windows
Debian Linux
Code: |
# apt-get install unrar |
Fedora core Linux
Code: |
# yum install unrar |
FreeBSD
Code: |
# pkg_add -v -r unrar |
Jika misalnya belum jalan, bisa memakai cara manual yakni mendowload paket binary nya dari rarlab site.
cd /tmp |
Ekstrak filenya
Code: |
$ tar -zxvf rarlinux-3.6.0.tar.gz |
Masuk ke Direktory file, lalu jalankan perintah
Code: |
$ cd rar |
Copy Unrar ke direktory /bin :
Code: |
# cp rar unrar /bin |
ketik :
iksan@localhost:~/Desktop> unrar e sample.rar
GRUB yang merupakan singkatan dari GRand Unified Bootloader adalah boot loader berlisensi GPL yang bertujuan untuk menyediakan sebuah antar muka proses booting sistem operasi di lingkungan x86. Di Ubuntu, GRUB merupakan bootloader default. Ketika selesai melakukan instalasi distro Ubuntu, dan melakukan reboot maka setelah POST (Power On Self Test) akan ditampilkan beberapa pilihan sistem operasi yang dapat di-boot, berlatar hitam dan terdapat beberapa tulisan yang menunjukkan OS yang diwakilinya, inilah yang disebut GRUB.
Penampilannya tidak terlalu indah memang, tapi jangan anggap remeh dulu karena GRUB memiliki segudang fitur yang sangat berguna bagi para penggunanya. Lagipula tampilannya yang agak seram itu masih bisa didandani kok. Latarnya yang berwarna hitam dapat diganti dengan gambar yang akan membuatnya terlihat lebih indah. Untuk melakukan hal ini kita hanya perlu sedikit mengedit /boot/grub/menu.lst
. Siapkan sebuah berkas gambar yang berformat .xpm dan dikompress denga format .gz, kalau tidak mau repot-repot membuatnya unduh saja satu dari gnome-look.org, atau install dari repositori Ubuntu
$ sudo apt-get install grub-splashimages
gambar hasil instalasi ini bisa dilihat di /boot/grub/splashimages
.
Berikutnya, hal terakhir yang harus dilakukan adalah mengedit /boot/grub/menu.lst
, tapi seperti biasa jangan lupa back-up dulu berkas menu.lst
sebelum melakukan perubahan, hal ini untuk berjaga-jaga jika terjadi kesalahan
$ cd /boot/grub
$ sudo cp menu.lst menu.lst_backup
$ sudo nano -w menu.lst
lalu tambahkan baris splashimage /boot/grub/splashimages/nama_berkas.xpm.gz
setelah baris ke empat, hasilnya kira-kira seperti ini
# menu.lst - See: grub(8), info grub, update-grub(8),
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.splashimage /boot/grub/splashimages/gentleblue.xpm.gz
Jika sudah selesai tekan F3 atau Ctrl+O untuk menyimpan perubahan tersebut, dan F3 atau Ctrl+X untuk keluar dari nano. Setelah itu lakukan reboot, dan tampilan GRUB kini sudah terlihat lebih indah.
Sebenarnya kita bisa saja menggunakan gambar milik sendiri (foto pacar, teman, saudara, ortu, atau artis idola) untuk ditampilkan di GRUB, namun untuk itu kita perlu sedikit pekerjaan tambahan untuk mengkonversi dari format .png menjadi .xpm.gz. Untuk itu pastikan bahwa foto yang digunakan sudah memiliki format .png (jika belum konversi dulu dengan menggunakan gThumb). Lalu dari terminal jalankan perintah berikut
convert -resize 640×480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
Setelah itu salin berkas tersebut ke direktori /boot/grub/splashimage
.
This morning my wife ask me to print my kid's photo, that is the reason I open it.
I've tried googling to find if somebody have installed it in Ubuntu Feisty, but no luck. The current driver provided by Canon are only for OpenSuse and Fedora, but it's good at least they made the linux driver.
First step installation, download the files from canon server :
Go to http://www.canon-asia.com/index.jsp?fuseaction=support&prod_type=bj&country=SG
select the Model PIXMA iP1880 and Menu Drivers & Softwares
Choose the version 2.7.0 for Linux
Download only the two files which are "Common package" and "Package for the iP1800series"
The files are in RPM. So we need to convert it to Ubuntu packaging format.
Second step :
Install the alien package by command
sudo apt-get install alien
Convert it to .deb
sudo alien -k cnijfilter-common-2.70-1.i386.rpm
sudo alien -k cnijfilter-ip1800series-2.70-1.i386.rpm
Install it
sudo dpkg -i cnijfilter-common_2.70-1_i386.deb
sudo dpkg -i cnijfilter-ip1800series_2.70-1_i386.deb
Other than those files, you need some old library to support it like libtiff3 and libpng3. I can't find the libtiff3 on the repository so I make softlink to point libtiff3 to libtiff4. Without this installation, you won't be able to print anything.
cd /usr/lib/
sudo ln -s ./libtiff.so.4.2.1 ./libtiff.so.3
for libpng3, install from repository
sudo apt-get install libpng3
After you install above command successfuly, we go to Step 3
Turn on the printer and connect the USB to the printer.
Open the printing from System->Administration->Printing
Double click the new printer
Select Printer Type " Local or Detected Printer"
Select a Detected Printer : Canon iP1800 series ......
Then go to the next page
I can't find the iP1800 on the list, so I select the "Install Driver" button and point to
/usr/share/cups/model
and select canonip1800.ppd
Go to the next page and press the apply button.
You will see on the Printers window, there will be iP1800 icon on it. You can make it default printer by right click and select "Make Default"
This part, voila, you are ready to print!
For the Hardy users, you should install libgtk1.2 and libxml1 and no need to go to step 3.
sudo apt-get install libgtk1.2
sudo apt-get install libxml1
After turn on the printer, there will be popup to install the printer.
1. instalasi LAMP
system > administration > sypnatic package manajer > edit > mark packages by task… > tandai LAMP server > ok > apply
berhasil install LAMP
2. masuk ke terminal
ubuntu@ubuntu:~$ sudo -i
Password:
root@ubuntu:/home/ubuntu# cd /var/www
root@ubuntu:/var/www# mkdir joomla
root@ubuntu:/home/ubuntu/Desktop# tar -xzvf Joomla_1.5.3-Stable-Full_Package.tar.gz -C /var/www/joomla
root@ubuntu:/var/www# chmod 777 -R joomla
berhasil instalasi joomla 1.5.3 di ubuntu 7.10
buka browser (MFF): http://localhost/joomla/installation/index.php
3. instalasi joomla
1 : Language
2 : Pre-installation Check
3 : License
4 : Database
5 : FTP Configuration
6 : Configuration
7 : Finish
4. di terminal
root@ubuntu:/var/www# cd /var/www/joomla
root@ubuntu:/var/www/joomla# rm -r installation/