Linux
carden_coder
专注于Android与鸿蒙开发的技术探索者,致力于多设备协同与高性能应用设计。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用xshell向服务器上传大文件(大于4G)的方法
1.百度搜索Everything,进入官网下载。这个程序体量非常小,可以放心下载。 2.按照步骤安装,图标是这样的 3.打开,在任务栏右下角找到它 4.右键单击选项,选中HTTP服务器 4.1,http服务器在工具-选项下,绑定到接口可以不填 5.勾选启用服务器,设置HTTP服务器用户名以及HTTP服务器密码。设置好后点击确定。 6.win+R打开运行,键入cmd打开命令窗口,键入ipconfig查看自己的以太网IPv4地址。 7.打开浏览器,在地址栏输入自原创 2021-09-28 11:16:15 · 2464 阅读 · 1 评论 -
nginx 如何测试配置文件是否正确
nginx 测试配置文件是否正确 1.不指定文件 直接使用nginx -t即可,该指令会直接指向默认的nginx配置文件,如下图 2、指定配置文件 nginx -tc /usr/local/nginx/conf/nginx.conf 如图:原创 2021-04-23 10:58:47 · 2401 阅读 · 0 评论 -
failed to execute /bin/bash: Resource temporarily unavailable(Linux系统root无法通过su切换到某个普通用户)
[root@127.0.0.1 config]# su - mform Last login: Mon Apr 16 14:08:05 CST 2018 on pts/4 su: failed to execute /bin/bash: Resource temporarily unavailable [root@127.0.0.1 config]# [root@127.0.0.1 config]# [root@127.0.0.1 config]# egrep -v “$|#” /etc/security/原创 2021-02-17 15:38:21 · 929 阅读 · 0 评论 -
linux下安装nginx,亲测生效
在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、openssl-devel。 Linux下检查是否安装过某软件包:http://www.cnblogs.com/xxoome/p/5866553.html 安装命令: yum -y install gcc pcre-devel zlib-devel openssl openssl-devel nginx下载地址:https://nginx.org/download/ 下载“nginx-1.9.9.tar.原创 2020-08-13 14:25:18 · 464 阅读 · 0 评论 -
Linux下修改mysql最大连接数
1、mysql -u root -p -P 端口号 -hlocalhost登录mysql 2、查看最大连接数:show variables like 'max_connections'; 3、查看已经使用的连接数:show global status like 'Max_used_connections'; 设置最大连接数:set GLOBAL max_connections=512; ...原创 2020-07-16 15:14:41 · 375 阅读 · 0 评论 -
Linux下启动tomcat报java.lang.OutOfMemoryError: PermGen space,解决方案
一、错误信息 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invo...原创 2020-07-15 17:24:00 · 527 阅读 · 0 评论 -
Linux下安装memcahe,亲测生效
首先需要安装libevent: 1、下载 wget -O libevent-2.0.21-stable.tar.gz https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz 2、解压 tar zxvf libevent-2.0.21-stable.tar.gz 3、配置安装路径 cd libev...原创 2019-07-11 16:30:15 · 402 阅读 · 0 评论
分享