To install the lamp environment using a normal User:1. Install Apache:sudo apt-get install apache2Input: YAfter the installation is complete, check to see if the installation was successful:Apache2-v2. Install PHPsudo apt-get install php5After installation, check to see if the installation was successful:Php5-vNote: Apache and PHP interact, Apache must install the libphp5.so module, so we must first see if Apache installed this module, using the follo
First install LAMP, a command: sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin
During this period, you are required to enter the root user password of the mysql database, and select the server type [apache] And phpMyAdmin.Restart apache after installation. Command: sudo/etc/init. d/apache2 restartYou also need to link the installed phpmyadmin and run the command: ln-s/usr/share/phpmyad
Build LAMP and php development tools in Ubuntu,
The so-called LAMP refers to: Linux + Apache + Mysql + Php
Make a memorandum only for this article
Step1. install Apache
1. Enter the command in terminal and execute:
Sudo apt-get install apache2
2. Test whether Apache is successfully installed:
Open your browser and enter 127.0.0.1 in the address bar. If "It work
Install and configure LAMP in ubuntu 12.04. install www.2cto.com 1. sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql due to LAMP most operations related to the/var/www directory, for convenience, modify the permission of this directory to be accessible by normal users. 1. sudo chmod 777/var/www/2. phpmyadmin install www.2cto.com 1. d
Build a LAMP environment learning record under Ubuntu Server, named ubuntulamp
I have learned some knowledge about linux over the past few days. Here I will record the learning records.
# Stop the mysql service before data migration
$
# Change the user group and user and folder permissions of the target directory to mysql: mysql 0700
$
$
# To prevent exceptions, copy the existing data (cp) to a new director
management, we use the name above.$#通过vim编辑配置文件$# First you can see this copy of the configuration file as followsServerName www.imooc.comDocumentroot/webdata/imooc/wwwOptions FollowSymLinksAllowOverride NoneOptions Indexes followsymlinks MultiViewsAllowOverride NoneOrder Allow,denyAllow from all#..... Do not want to close configuration items here#将以上暗红色标记的参数从上到下分别改为Www.imooc.com instead/webdata/imooc/www instead/webdata/imooc/www/instead#保存退出, modify the Imooc_oa configuration file in a simila
Objective: To start a ubuntu iner instance with ubuntu 12.04-amd64 through lxc, and then set up the LAMP (Linux + Apache + Mysql + PHP) environment in this instance. Specific steps: www.2cto.com (1) install mysql: sudo apt-get install mysql-server mysql-client (2) install Apache2 sudo apt-get install apache2 to test whether apache works properly. Enter http in th
using apt to build lamp environment under Ubuntu 16.04 LTS
Introduction
First of all, this program is not in the other version of Ubuntu 16.04, but the problem should be small, suitable for beginners to build the environment. Through apt download software Please make sure that your source is configured correctly or otherwise prone to problems.
Update Source
Get
Digitalocean LAMP on the Ubuntu 14.04 version of the default MySQL password?
Do not know how to play the password ah. Urgent ...
Reply content:
Digitalocean LAMP on the Ubuntu 14.04 version of the default MySQL password?Do not know how to play the password ah. Urgent ...
Have you ever logged in with SSH? Have y
Build a php environment (LAMP) 1 in ubuntu to install the apache2 server ?? Sudoapt-getinstallapache2 ?? After installation, open:? in Firefox :?? Localhost: indicates that the installation is successful .? Note: modify the varwww permission for external access to sudochmod777varwww ?? Build a php environment (LAMP) in ubuntu
Build a php environment (LAMP) 1 in ubuntu to install the apache2 server ?? Sudoapt-getinstallapache2 ?? After installation, open:? in Firefox :?? Localhost: indicates that the installation is successful .? Note: modify the varwww permission for external access to sudochmod777varwww ???? Build a php environment (LAMP) in sudo
: Browser access:http://localhost/phpmyadminIf you follow the author's thinking step by step to do now then you should be visiting localhost/phpmyadmin, of course, is likely to error, this time will prompt you do not install an extension mbstring, according to the page error message download the corresponding expansion# sudo apt install sudo apt-get install php-mbstring php7.0-mbstringA new error message may be added: PHP Fatal error:require_once (): ... A new installation is also required to ex
Overall, the installation of the lamp environment in Ubuntu is relatively simple, just follow the command line to execute, record operations for a rainy-future.First, update all the software in Ubuntusudo apt-get updateSecond, after installing the Apache serversudo apt-get install apache2Third, install PHPsudo apt-get install php5Iv. installation of MySQLsudo apt-get install Mysql-serverV. Install PHP5-MYSQ
0. Install lamp environment in virtual machineProblem solving:From Baidu ExperienceQuestion 1,Remote login to Linux system with putty, display network error connection refusedProblem solvingQuestion 2,Computer environment for Windows 7, installed in VirtualBox Ubuntu SERVERLP and installed the lamp environment I want to be able to access the Web site in the virtu
Preface:Yesterday learned to install the server, today try to install lamp through the remote terminal Xshell, with the development environment, there is an integrated environment can be installed using a key, or a blind toss, manually step by step to build this development environment.Next : Ubuntu server 14.04 LTS built lamp environment One of the most detailed
configuration file when the command line runs or the shell script runs;CONF.D inside the *.ini file is some additional extension configuration, it is generic, so in the Apache2 and CLI also has its soft chain;Four. Install MySQL1. Install MySQLsudo apt-get install mysql-server mysql-client php5-mysqlThe installation process will let you enter two times the root account password, here the MySQL and php MySQL extension are installed;2. Start/stop MySQL:sudo stop/start MySQL3. Log in to MySQL:Mysq
update$ sudo apt-get install apache2Install MySQL 5.6Use the following commands to install or upgrade MySQL 5.6 on your Ubuntu systems. At the last update of this tutorial MySQL 5.6.27 was latest available MySQL version in series of MySQL 5.6.X.$ sudo add-apt-repository-y ppa:ondrej/mysql-5.6$ sudo apt-get update$ sudo apt-get install mysql-server-5.6Install other RequirementsAlso need to the install modules like Php7-mysql, libapache2-mod-php7.0 etc
Recently began to learn PHP development, so first understand the following how to prepare the development environment under Ubuntu, during the review of a lot of articles, but also encountered a lot of problems, special records are as follows, I hope that other developers can be helpful:1. Install the base packageHttp://howtoubuntu.org/how-to-install-lamp-on-ubuntuRefer to the above steps for the line.2. Po
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.