oreobuys.blogg.se

Uninstall and reinstall phpmyadmin ubuntu
Uninstall and reinstall phpmyadmin ubuntu









uninstall and reinstall phpmyadmin ubuntu
  1. UNINSTALL AND REINSTALL PHPMYADMIN UBUNTU HOW TO
  2. UNINSTALL AND REINSTALL PHPMYADMIN UBUNTU INSTALL

UNINSTALL AND REINSTALL PHPMYADMIN UBUNTU INSTALL

use any method to install the packageĮnable this module by doing $ sudo a2enmod php5 $ echo 'Hello! It is working!' > /home/user/public_html/index.html

uninstall and reinstall phpmyadmin ubuntu

To test the new site, create a file in /home/user/public_html/: If you have not created /home/user/public_html/, you will receive an warning message $ sudo a2dissite 000-default & sudo a2ensite mysite Ubuntu provides two small utilities that take care of this: a2ensite ( apache 2enable site) and a2dissite ( apache 2disable site). Now, we must deactivate the old site, and activate our new one. This is optional, but handy if you have many sites To do this, change the ErrorLog and CustomLog directives.

uninstall and reinstall phpmyadmin ubuntu

You can also set separate logs for each site. In the file: /etc/apache2/nf, change the Directory directive, replace to sudo cp /etc/apache2/sites-available/nf /etc/apache2/sites-available/nfĮdit the new configuration file in a text editor "sudo nano" on the command line or "gksudo gedit", for example: gksudo gedit /etc/apache2/sites-available/nfĬhange the DocumentRoot to point to the new location. To do this, we must create a new site and then enable it in Apache2.Ĭopy the default website as a starting point. You can have many different site configurations available, and activate only those that you need.Īs an example, we want the default site to be /home/user/public_html/. This is what you will see when you browse to or. By default, there is one site available called 000-default. These are available in /etc/apache2/sites-available. This can all be done in a single command with the following: $ echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdnĪpache2 has the concept of sites, which are separate configuration files that Apache2 will read. Or $ gksu "gedit /etc/apache2/conf.d/fqdn" Use a text editor such as "sudo nano" at the command line or "gksudo gedit" on the desktop to create a new file, $ sudo nano /etc/apache2/conf.d/fqdn In older versions of Apache, the configuration files were located in a different directory. This can all be done in a single command with the following: $ echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/nf & sudo a2enconf fqdn To the file, save it, and enable your new configuration file by running the command below. Or $ gksu "gedit /etc/apache2/conf-available/nf" Use a text editor such as "sudo nano" at the command line or "gksudo gedit" on the desktop to create a new file, $ sudo nano /etc/apache2/conf-available/nf With your web browser, go to the URI : if you read "It works!", which is the content of the file /var/Troubleshooting ApacheĪpache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

uninstall and reinstall phpmyadmin ubuntu

To only install the apache2 webserver, use any method to install: You may also want to purge these packages: mysql-client-core-5.5 mysql-server-core-5.5 To get rid of any configurations you may have made to apache, manually remove the /etc/apache2 directory once the packages have been removed. To also remove the debconf data, use the purge option when removing. You might wish to simulate this removal first, and only remove the packages that don't cause removal of something desired.Īpache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql Note: This assumes you have no other programs that require any of these packages.To remove the LAMP stack remove the following packages:

UNINSTALL AND REINSTALL PHPMYADMIN UBUNTU HOW TO

Starting over: How to remove the LAMP stack To install the default LAMP stack in Ubuntu 10.04 and above This is to help people set up and install a LAMP ( Linux- Apache- MySQL- PHP) server in Ubuntu, including Apache 2, PHP 5 and MySQL 4.1 or 5.0. Alternative: install phpMyAdmin from source.Troubleshooting Phpmyadmin & mysql-workbench.Starting over: How to remove the LAMP stack.To install the default LAMP stack in Ubuntu 10.04 and above.











Uninstall and reinstall phpmyadmin ubuntu