Skip to main content
Home
Live to Learn!

Main navigation

  • Home
  • Learn
    • FoxPro
    • MS-DOS
    • C PRG
    • Java
    • ASP
    • Ruby on Rails
    • ASP.NET
    • E-Books
    • Exam Preparation
    • Tools
  • Blog
  • Forums
  • Contact
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Videos

Ubuntu development environment with .local domain setup

By Karthikeyan , 9 August, 2021

Watch the following video to know how to setup Ubuntu Development environment for PHP coders. (LAMP Environment)

Apache, MySQL & PHP setup in Ubuntu Linux. 

1. Update apt cache and installed packages:

sudo apt update sudo apt upgrade

2. Install Apache 2

sudo apt install apache2

3. Install Mysql

sudo apt install mysql-server

Secure MySQL Installation

sudo mysql_secure_installation

4. Install PHP

sudo apt install php libapache2-mod-php php-mysql

check PHP version

php -v

5. Setup local domain

Add your host

sudo nano /etc/hosts

Configure apache to run on your directory

sudo nano /etc/apache2/apache.conf

Add virtual hosts for your local domain

sudo nano /etc/apache2/sites-available/your_domain.local.conf

Enable your local domain

sudo a2ensite your_domain.local.conf

 

About text formats

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Featured Blog Posts

Convert Currency in Number to Words (Indian Rupees) - MS Excel
Foxpro Tutorial and Programs
Convert Currency in Number to Words in MS Word
Convert Currency in Number to Words (Indian Rupees) - Version 2
Best way to Use Rupee Symbol in Windows – Easy steps
Convert Currency in Number to Words - MS Access
Creating All in One Windows XP DVD with all Important Applications
RSS feed

© 2009-2025 Live to Learn.In

Terms of Use | Privacy Policy