

- #Install mysql and phpmyadmin ubuntu 16.04 install#
- #Install mysql and phpmyadmin ubuntu 16.04 windows#
#Install mysql and phpmyadmin ubuntu 16.04 install#
apt-get -y install phpmyadminĮcho "update user set plugin='' where User='root' flush privileges " | mysql -defaults-file=/etc/mysql/debian. In this guide we will install and configure phpMyAdmin to work with Apache on Ubuntu 16.04 / 17.10.
#Install mysql and phpmyadmin ubuntu 16.04 windows#
Jika di Windows biasa kita kenal dengan XAMPP, adalah aplikasi bundling yang di dalamnya sudah include aplikasi. LAMP adalah singkatan dari Linux, Apache, MySQL dan PHP/Perl. Aplikasi-aplikasi ini biasa kita kenal dengan sebutan LAMP. Let’s speed up PHP using a cache and restart Apache2 apt-get -y install php-apcuĪnd finally we install PhpMyAdmin and make it working with MariaDB. Pada artikel kali ini saya akan share bagaimana Cara Install Apache, PHP, MySQL, Phpmyadmin di Ubuntu 16.04. Php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext Php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 \ Open the file /etc/mysql//mysql.cnf and edit the following line: bind-address 0.0.0.0 Replace 0.0.0.0 with the IP address of the remote server, and then save and exit the file. apt-get -y install php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick \ Now that phpMyAdmin is installed on the client computer, connect to the remote server where the MySQL or MariaDB database is installed.

The following command is one line so copy and paste all the text below. The commands will be issued as root so first we do a sudo su - sudo su -Īpt-get -y install mariadb-server mariadb-clientĪpt-get -y install php7.0 libapache2-mod-php7.0īaisc PHP is now installed, we will now install the extras. The order will be install the database-server, install apache2 and then do the actual install of PHP. MariaDB is a fork of MySQL and has some nice new features. We’re also going to assume that you’ve completed a LAMP (Linux, Apache, MySQL, and PHP) installation on your Ubuntu 16. First, we’ll assume that you are using a non-root user with sudo privileges, as described in steps 1-4 in the initial server setup of Ubuntu 16.04. We will use MariaDB here instead of MySQL. Before you get started with this guide, you need to have some basic steps completed. We can either do a version-specific installation or automatically install the latest version that is available for. I thought it would be nice to have a small howto on installing Apache2 MariaDB and PHP7 on this community. MySQL server can be installed in two ways.
