171 月 2020 by Bryce 2 Comments GCP 架設VM中的samba server防火牆 Server, vps GCP上可以透過Compute Engine建立VM執行個體,但因為安全考量會預設不開啟任何Port,因此如果需要安裝samba server這類的東西,除了VM上本身安裝好外也需要另開啟PORT。 (閱讀全文...) Read More
093 月 2018 by Bryce No Comments Ubuntu 16.04 LTS 搭建Apache, MariaDB PHP7 (LAMP)、phpMyAdmin vps Ubuntu 16.04 LTS Xenial Xerus官方自帶PHP7,所以我們就不需要再藉助第三方PPA來安裝PHP7了。這篇介紹Ubuntu 16.04 LTS如何安裝Apache, MariaDB和PHP7及phpMyAdmin。 (閱讀全文...) Read More
206 月 2017 by Bryce No Comments docker-compose 安裝 docker 承上篇,安裝完Docker後(需要 Docker Engine 1.7.1+),需要再安裝Compose,Compose 項目是Docker 官方的開源項目,負責實現對Docker 容器集群的快速編排。從功能上看,跟OpenStack 中的Heat 十分類似。... Read More
126 月 2017 by Bryce No Comments Ubuntu 14.04 上安裝 docker + composer + phpMyAdmin 並執行 Laravel 專案 docker Docker是近年在開發部署上很推薦的一套虛擬化技術,它透過 container 的方式將應用程式與相關所需的執行環境包起來,讓每個應用程式共用系統核心(kernel),但還是都有各自獨立的根目錄、檔案系統、網路環境、行程管理等,對於程式而言就好像在一般的獨立... Read More
038 月 2016 by Bryce No Comments npm install bower (windows) Server 出現: npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue (閱讀全文...) Read More
188 月 2015 by Bryce No Comments CENTOS 安裝 Samba 後無法新增使用者 – failed to add entry for user vps 在centos上安裝完samba後,使用新增user這個指令卻一直無法成功 新增user指令為: [crayon-60099a379e6fb613730757/] 系統一直回應 failed to add entry for user userID,如下 我... Read More
087 月 2015 by Bryce No Comments Samba 重新啟動與重讀設定檔 (CentOS 6) vps 啟動: [crayon-60099a379e8b9479267068/] 停止: [crayon-60099a379e8c2660919299/] 重開: [crayon-60099a379e8c5890349419/] 重讀設定檔: [crayon-6009... Read More
037 月 2015 by Bryce No Comments CentOS 安裝 Composer vps 日本新的VPS提供商CONOHA,其中先的LAMP app是用CentOS架的,想要把Laravel放到上面前,要先安裝好Composer,以下是快速在CentOS上裝好Composer (閱讀全文...) Read More
1812 月 2014 by Bryce No Comments 解決Ubuntu下的PHP安裝cURL套件 “The cURL extension is not loaded.” vps 最近在幫忙備份wordpress文件到dropbox上,突然現在目前架在digital ocean上的主機沒有安裝過cURL,最看看到的提示就像這樣: “The cURL extension is not loaded.” (閱讀全文...) Read More
126 月 2014 by Bryce No Comments DigitalOcean Promo Code (2014) 優惠碼 vps Digitalocean是一家新的VPS主機商,主打SSD硬碟VPS主機,Digitalocean的背景是非常多的美國大財團在經營,所以價位非常的低,Digitalocean現在擁有5個數據中心,分別是紐約1、紐約2、阿姆斯特丹1、阿姆斯特丹2跟舊金山、新加坡... Read More