![]() You can edit the global configuration file using any editor, in this tutorial we will be using VIM editor. We will look at some global configuration here. There are three sections in the global configuration file which are Apache server processes, configuration for the default server and configuration for virtual hosts. You can make changes to the apache global configuration file which is located at /etc/apache2/nf This file holds main configuration files of Apache2 web server. To remove the default page run this command sudo rm /var/www/html/index.html You can remove the default Apache page or put any HTML page in the web root directory which is located at /var/www/html/ This will show you the default apache web page with some instructions written on it like the one shown below. Which will look like For example if IP address of your machine is 164.31.0.40 then go to the following web address. You can check if the Apache web server is working by going to the browser of your computer and accessing your website through the public IP address of your VPS. Once the server is installed you can start the server by issuing the command sudo service apache2 start It will ask you if you want to continue with installation, press y and then enter. You can install Apache Web Server by issuing the command sudo apt-get install apache2 It is a best practice to update the apt repository before proceeding to any installation by issuing the following command. We will use Ubuntu's default repository to install the packages which is apt. In this tutorial we'll use a non root account hence we'll use sudo before the commands. If you are logged into root account then you can omit using sudo before the commands. If you are logged into a non root account then you will have to use sudo command before executing any administrative command. You must have access to the terminal of ubuntu before you install any packages. phpMyAdmin is a web based application written in PHP and it is used to manage the databases in MySQL server using graphical user interface. MySQL is Open Source Relational SQL database management system and PHP is a scripting languages and widely used to process the dynamic content. A basic web server installation should include these three packages as they are important to serve both static and dynamic pages.Īpache web server serves the static web page content. In this tutorial we'll learn how to install LAMP ( Linux Apache, MySQL, PHP) on Ubuntu. $ sudo nano /etc/mysql//mysqld.Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month. The problem was that the server was listening internally only. Port 3306 appears to be closed on my Ubuntu server ![]() ![]() $ sudo add-apt-repository -y ppa:ondrej/mysql-5.6 $ sudo apt-get install -y php5.6-cli php5.6-cgi php5.6-curl php5.6-imap php5.6-gd php5.6-intl php5.6-mysql php5.6-xmlrpc php5.6-mbstring php5.6-soap php5.6-zip php5.6-xml php5.6-mysqli php5.6-curl php5.6-imap libapache2-mod-php5.6 php5.6-mbstring php5.6-mcrypt $ sudo add-apt-repository -y ppa:ondrej/php $ sudo apt-get install python-software-properties ![]() $ sudo add-apt-repository -y ppa:ondrej/apache2 How to install Apache 2.4, PHP 5.6 or PHP 7.1, MySQL 5.6, Phpmyadmin in Ubuntu 14.04 LTS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |