Mudmood Gallery

Mudmood Gallery

Not only is this page a tunes' list, but also a gallery to match music with vivid artistic photos or paitings. Just come up with an idea, and this project (if could be called so) is still in process. List kept updating. Every item comes with a link to the source of the tune and a photo or paiting from Unsplash, Pexels or others, used under …

Continue Reading >>

NGINX 开放跨站请求

在Twic lab中新添加了一个CDN项目T HREF,将常见的字体、前端框架等静态文件统一放在里面,便于引用。 然而在实际应用时,发现能够直接访问文件,能够在同一域下的其他文件中调用,却不能够在其他域中调用。 解决方法: 在CDN项目的NGINX配置文件中添加响应头: add_header Access-Control-Allow-Origin *; 以开放跨站请求,即可解决问题。

Continue Reading >>

Ubuntu 16.04 升级至 17.10

虽然部分VPS商家如Vultr等在部署时均提供Ubuntu 17.10版本,大多数的提供商(至少我遇到的两三家)的Ubuntu版本都还是在16.10及以下。为了方便使用,当然想把我的所有VPS都弄成同一个操作系统统一版本;既然决定使用Ubuntu 17.10,那么剩下的如何更新呢? 若是Ubuntu17.04,只需 " apt update " 后执行 " do-release-upgrade " 。但是对于以下的版本 (<= 16.10) ,似乎需要折腾一会儿。 更新已安装包 还是照常, apt update 如果有更新,就 apt upgrade 安装并配置更新管理 apt dist-upgrade apt install update-manager-core 安装好后打开 " …

Continue Reading >>

Using Samba to share files between Linux and Windows

Using Samba to share files between Linux and Windows

Notice: This article is only available in Chinese. :( 前面已经介绍了家庭共享服务器的搭建,简单介绍了ftp服务器的安装配置与使用。虽然已经可以满足大部分的使用需求,但是有时候还是不太方便。 现在家中的这台服务器整天地跑着,它不仅用来存放视频和图片,也用来存放我的文件,例如代码。有时会在手机上写,有时也会在笔记本上写。若每一台都配置git直接传到gitlab的话当然太过于麻烦,而在手机或笔记本上写完再用ftp传到服务器上似乎不太方便,有时也会忘记。能不能通过什么办法,实现在任意客户端上写后立刻存盘至服务器,像是直接在本地编辑?挂载似乎很好地解决了这个问题。 这里我们使用Samba来实现工作组内共享,并在Windows上进行远程硬盘的挂载。 …

Continue Reading >>

Brief guide to install Nginx, PHP, Mysql on Ubuntu 17

Brief guide to install Nginx, PHP, Mysql on Ubuntu 17

Introductions Nginx is a light Web / Reverse Proxy / Mail Proxy server . PHP is a popular server-side scripting language and quite a few applications such as blog , forum applications are written in php . MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. Preparations Ubuntu …

Continue Reading >>