Get MySQL 5.5.12
-----------------------------------------------------------------------
$ wget http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz
$ tar -xvzf mysql-5.5.12.tar.gz
--------------------------------------------------------------------
Change directory into mysql-5.5.12 and make && make install
------------------------------------------------------------------
$ cd mysql-5.5.12
$ apt-get install build-essential cmake libncurses5-dev libaio-dev bison
$ groupadd mysql
$ useradd -r -g mysql mysql
$ cmake . -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock
$ make
$ make install
----------------------------------------------------------------------
Chown/Chgrp and copy files
------------------------------------------------------------------------
$ cd /usr/local/mysql/
$ chown -R mysql .
$ chgrp -R mysql .
$ scripts/mysql_install_db --user=mysql
$ chown -R root .
$ chown -R mysql data
$ cp support-files/my-huge.cnf /etc/my.cnf
$ cp support-files/mysql.server /etc/init.d/mysql.server
-------------------------------
Start the service and create MySQL users
---------------------------------------------
$ /etc/init.d/mysql.server start
$ ./bin/mysql_secure_installation
$ ln -s /usr/local/mysql/bin/* /bin/
$ mysql -u root -p: CREATE USER 'user'@'server' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'user'@'server';
$ create file /etc/ld.so.conf.d/mysql.conf with contents "/usr/local/mysql/lib": ` echo "/usr/local/mysql/lib" >> /etc/ld.so.conf.d/mysql.conf`
$ run ldconfig as root
------------------------------------------------------------
Task: MySQL list databases MySQL is a simple command-line tool. MySQL is command line and it is very easy to use. Invoke it from the prompt of your command interpreter as follows:
----------------------------------
$ mysql
-----------------------------------------
output
----------------------------------------------
mysql>
---------------------------
To list database type the following command
----------------------------------------
mysql> show databases;
Output:
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
+--------------------+
2 rows in set (0.00 sec)
------------------------------------------------------------------------------------------------
information_schema and mysql are name of databases. To use these database and to list available tables type the
following two commands:
mysql> use mysql;Output:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Now list tables:
-----------------------------------------------------------------------------------------
mysql> show tables;
Output:
+---------------------------+
| Tables_in_mysql |
+---------------------------+
| columns_priv |
| db |
| func |
| help_category |
| help_keyword |
| help_relation |
| help_topic |
| host |
| proc |
| procs_priv |
| tables_priv |
| time_zone |
| time_zone_leap_second |
| time_zone_name |
| time_zone_transition |
| time_zone_transition_type |
| user |
+---------------------------+
17 rows in set (0.00 sec)
Linux KLuBI - Komunitas Linux Belitung Island
Install Linux, Install Apl Linux, Setting Jaringan, semuanya yg berhubungan dengan LINUX @
Friday, August 2, 2013
Tuesday, November 6, 2012
Selamat Datang di WEB BLOG KluBi
Monday, November 5, 2012
Install and configure Apache, PHP, MySql and phpMyadmin on Linux Mint13
Tanpa banyak basa basi:
Langkah
1:
Instalasi apache
Instalasi apache
Click
Menu-> Terminal. Dan
ketik kode di bawah ini di terminal dan tekan enter.
$sudo apt-get install
apache2
Ketik
password linux mint Anda dan tekan enter.
Ketik
y dan tekan enter untuk mengkonfirmasi instalasi apache.
Setelah
instalasi berhasil, buka browser favorit Anda dan ketik:
http://localhost/
di
address bar dan tekan enter. Jika
Anda akan melihat 'It works!' ,
Maka apache Anda bekerja dengan baik.
Langkah
2:
Instalasi PHP
Instalasi PHP
Sunday, November 4, 2012
Install XBMC on Ubuntu 12.04 LTS / Mint 13
Home Theater Experience(XBMC)
Buka terminal/konsole ketik perintah di bawah ini:
$sudo apt-add-repository ppa:nathan-renniewaldock/xbmc-stable
masukan password anda tekan
ketik Y
$sudo apt-get update
$sudo apt-get install xbmc
Do you want to continue [Y/n]? Y
tunggu sampai selesai
Sunday, October 21, 2012
Install Google Earth on Ubuntu 12.04 dan Linux Mint 13
caranya buka terminal/konsole, ketik mantra di bawah ini
#sudo apt-get install lsb-core msttcorefonts
For Ubuntu (32-bit):
# wget -O google-earth-stable_current_i386.deb http://goo.gl/iZT7r
sudo dpkg -i google-earth-stable_current_i386.deb
For Ubuntu (64-bit):
#wget -O google-earth-stable_current_amd64.deb http://goo.gl/2fXw3
sudo dpkg -i google-earth-stable_current_amd64.deb
Friday, September 14, 2012
Pesan Error "System Program Problem Detected" pada UBUNTU 12.04 LTS Precise Pangolin
Oke Bro..., untuk postingan saya kali ini saya ingin sedikit berbagi tips untuk mengatasi masalah pada Ubuntu versi terbaru yaitu 12.04 LTS precise pangolin .
Bagi teman teman yang baru menginstall Ubuntu versi terbaru ini mungkin sering mendapatkan peringatan dengan tulisan “SYSTEM PROGRAM PROBLEM DETECTED”
sebenarnya masalah tersebut dapat diatasi dengan langkah yang mudah dan sederhana
Cinnamon di Ubuntu 12.04
Mau cobalah DESKTOP linux cinnamon. tampilannya sederhana namun tetap elegan.
$ sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
$ sudo apt-get update
$ sudo apt-get install cinnamon
untuk menggunakan cinnamon, anda harus logout terlebih dahulu, lalu pada session pilih "cinnamon".
setelah itu hasilnya ssb:
setelah itu hasilnya ssb:
selamat mencoba.
Subscribe to:
Posts (Atom)