Androidエミュレーター BlueStacks をWindows PC にインストールしました。起動すると、すぐにサインインを求められます。スマホやタブレットなど android 端末のアカウントでサインインします。ゲームの広告が目に眩しいのですが、無料ということで我慢します。そして、なぜか Xperia からサインインしたことになっています。
Google Play はすぐに見つかりますので、termux は簡単にインストールできます。以前、スマホをLINUXサーバーにする にも書いたように openssh を apt でインストールしたうえで、所望のサーバーの秘密鍵ファイルを ~/.ssh ディレクトリにコピーします。
# ~/.bashrc: executed by bash(1) for non-login shells. if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" ;; *) ;; esac # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi
という .bashrc と
alias ssh_server='ssh -i /home/user/.ssh/id_rsa.server -l user 192.168.0.n'
という .bash_aliases を作っておけば便利です。
さて、そのうえで mariadb をインストールしようとしたのですが、mariadb が無いよと言われてしまいました。
うーん、挫けてしまったので今日はここまでにしたいと思います。ちなみに termuxAPI は簡単にインストール可能でした。