安装
下载
使用 rufus 写入U盘
注意选择DD镜像模式,不然U盘启动后找不到安装文件
替换镜像源
1 | # 删除企业源 |
1 | nano /etc/apt/sources.list |
1 | # 建议同时使用国内debian源 |
升级 PVE 工具
1 | rm /etc/apt/sources.list.d/pve-enterprise.list |
下载
使用 rufus 写入U盘
注意选择DD镜像模式,不然U盘启动后找不到安装文件
1 | # 删除企业源 |
1 | nano /etc/apt/sources.list |
1 | # 建议同时使用国内debian源 |
1 | rm /etc/apt/sources.list.d/pve-enterprise.list |
1 | # 使用的镜像为 jenkins/jenkins:lts-alpine |
1 | npm install -g cnpm --registry=https://registry.npm.taobao.org |
1 | npm install hexo-cli -g |
1 | docker commit -a "Bin" -m "add nodejs" urmate_jenkins jenkins/jenkins |
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
1 | rem 语法 |
1 | C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp |
1 | rem 查看目前在运行的 vm |
1 | npm install -g cnpm --registry=https://registry.npm.taobao.org |
1 | npm install --registry=https://registry.npm.taobao.org |
1 | # 打开 .npmrc, 路径 nodejs\node_modules\npm\npmrc,没有的话创建之 |
1 | $Profile |
1 | New-Item -Path $Profile -Type File |
1 | notepad $Profile |
1 | # 测试 Baidu 连接,设置调用别名 trybaidu |
1 | # 以管理员身份打开 PowerShell |
1 | docker exec -it jenkins_container_name bash |
1 | git config --global user.name "Jenkins" |
1 | cd /root/.ssh |
1 | ssh -T git@github.com |
1 | # -a: 修改者 |
©
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
This is the first level of quoting.
This is nested blockquote.
Back to the first level.
This is a header.
- This is the first list item.
- This is the second list item.
Here’s some example code:
return shell_exec("echo $input | $markdown_script"); testtest
Use the printf() function.
There is a literal backtick (`) here.
single underscores
double asterisks