1 sudo su -
3 apt-get update
6 apt-get install php5
7 php -v
9 apt-get install nginx
10 apt-get install php5-fpm
13 sudo apt-get install sysv-rc-conf
14 sysv-rc-conf --list
15 sysv-rc-conf nginx on
16 sysv-rc-conf --list
17 sysv-rc-conf php5-fpm on
18 sysv-rc-conf --list
19 sysv-rc-conf apache2 off
20 sysv-rc-conf --list
21 history
Last active
July 3, 2016 21:54
-
-
Save tuki0918/6e64e438418b2ab90f99a5e3934c6ef5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo update-locale LC_CTYPE=en_US.UTF-8 | |
sudo apt-get install sendmail | |
php -r "mail('***[email protected]', 'test', date('Y-m-d H:i:s') . ' メール送信テスト');" | |
'address' => env('MAIL_FROM_ADDRESS', null), | |
'name' => env('MAIL_FROM_NAME', null) | |
php artisan tinker | |
Mail::raw('Test Mail', function($message) { $message->to('[email protected]')->subject('test'); }); | |
dns spf | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
if ($http_x_forwarded_proto != https) { | |
return 301 https://$host$request_uri; | |
} | |
``` |
sudo chown -R www-data:www-data /path/to/your/root/directory
sudo find app/storage -type d -exec chmod 2775 {} \;
sudo find app/storage -type f -exec chmod 0664 {} \;
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment