All of the following information is based on go version go1.8.3 darwin/amd64
.
(Bold = supported by go
out of the box, ie. without the help of a C compiler, etc.)
android
darwin
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
## Core Principles | |
1. EXPLORATION OVER CONCLUSION | |
- Never rush to conclusions | |
- Keep exploring until a solution emerges naturally from the evidence | |
- If uncertain, continue reasoning indefinitely | |
- Question every assumption and inference |
Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.
sudo apt remove openssh-server
sudo apt install openssh-server
/etc/ssh/sshd_config
file by running the command sudo vi /etc/ssh/sshd_config
and do the following
Port
to 2222 (or any other port above 1000)UsePrivilegeSeparation
to noEntware-ng-3x is a modern alternative to Optware.
For those unfamiliar with Optware: it's a software repository that offers various software programs that can be installed on your router. They allow you to add new functionality to your router (provided you have the know-how to properly configure them).
Entware-ng-3x system library is specially modified (patched) so that standard linux files that are normally located in /etc
directory are now located in /opt/etc/
directory. To simplify things let's consider /etc/passwd
file. On Asuswrt-merlin it normally looks something like:
admin:x:0:0:admin:/root:/bin/sh
nas:x:100:100:nas:/dev/null:/dev/null
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
git clone https://github.com/shadowsocks/shadowsocks-libev.git | |
cd shadowsocks-libev | |
sudo apt-get install build-essential autoconf libtool libssl-dev | |
./configure && make | |
make install | |
mkdir /etc/shadowsocks-libev | |
cp ./debian/shadowsocks-libev.init /etc/init.d/shadowsocks-libev | |
cp ./debian/shadowsocks-libev.default /etc/defaut/shadowsocks-libev | |
cp ./debian/config.json /etc/shadowsocks-libev | |
systemctl enable shadowsocks-libev |
GitLab is a self hosted Git management software based on Ruby on Rails.
It is free software and that is always a plus!
This tutorial is heavily based on the excellent post at rosehosting.com and collects information I found in documentation and on the internet generally.
Note: We'll work in a root console using Bash
If you don't have an editor of choice install vim (it's great!)