Move to the new blog
don't forget to visit it
http://www.azmifauzan.web.id
Cinta Perlu Waktu, Waktu Adalah Uang, So.. Cinta ???
In this tip we will explore the two main choices of graphic format that can be used on the Web to represent simple graphics, schemas or logos:
The GIF format is a format which compresses files using an algorithm called LZW, which keep traces of the colors and helps to reduce the size of the file.
GIF's strong point is that it is very widely supported and thus well established as the default choice for simple graphics on the Web. Compared to the other choices (especially PNG) GIF is not technically superior, but during the first years of the Web, when support for PNG was starting and growing, it was indeed a safer choice, and probably still is a safer choice at the time this QA Tips is written, though not by much.
One of the issues surrounding the GIF format is that the LZW algorithm was protected in the USA by a patent held by the company Unisys. The Unisys LZW patent expired in the USA on June 20, 2003. LZW patents are expired in Canada, France, Italy, Germany, the United Kingdom, and Japan.
PNG (Portable Network Graphics), an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits.
For the Web, PNG really has three main advantages over GIF:
PNG also compresses better than GIF in almost every case (5% to 25% in typical cases).
Though in some cases, it's important to notice that PNG could have a bad support by old browsers or specific features like transparency.sudo apt-get install build-essential2. Create user dan group buat si mysql nya
sudo groupadd mysql3. Instalasi librari pendukung
sudo useradd -g mysql mysql
dpkg -i libncurses5_5.5-1ubuntu3_i386.deb4. Ekstrak dan konfigurasi
dpkg -i libncurses5-dev_5.5-1ubuntu3_i386.deb
tar -xzvf mysql-5.x.xx.tar.gz5. Sampai disini apakah ada yang eror. Mudah2 an lancar (amin ... plus srumput kopi na dulu hehehe). Jikalau ada yang eror. copy paste aja eror na ke mbah google yah. Lanjut ...
cd mysql-5.x.xx.tar.gz
./configure --prefix=/usr/local/mysql
--with-mysqld-user=mysql
--without-debug
--with-client-ldflags=-all-static
--with-mysqld-ldflags=-all-static
--disable-shared
--localstatedir=/usr/local/mysql/data
--with-extra-charsets=none
--enable-assembler
--with-unix-socket-path=/tmp/mysql.socket
make6. Setelah instalasi selesai, jangan lupa untuk mengcopykan file CNF ke area konfigurasi pada linux kita (biasanya sih di folder /etc)
sudo make install
sudo cp support-files/my-medium.cnf /etc/my.cnf7. Tambahkan table default pada mysql yang telah diinstal
sudo /usr/local/mysql/bin/mysql_install_db --user=mysql8. Nambah Hak akses
sudo chown -R root /usr/local/mysql9. Testing server
sudo chown -R mysql /usr/local/mysql/var
sudo chgrp -R mysql /usr/local/mysql
/usr/local/mysql/bin/mysqld_safe -user=mysql&10. Setting password
/usr/local/mysql/bin/mysqladmin -u root password new_password11. Testing Login
/usr/local/mysql/bin/mysqlKalo berhasil login. berarti selesai deh ...
sudo cp support-files/mysql.server /etc/init.d/mysqlOk ... Finish
sudo chmod +x /etc/init.d/mysql
sudo update-rc.d mysql defaults