linux资源限制 万能设置 /etc/security/limits.conf * soft core unlimited * hard core unlimited * soft nproc 1000000 * hard nproc 1000000 * soft nofile 1000000 * ...
分类:
系统相关 时间:
2020-07-27 09:50:00
阅读次数:
100
出现这个问题是软件源和系统版本不一致导致的,更换软件源就可以了,可以参考阿里云软件源: https://developer.aliyun.com/mirror/ 可以看到不同的版本的ubuntu对应不同的软件源 然后修改了软件源之后在执行对应的操作就可以了,是不是很神奇呢! ...
分类:
系统相关 时间:
2020-07-27 09:39:00
阅读次数:
244
Ubuntu 20.04 Install Guest Additions for VirtualBox时有报错: This system is currently not set up to build kernel modules.Please install the gcc make perl ...
分类:
系统相关 时间:
2020-07-26 23:00:43
阅读次数:
94
smms不再支持v1接口,可以使用[picgo-plugin-smms-user插件解决这个问题, 以Ubuntu为例,在Typora里面下载的PicGo-Core在~/.config/Typora/picgo里面,将插件clone到该目录下,然后执行npm install picgo-plugin ...
分类:
其他好文 时间:
2020-07-26 19:33:51
阅读次数:
160
一,安装: sudo apt-get install nginx /usr/sbin/目录下是nginx命令所在目录, /etc/nginx/目录下是nginx所有的配置文件,用于配置nginx服务器以及负载均衡等信息 二,查看Nginx进程是否启动: ps -ef|grep nginx 三,启动N ...
分类:
系统相关 时间:
2020-07-26 19:22:03
阅读次数:
81
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
分类:
系统相关 时间:
2020-07-26 15:56:12
阅读次数:
98
一、环境变量相关的配置文件 1)/etc/profile 全局(公有)配置,不管是哪个用户,登录时都会读取该文件。 2)/ect/bashrc Ubuntu没有此文件,与之对应的是/ect/bash.bashrc 它也是全局(公有)的 bash执行时,不管是何种方式,都会读取此文件。 3)~/.pr ...
分类:
其他好文 时间:
2020-07-26 15:54:46
阅读次数:
123
提前项目打包发布,文件传输工具Filezilla,注意是选择sftp协议,将publish文件传到/home文件夹下 第一步 .NetCoreSDK安装 微软官方的文档https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu ...
分类:
Web程序 时间:
2020-07-26 15:26:36
阅读次数:
103
Ubuntu GNOME 桌面不是很稳定经常发生卡死的情况以下几种方法可以在不重启的条件下恢复桌面 Method 1 -X11 restart Alt+F2 按r 会话自动重启 Method 2 -Wayland restart Wayland 是一个新的display协议,Gnome Shell ...
分类:
系统相关 时间:
2020-07-26 15:23:12
阅读次数:
145
1.构建基础镜像,主要做安装和获取注册号: FROM ubuntu:16.04 ADD Nessus-8.11.0-debian6_amd64.deb /tmp/Nessus-8.11.0-debian6_amd64.deb RUN apt-get update -y \ && apt-get in ...
分类:
其他好文 时间:
2020-07-26 01:19:16
阅读次数:
76