Jenkins-1

Jenkins-1 on Ubuntu 18.04 Install Java: sudo apt install default-jre (This is not good, as this will install J) Go to Jenkins.io to download Generic Java Package (jenkins.war) file. java -jar jenkins.war However, Jenkins will not start up correctly because of an incorrect Java version. If you look in /var/log/jenkins/jenkins.log, the following error message will be ... [Read more/更多...]

Enable SSH and VNC Server on Ubuntu 18.04

SSH and VNC Server setup on Ubuntu 18.04 LTS Install SSH SSH by default is not installed after system setup. Follow this link to install it: https://linuxconfig.org/enable-ssh-on-ubuntu-18-04-bionic-beaver-linux. Here I put my steps from that post: In order to enable ssh on Ubuntu Linux, we first need to perform an SSH package installation. Open up terminal and enter ... [Read more/更多...]

Docker-2: Dockerfile And Volume

Dockerfile Create a Dockerfile in one folder with name "Dockerfile" Edit this file with below contents: FROM alpine:latest MAINTAINER Chuantao CMD echo "Hello Docker!" Run this command to build a new docker image locally: docker build -t hello-docker . -t: Name and optionally a tag in the ‘name:tag’ format. So above command will create a docker ... [Read more/更多...]

Docker-1: Installation and basic operations

Docker memo This memo contains the following items: Docker installation from Repository Post operation after docker installation Basic docker operation commands Docker installation from Repository in Ubuntu 18.04 LTS There are several ways to install docker. I followed its official one here: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository Install using the repository Before you install Docker CE for the first ... [Read more/更多...]

Test Latex and Code snippet in wordpress

There is one wp plugin to support latex. Mathjax. \(i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>\)   例如\(\alpha+\beta\geq\frac12\)的输出结果是 \(\alpha+\beta\geq\frac12\) 使用\(...\)输出「行内公式」,例如\(\alpha+\beta\geq\frac12\)的输出结果是:\(\alpha+\beta\geq\frac12\) 使用\[...\]输出「行间公式」,例如\[\alpha+\beta\geq\frac12\]的输出结果则是:\[\alpha+\beta\geq\frac12\] 在公式最后添加「!」可输出公式源代码,如\(\alpha+\beta\geq\frac12!\)将输出:\(\alpha+\beta\geq\frac12\)!