• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧


建站知识 Liam 1年前 (2019-07-10) 937次浏览 21个评论 扫描二维码






所需环境:PHP 7.1+MysqlNginx


#CentOS系统 wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh #Ubuntu系统 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh #Debian系统 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh 

安装完成后,进入面板,点击左侧软件商店,然后安装PHP 7.1+MysqlNginx


#如果Fileinfo拓展安装失败,就是内存太小,我们可以添加swap,不适用于ovz 1、脚本添加,脚本地址:https://www.moerats.com/archives/722/。 2、面板添加,找到左侧软件管理-系统工具-安装Linux工具箱,然后进入工具箱添加。 



composer config -g repo.packagist composer https://mirrors.huaweicloud.com/repository/php rm -rf composer.lock 


#拉取代码 git clone https://github.com/hui-ho/WebStack-Laravel.git #安装依赖 cd WebStack-Laravel composer install #编辑环变量 cp .env.example .env nano .env


APP_NAME=WebStack APP_ENV=local(这里如果正式运行,请修改为:production) APP_KEY= APP_DEBUG=true(如果安装没问题,建议改为false) APP_LOG_LEVEL=debug APP_URL=http://localhost(这里修改你自己的域名地址)  #数据库信息 DB_CONNECTION=mysql DB_HOST= DB_PORT=3306 DB_DATABASE=moerats DB_USERNAME=moerats DB_PASSWORD=moerats 


#生成KEY php artisan key:generate   #迁移数据 php artisan migrate:refresh --seed 

然后新建Systemd配置文件,只适用于CentOS 7Debian 8+Ubuntu 16+等。

#修改下WebStack-Laravel源码路径即可,然后一起复制到SSH运行 cat > /etc/systemd/system/wl.service <<EOF [Unit] Description=WebStack-Laravel After=network.target Wants=network.target  [Service] Type=simple PIDFile=/var/run/wl.pid WorkingDirectory=/root/WebStack-Laravel ExecStart=$(command -v php) artisan serve RestartPreventExitStatus=23 Restart=always  [Install] WantedBy=multi-user.target EOF 


systemctl start wl systemctl enable wl 


nohup php artisan serve & 


点击左侧网站,添加站点,然后再点击添加好了的域名名称,这时候就进入了站点配置,点击反向代理,目标URL填入http://,再启用反向代理,然后点击SSL,申请免费的Let's Encrypt证书,并强制HTTPS


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
喜欢 (1)
表情 贴图 加粗 删除线 居中 斜体 签到


  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. Just want to say your article is as surprising. The clearness in your put up is just cool and that i could suppose you're a professional in this subject. Well together with your permission allow me to grasp your RSS feed to keep up to date with approaching post. Thank you 1,000,000 and please keep up the enjoyable work.
    web hosting reviews2020-09-01 02:17 回复 Mac OS X | Firefox浏览器 61.0
  2. You're so interesting! I do not think I've read through anything like that before. So wonderful to find somebody with a few genuine thoughts on this subject. Seriously.. thank you for starting this up. This site is one thing that is required on the web, someone with a little originality!
    website hosting services2020-08-31 21:03 回复 Mac OS X | Chrome 67.0.3396.79
  3. I am not sure where you are getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic info I was looking for this info for my mission.
    black mass2020-08-31 05:46 回复 Mac OS X | Chrome 66.0.3359.181
  4. This is the right web site for anyone who really wants to find out about this topic. You understand a whole lot its almost tough to argue with you (not that I personally will need to…HaHa). You certainly put a fresh spin on a topic that's been discussed for many years. Excellent stuff, just great!
    black mass2020-08-28 22:47 回复 Mac OS X | Chrome 56.0.2986.42
  5. Fantastic website. Plenty of useful information here. I am sending it to a few friends ans additionally sharing in delicious. And obviously, thank you in your sweat!
    cheap flights2020-08-28 11:49 回复 Linux | 未知浏览器
  6. I think what you posted made a bunch of sense. But, think on this, suppose you composed a catchier post title? I am not saying your content is not good, however what if you added a post title that grabbed people's attention? I mean 一款开源,美观,带后台管理的网址导航工具:WebStack-Laravel db1024 db1024 is kinda boring. You ought to peek at Yahoo's front page and note how they write news titles to get people interested. You might add a video or a related picture or two to grab people interested about everything've written. In my opinion, it would bring your blog a little livelier. 34pIoq5 cheap flights
    cheap flights2020-08-27 01:25 回复 Mac OS X | Firefox浏览器 60.0
  7. Just want to say your article is as surprising. The clarity on your post is simply nice and i could suppose you're knowledgeable on this subject. Well with your permission let me to take hold of your feed to keep updated with drawing close post. Thank you one million and please carry on the rewarding work.
    website hosting companies2020-08-25 18:49 回复 Mac OS X | Chrome 66.0.3359.139
  8. What's up mates, how is everything, and what you want to say regarding this piece of writing, in my view its in fact awesome designed for me. cheap flights 3gqLYTc
    cheap flights2020-08-25 11:01 回复 Mac OS X | Firefox浏览器 56.0.4
  9. Right now it looks like Movable Type is the top blogging platform available right now. (from what I've read) Is that what you're using on your blog? cheap flights 2CSYEon
    cheap flights2020-08-25 07:41 回复 Linux | Chrome 65.0.3325.181
  10. For hottest news you have to pay a quick visit internet and on the web I found this web page as a best web site for hottest updates.
    hosting services2020-08-07 17:52 回复 Linux | Firefox浏览器 60.0.2
  11. I used to be able to find good information from your content.
    web hosting services2020-08-06 00:14 回复 Linux | Chrome 67.0.3396.79
  12. If some one desires expert view on the topic of blogging and site-building then i recommend him/her to pay a quick visit this blog, Keep up the pleasant job.
    gotogate2020-07-31 10:36 回复 Linux | Firefox浏览器 52.9
  13. Way cool! Some extremely valid points! I appreciate you penning this article and the rest of the website is very good. adreamoftrains best hosting
    adreamoftrains best web hosting company2020-07-30 19:01 回复 未知操作系统 | Chrome 40.0.2214.89
  14. Fantastic site. A lot of useful information here. I am sending it to several friends ans additionally sharing in delicious. And of course, thanks on your effort!
    scyscanner com2020-07-29 16:41 回复 Linux | Chrome 61.0.3116.0
  15. Amazing things here. I am very satisfied to see your post. Thank you so much and I am having a look forward to touch you. Will you please drop me a mail?
    southwest airlines cheap flights2020-07-27 20:10 回复 Linux | Chrome 66.0.3359.117
  16. Hey! I'm at work browsing your blog from my new apple iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the great work!
    best hosting2020-07-27 05:33 回复 Linux | Chrome 51.0.2712.8
  17. Great post. I was checking continuously this blog and I'm impressed! Extremely helpful information specifically the last part :) I care for such info much. I was looking for this particular info for a long time. Thank you and good luck.
    best web hosting2020-07-18 13:28 回复 Linux | Chrome 66.0.3349.0
  18. It's awesome in favor of me to have a web site, which is valuable in support of my experience. thanks admin
    best web hosting company2020-07-16 21:54 回复 Linux | Firefox浏览器 61.0
  19. You actually make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand. It seems too complicated and very broad for me. I'm looking forward for your next post, I will try to get the hang of it!
    cbd oil that works 20202020-06-27 20:21 回复 Linux | Chrome 66.0.3359.139
  20. Greetings! Very useful advice in this particular post! It's the little changes that produce the most important changes. Thanks a lot for sharing!
    tinyurl.com2020-06-26 11:21 回复 Windows 8.1 | Chrome 56.0.2924.90
  21. Very good information. Lucky me I found your website by accident (stumbleupon). I've book marked it for later!
    g rsacwgxy2020-06-22 09:48 回复 Linux | Chrome 66.0.3359.117