Linux command
larasail 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Set up
larasail setup
Example
larasail setup [php71]
Add
larasail host [domain] [path/to/site_directory]
Example
larasail pass
Example
larasail mysqlpass
说明
larasail is a server provisioning tool for deploying Laravel applications on Digital Ocean servers. It automates the installation of PHP, Nginx, MySQL, Composer, and other Laravel dependencies. The tool simplifies the process of setting up a production Laravel environment, handling web server configuration, SSL certificates, and database setup.
参数
- setup _php_version_
- Set up server with Laravel dependencies
- host _domain_ _directory_
- Add a new Laravel site
- pass
- Display the Larasail user password
- mysqlpass
- Display the MySQL password
FAQ
What is the larasail command used for?
larasail is a server provisioning tool for deploying Laravel applications on Digital Ocean servers. It automates the installation of PHP, Nginx, MySQL, Composer, and other Laravel dependencies. The tool simplifies the process of setting up a production Laravel environment, handling web server configuration, SSL certificates, and database setup.
How do I run a basic larasail example?
Run `larasail setup` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does setup _php_version_ do in larasail?
Set up server with Laravel dependencies