Jekyll on Raspberry Pi

Jekyll is a blog aware static website generator written in Ruby that converts Markdown files into static HTML files.
Jekyll is available as a Ruby gem that installs with it’s dependencies.

Update first
$sudo apt-get update
$sudo apt-get install tree
$apt-cache search rubygems
$sudo apt-get install python3-picamera
$sudo apt-get install python3-pip
$pip3 install unicornhat

Install Jekyll
$sudo apt-get install rubygems
$sudo gem install jekyll

$mkdir jeyllsite
$cd jeyllsite
$jekyll new Site
$jekyll serve

http://pi-ip:4000

如何清除Hao.360.cn病毒

安装一些免费下载软件的时候,可能会感染Hao.360.cn病毒

主要危害,劫持浏览器,主页改为百度或hao.360.cn,修改搜索引擎,使不能使用bing和google

第一步,用adwcleaner清除一部分坏东西,浏览器重定向器,即主页劫持
folder
files

第二步,用Junkware Removal Tool清除被360修改的浏览器文件(部分插件)
此软件清除的病毒主要有迅雷,FREEMAKEVIDEODOWNLOAD和baidu等

第三步,清除各种链接,Desktop, Taskbar or Start Menu Shortcut

第四步,从Anti-Malware Free清除Hao.360.cn病毒
malware
malware-2
第五步,或尝试HitmanPro

第六步,在浏览器内清除hao.360.cn

可以通过重设浏览器实现
https://malwaretips.com/blogs/hao-360-cn-removal/

Use Samba & LDAP Or NFS to build personal cloud

In an intranet, network clients have several options, such as AFP, NFS and SMB/CIFS, to connect to their file server. But for the best performance, and 100% compatibility, the native client file sharing protocol is the right choice.AFP is clearly superior to SMB or NFS for Mac OS 8.1-OS X 10.8 clients.SMB/CIFS is the native Windows network file sharing protocol is the preferred protocol for Windows clients.
A Samba server helps a Windows machine use a remotely hosted Linux filesystem to be used locally.
Install  OpenLDAP Server.  LDAP is good for anything that involves a large number of access requests to a mostly-read, attribute-based (name:value) backend. Examples include an address book, a list of email addresses, and a mail server’s configuration.
samba and smbldap-tools
The Linux Samba-OpenLDAP Howto
How to install ownCloud in Ubuntu, ownCloud is not running a separate daemon, but is just a php web application, forwarding the ports necessary for webserver access is enough.

iPhone/iPad can use LDAP accounts

Mount an NFS share on Android,and Using NFS to Share Data Between UNIX and Mac OS X.

Build My Own Firewall and Router

Most cheapo routers run Linux and use iptables as the firewall.
If the router is controlled by the telecom provider, I wouldn’t trust it.

So I am planning to build my own visualized firewall and route

Hardware:
MINI-ITX/MATX Case with 250W power supplier
Rsrock ITX-J1900B Baytray Board
2 ports PCIe Gigabyte network card
8G DRAM
64GB SSD

I’d like to use a VM or contaiuner as router. Check this reference.

–to becomtinued