欢迎来到 AI 中文社区(简称 AI 中文社),这里是学习交流 AI 人工智能技术的中文社区。 为了更好的体验,本站推荐使用 Chrome 浏览器。
全部教程·
服务端编程·
Ubuntu
[目录]
·
Ubuntu 安装Laravel
Ubuntu 软件安装
Ubuntu 安装Java
Ubuntu 安装PHP7
Ubuntu 安装Python
Ubuntu 安装Ruby
Ubuntu 安装Swift
Ubuntu安装MySQL
Ubuntu 安装MariaDB
Ubuntu 安装MongoDB
Ubuntu 安装CouchDB
Ubuntu 安装Cassandra
Ubuntu 安装Web服务
Ubuntu 安装Nginx
Ubuntu 运行GlassFish
Ubuntu 安装LAMP
Ubuntu 安装WordPress
Ubuntu 安装Node.js
Ubuntu 安装Drupal
Ubuntu 安装Magento
Ubuntu 安装CodeIgniter
Ubuntu 安装Laravel
Ubuntu 安装CakePHP
Ubuntu 安装Yii
Ubuntu 安装Zend
Ubuntu 安装PhpMyAdmin
Ubuntu 安装Composer
Ubuntu 安装NetBeans
Ubuntu 安装Eclipse
Ubuntu 安装Chrome
Ubuntu 安装VIM
Ubuntu 安装IntelliJ
Ubuntu 安装Sublime
Ubuntu 安装OpenOffice
Ubuntu 安装Wine
Ubuntu 安装Notepad++
Ubuntu 安装Notepadqq
Ubuntu 安装Bluefish
Ubuntu 安装Atom
Ubuntu 安装PyCharm
Ubuntu 压缩和解压
Ubuntu 安装VLC
Ubuntu 安装GIMP
Ubuntu 软件安装
Ubuntu 安装Java
Ubuntu 安装PHP7
Ubuntu 安装Python
Ubuntu 安装Ruby
Ubuntu 安装Swift
Ubuntu安装MySQL
Ubuntu 安装MariaDB
Ubuntu 安装MongoDB
Ubuntu 安装CouchDB
Ubuntu 安装Cassandra
Ubuntu 安装Web服务
Ubuntu 安装Nginx
Ubuntu 运行GlassFish
Ubuntu 安装LAMP
Ubuntu 安装WordPress
Ubuntu 安装Node.js
Ubuntu 安装Drupal
Ubuntu 安装Magento
Ubuntu 安装CodeIgniter
Ubuntu 安装Laravel
Ubuntu 安装CakePHP
Ubuntu 安装Yii
Ubuntu 安装Zend
Ubuntu 安装PhpMyAdmin
Ubuntu 安装Composer
Ubuntu 安装NetBeans
Ubuntu 安装Eclipse
Ubuntu 安装Chrome
Ubuntu 安装VIM
Ubuntu 安装IntelliJ
Ubuntu 安装Sublime
Ubuntu 安装OpenOffice
Ubuntu 安装Wine
Ubuntu 安装Notepad++
Ubuntu 安装Notepadqq
Ubuntu 安装Bluefish
Ubuntu 安装Atom
Ubuntu 安装PyCharm
Ubuntu 压缩和解压
Ubuntu 安装VLC
Ubuntu 安装GIMP
Ubuntu 安装Laravel
laravel 是一个基于 PHP 的框架。它用于创建 Web 应用程序。它基于MVC软件架构模式。我们可以跨平台运行。在这里,我们将它安装在 Ubuntu 系统上。整个过程包括以下步骤。
先决条件
- Ubuntu
- LAMP(Linux Apache MySQL PHP)
- PHP >= 7.0.0
- OpenSSL PHP 扩展
- PDO PHP 扩展
- Mbstring PHP 扩展
- Tokenizer PHP 扩展
- XML PHP 扩展
- 以 root 用户身份登录终端
安装 Laravel
在终端输入以下命令以查看 Composer 已全局安装。
$ composer

$ composer global require "laravel/installer"
在安装之前,请确保我们已满足所有先决条件。现在,使用以下命令安装 Laravel 安装程序。
$ composer global require "laravel/installer"

创建应用程序
用于新建Laravel 应用程序。
$ laravel new MyLaravel

现在将目录更改为创建的应用程序 MyLaravel .
$ cd MyLaravel
laravel 提供了自己的开发服务器来测试应用程序。我们可以使用以下命令运行此服务器。
$ php artisan serve

下一章:Ubuntu 安装CakePHP
CakePHP 是一个基于 PHP 的开源 Web 框架。它用于创建动态、高性能的 Web 应用程序。它是跨平台的,于 2005 年首次发布。在本教程中,我们将在 Ubuntu 操作系统上安装 CakePH ...
AI 中文社