常规情况下软关机:lxc-stop -n containerNameHere --nokill重启容器:lxc-stop -n containerNameHere -r例如我们要重启rstudio这个容器的话:lxc-stop -n rstudio -r如果无法正常重启,可以尝试硬关闭:lxc-stop -n containerNameHer……Continue reading » Jason 6 years ago (2019-07-26) 1543Views 0Comments0个赞
在Proxmox中使用LXC容器挂载外部NFS的时候,如果源服务器宕机了,那么LXC这边会不断地尝试继续挂载。而这种情况下,是没办法正常的关机的,会卡住,什么都干不了....为了解决这一问题,最好的就是在关机前umount,添加-f参数(force)实测是无效的....因此要添加-l参数(lazy)umount /usr/lib64/R/library……Continue reading » Jason 6 years ago (2019-07-09) 1139Views 0Comments1个赞
转自:http://www.myxzy.com/post-487.html 做笔记防遗失对于LEDE来说,官网只提供IMG文件,不提供ISO文件,Proxmox VE(以下简称PVE)虚拟机来说,安装LEDE还是有点难度的,以下教程会详细介绍PVE如何安装LEDE(新版本也称OpenWrt)。一、环境介绍PVE版本:Proxmox Virtual En……Continue reading » Jason 6 years ago (2019-07-09) 1526Views 1Comments0个赞
今天配置内网的JupyterHub,并用堡垒机做Nginx转发实现外网访问。中间遇到一些问题,最大的一个坑就是Jupyter是使用wss来传递信息的,因此在配置反代的时候要开启持久化配置,否则会一直报错。我的配置参考如下:#PROXY-START/location /{ #expires 0;#注释掉了因为后面加了no-store参数……Continue reading » Jason 6 years ago (2019-06-28) 1418Views 0Comments0个赞
内网ip 172.27.2.1虚拟机网络172.27.2.0/24内网访问示例,如访问ip为172.27.2.101的虚拟机,远程桌面 172.27.2.1:62101vnc 172.27.2.1:62201#!/bin/bash#该shell为linux下创建windows虚拟机,使用linux作为网关时,批量端口映射#vnc端口映射……Continue reading » Jason 6 years ago (2019-05-26) 1331Views 0Comments0个赞
碰到一个客户必须要R3.6....然后没辙,只好给他装一个。顺便记录一下如何安装指定版本的R,要替换其他版本只需要代码中的3.6.0改掉就行了。<code><span class="pln">yum groupinstall "Development Tools" -yyum insta……Continue reading » Jason 6 years ago (2019-05-22) 1798Views 1Comments1个赞
在nodejs安装之前先设置权限:npm config set user 0npm config set unsafe-perm truenpm install顺便写一下GitLab Runner在CentOS7中的安装方法:curl -L https://packages.gitlab.com/install/repositories……Continue reading » Jason 6 years ago (2019-05-21) 1253Views 1Comments0个赞
apt-get install alien -ywget --user=hetzner --password=download http://download.hetzner.de/tools/LSI/tools/MegaCLI/8.07.14_MegaCLI.zipunzip 8.07.14_MegaCLI.zip -d megaclicd m……Continue reading » Jason 6 years ago (2019-05-15) 1242Views 0Comments0个赞
Dell服务器使用omreport查看硬件信息一.命令指南123456789omreport chassis # 显示所有主要组件的常规状态 omreport chassis memory # 显示内存信息omreport chassis t……Continue reading » Jason 6 years ago (2019-05-15) 1589Views 0Comments0个赞
4月22日消息,哔哩哔哩(B站)整个网站后台工程源码泄露,并且“不少用户名密码被硬编码在代码里面,谁都可以用。”在GitHub上以“openbilibili”为用户创建的“go-common”代码库:https://github.com/openbilibili/go-common短短 5 个小时时间内,star 数已经达到 700+。然而该项目并不是……Continue reading » Jason 6 years ago (2019-04-22) 1705Views 1Comments0个赞