Alex's Blog

  • Home

  • Tags

  • Categories

  • Archives

Nginx使用HTTPS反向代理laravel的HTTP应用

Posted on 2019-06-18 | Edited on 2019-06-19 | In study | Comments:

这几天配置Nginx服务器的反向代理,使用HTTPS代理Laravel的HTTP应用出现了一点小问题,经过一番研究,特地记录下来。

Read more »

(转) 玩转SSH端口转发

Posted on 2018-11-23 | In study | Comments:

SSH有三种端口转发模式,本地端口转发(Local Port Forwarding),远程端口转发(Remote Port Forwarding)以及动态端口转发(Dynamic Port Forwarding)。对于本地/远程端口转发,两者的方向恰好相反。动态端口转发则可以用于科学上网。

SSH端口转发也被称作SSH隧道(SSH Tunnel),因为它们都是通过SSH登陆之后,在SSH客户端与SSH服务端之间建立了一个隧道,从而进行通信。SSH隧道是非常安全的,因为SSH是通过加密传输数据的(SSH全称为Secure Shell)。

在本文所有示例中,本地主机A1为SSH客户端,远程云主机B1为SSH服务端。从A1主机通过SSH登陆B1主机,指定不同的端口转发选项(-L、-R和-D),即可在A1与B1之间建立SSH隧道,从而进行不同的端口转发。

Read more »

Setup LNMP on Ubuntu 18.04

Posted on 2018-11-22 | Edited on 2019-06-18 | In study | Comments:

Environment

name version remark
OS Ubuntu 18.04 Bionic Beaver
Nginx 1.14.0
PHP 7.2
Mysql 8.0 Client
Read more »

(转)Pull Request的正确打开方式(如何在GitHub上贡献开源项目)

Posted on 2017-05-17 | In study | Comments:

GitHub的官方帮助如下:

Fork A Repo: https://help.github.com/articles/fork-a-repo
Using Pull Requests: https://help.github.com/articles/using-pull-requests
Merging a pull request: https://help.github.com/articles/merging-a-pull-request
Closing a pull request: https://help.github.com/articles/closing-a-pull-request
Tidying up Pull Requests: https://help.github.com/articles/tidying-up-pull-requests

发现这个官方文档写得比较简单,并没有提到开源项目协作方式的一些必要的trick(比如建立topic branch),还有PullRequest的运作细节也没有提到。写个简单的总结补充一下。

Read more »

Setup Supervisor and Python on Centos

Posted on 2016-10-24 | In study | Comments:

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

Official introduction: http://supervisord.org/introduction.html

Read more »

Setup LAMP on CentOS 7.2

Posted on 2016-08-18 | Edited on 2016-10-24 | In study | Comments:

Environment

name version remark
OS CentOS 7.2
repo Remi
Apache 2.4
PHP 7.0 repo: remi-php70
Mysql 5.6
Java JDK8
Read more »

第一次DIY组装机 (ITX 小主机)

Posted on 2015-09-15 | Edited on 2016-10-24 | In life | Comments:

其实一个月以前就应该写了, 但是因为懒+拖延症..

随着玩心日益加重, 并且一个沉睡多年的愿望+爱好的觉醒, 自己动手组装一台台式机的想法终于爆发了! 中毒越来越深..越来越深…整天混迹各大论坛硬件版, 如痴如醉…

在中关村硬件DIY论坛, 艾泽拉斯国家地理论坛PC软硬件版 以及某宝某东混了几天后, 终于选好配置, 说通家里领导(其实是她看我太可怜了, 被我软磨硬泡太久, 虽然一直没理解但是默许了..), 着手解毒了!

因为租的房间实在太小, 只有一个 73*50 的小书桌, 所以决定组装的是一个ITX规格的小主机, 放在桌面上 装逼 美观好看, 而且以后搬家带着也方便, 性能也达到我需求了.

Read more »
Alex

Alex

奋斗不息, 热爱生活
7 posts
2 categories
8 tags
GitHub
© 2016 – 2019 Alex
Powered by Hexo v3.9.0
|
Theme – NexT.Pisces v7.1.2
|