STEPS
-
Click on Help menu
-
Select Enter License
-
Then paste given KEY given at bottom
-
Finally click on Use License
STEPS
Click on Help menu
Select Enter License
Then paste given KEY given at bottom
Finally click on Use License
~/bin 目录(~ 即是家目录)。如果没有:
0. 创建目录:mkdir ~/bin。
1. 编辑 ~/.bashrc,加入 export PATH="$HOME/bin:$PATH"。
2. 退出终端并重新打开以使新的 ~/.bashrc 生效(或者执行 source ~/.bashrc)。~/bin/zjuvpn(不带扩展名,用起来方便),并使用 chmod +x ~/bin/zjuvpn 添加可执行权限。sudo pacman -S xl2tpd。ppp: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.
/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)PasswordAuthentication to yes. This can be changed back to no if ssh keys are setup.sudo service ssh --full-restart| if [ ! -f /usr/bin/gcc-8 ]; then | |
| sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo apt-get install -y gcc-8 g++-8 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 1000 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 1000 | |
| fi | |
| if [ ! -f /usr/bin/gcc-8 ]; then |
| # 采用curl命令行方式 | |
| # 我的用户名 21851075,密码 123456ABC | |
| username=21851075 | |
| password=123456ABC | |
| pass1=$(echo -n $password | md5sum |cut -d ' ' -f1) | |
| pass2=$(echo ${pass1:8:16}) | |
| curl -H "Content-Type: application/x-www-form-urlencoded" \ | |
| -b srun_login=$username%7C$password \ | |
| -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36" \ | |
| -d "username=$username&password=$pass2&drop=0&type=1&n=100" \ |