The source of this article: http://www.linuxdiyf.com/linux/21265.htmltime:2016-06-05 Source:Linux website Author:RonyaoPlease support the original.Step One: Install Apache[Email protected]:~$ sudo apt install apache2Once installed, enter localhost on the browser and the carriage return will see:This is the successful installation of Apache.Step Two: Install PHP7[Email protected]:~$ sudo apt install php7.0Enter version information to detect if the installation was successful[Email protected]:~$ p
-imagick php5-imap php5-mcrypt php5-memcache php5- Ming Php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xslAfter the visit, we open http://localhost/phpinfo.php again, we can see some other phpinfo information7, Installation phpMyAdminsudo apt-get install phpMyAdminSince the default phpmyadmin is in/usr/share/phpmyadmin/, we will move to/var/www belowMv/usr/share/phpmyadmin/var/wwwIf you are lucky, you can see the phpMyAdmin page, if there is a lack of mysqli ext
First, the goalCreate a server environment that mainly includes:Apache2.4.7 ServerPHP 5.5.9Mysql 5.5.49Extended:MemcacheMcryptIi. preparatory work1. Server System version Ubuntu server 14.04 AMD642. Update Source:Apt-get Update3. SSH Related Tools Installation:sudo Install openssh-server openssh-clientTo modify the SSH configuration:vim/etc/ssh/ssh_configPasswordauthentication No #把前面的注释 # Cancel, yes change to No, so disable all accounts login via pa
1, first open the command line, switch to root identity, to obtain the latest packageSu Rootsudo apt-get install update2. Install MySQL Databasesudo apt-get install mysql-server mysql-clientIn order to prompt for the database password, and then enter, then there are prompts, and then repeat the input once, and then enter the final installation of the last database test if the installation is successful, see welcome information OKMysql-uroot-p3. Install Apache Serversudo apt-get install apache2 a
executionCHMOD-R 777 StorageIf not, try this again.Because Ubuntu Apache uses www-data users, it does not work properly to avoid permissions problems. We will public,storage,vendor three directory settings www-data belong to:
1
$sudochown-R www-data /var/www/html/laravel/my_laravel/public/
2
$sudochown-R www-data /var/www/html/laravel/my_laravel/storage/
3
$sudocho
there is any database management software appearing.
Configuration process
Enable the Mod_rewrite modulesudo a2enmod rewriteRestart Apache server: sudo/etc/init.d/apache2 restart or sudo service apache2 restart
Set Apache support. htm. html. phpsudo gedit/etc/apache2/apache2.confAdd the following sentence: AddType application/x-httpd-php. php. htm. html
Test the PHP page Edit the mysql_test.php code as follows:
$link = Mysql_ Connect ( "localhost" , "root" , "1
We must first install LAMP Apache, PHP5, and Mysql5. open the terminal and enter the command line. We need to install LAMP in Apache, PHP5, and Mysql5.
Open the terminal and enter the command line.
1. install Apache
sudo apt-get install apache2
2. test Apache
To determine whether the installation is successful, let's test it. Open your browser and enter the following URL:
Http: // localhost/
If It succeeds
For more information about lamp and its technology, see http:// OS .51cto.com/art/200804/71596.htm.
1. Install Lamp
Sudo apt-Get install apache2 mysql-server mysql-ClientPhP5 php5-gd php5-mysql
Most lamp operations are related to the/var/WWW directory. For convenience, modify the directory permission to be accessible by common users.
Sudo chmod 777/var/www/
This evening I really want to say 10 thousand million rough sentences. I did this lamp configuration one night, But I encountered permission issues and compilation problems. I am about to crash. Later, I searched for it on the search engine and finally found a very dummies configuration method:
First install lamp, a command:
Sudo apt-Get install apache2 PhP5 libapache2-mod-php5 mysql-server libapache2
1. use apt-get to install PHP + MYSQL + Apache in Ubuntu and execute the following commands: (1) install MYSQLsudoapt-getinstallmysql-serversudoapt-getinstallmysql-client (2) install Apachesudoapt-getinstallapache2 (... 1. use apt-get to install PHP + MYSQL + Apache in Ubuntu and execute the following commands: (1) install MYSQL sudo apt-get install mysql-server sudo apt-get install mysql-client (2) install
Lamp (Linux + Apache + MySQL + PERL/PHP/Python) is an open Resource Network Development Platform Based on Linux, Apache, MySQL, and PHP. It is hailed as a golden combination of php development.
1. Install the lamp component in UbuntuSystem-> System Management-> New Software Package Manager, open new software package, edit-> MARK software package by Task Group-> select
Apache, enter, will also prompt to set the password! phpMyAdmin after installation, not in the Apache default path, need to establish a connection, terminal: sudo ln-s/usr/share/phpmyadmin/var/www/html, restart Apache server, browser open:/http Localhost/phpmyadmin, the Sign-in page appears indicating the installation was successful! Enter the password you just set, click ' Execute ' in the bottom right corner to log in! Prompt after login, mcrypt Error! Terminal execution: sudo php5enmod mcry
sudo apt-get install apache2Apache2-vsudo apt-get install php7.0Php7.0-vsudo apt-get install libapache2-mod-php7.0Cat/etc/apache2/mods-enabled/php7.0.loadsudo apt-get install Mysql-serversudo apt-get install Php7.0-mysqlsudo service MySQL restartsudo service apache2 restartsudo vim/var/www/html/phpinfo.phpEcho Phpinfo ();?>http://192.168.88.254/phpinfo.phpThis article is from the "Xnnetblog" blog, make sure to keep this source http://xnnet.blog.51cto.com/12795469/1933608Ubuntu 16.04 Installation
First Download Install Apache2Input: sudo apt-get install apache2After installation, enter: localhost in the browserDisplays the correct installation, as described.Immediately after installation PHP5Input: sudo apt-get install php5Once the installation is complete, install MySQLInput: sudo apt-get install Mysql-serverImmediately after installation phpMyAdminInput: sudo apt-get install phpMyAdminSelect Apache2 and then enter the root password and the database password as promptedThe permissions t
Django, this is not a way to listen to the 8000 port, but rather to access the virtual machine address directly, http://192.168.33.10, because the default 80 port is used, so you do not need to enter a port number.Enter 192.168.33.10 locally to view Apache boot success, like CentOS, 192.168.33.10/test.php View Phpinfo (), related modules installed successfullyhttp://192.168.33.10/phpmyadmin/index.php Login interface is displayed correctly, however prompt mcrypt is not installed correctly, click
Configure the LAMP environment on UbuntuThe configuration of the LAMP environment is divided into three parts: installation, configuration and testing.1. InstallInstall Apachesudo apt-get install apache2After Apache2 is installed, a new www directory/var/www/will be created/Install MySQLSudo apt-get install mysql-server mysql-clientDuring installation, the system prompts you to enter the root user password.
1. Install lamp1. Sudo apt-get install lamp-server^ to forget the symbol at the end (^)If you encounter an error, update the software sourceConfirm the password.2. Install phpMyAdmin1) sudo apt-get install Libapache2-mod-auth-mysql phpMyAdmin2) Select Server3) Set phpMyAdmin passwordEnter two times if you do not set the default is a random password (preferably set to the same password as the install lamp)Th
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.