linux
xyw10000
这个作者很懒,什么都没留下…
展开
-
xshell 跳板机配置
由于权限问题不能直连主服务器,必须从跳板机执行命令。每次都需要手动输入感觉很不爽,今天偶然配置了下。原来是可以实现的,现记录下。一般执行ssh 用户名@跳板机ip -p 端口 再输入密码 可以把命令配置xshell 自动执行原创 2016-08-11 14:58:08 · 4799 阅读 · 0 评论 -
linux tomcat 8080访问不了
新加的测试服务器。启动tomcat正常 外部就是访问不了,查了资料,开放端口还需配置 记录下修改记录 打开文件 /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommen原创 2015-08-21 18:39:18 · 4879 阅读 · 0 评论 -
CentOS 搭建strom 遇到的问题
省略jdk安装安装zeromqcd zeromq-2.1.7 ./configure #出现错误:configure: error: Unable to find a working C++ compiler #需要安装g++编译器执行 sudo yum install gcc-c++#出现错误:configure: error: cannot link with -luuid, install u原创 2016-08-13 12:28:19 · 637 阅读 · 0 评论 -
openresty centos下开发环境安装
安装依赖的软件包 yum install readline-devel pcre-devel openssl-devel gcc 安装openresty `– 1. 下载openresty源码: http://openresty.org/cn/download.html $ wget https://openresty.org/download/openresty-1.9.7.4.tar.gz –转载 2017-08-29 15:37:36 · 414 阅读 · 0 评论 -
linux 开放端口
打开文件 /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0原创 2015-09-07 19:14:08 · 1831 阅读 · 0 评论 -
在Centos 6.6环境使用系统自带的internal-sftp搭建SFTP服务器
在Centos 6.6环境使用系统自带的internal-sftp搭建SFTP服务器。 打开命令终端窗口,按以下步骤操作。 0、查看openssh的版本ssh -V 使用ssh -V 命令来查看openssh的版本,版本必须大于4.8p1,低于的这个版本需要升级。1、创建sftp组 groupadd sftp 2、创建一个sftp用户,用户名为mysftp,密码为mysftp 修改用户密码和修改Li转载 2017-09-02 10:54:48 · 677 阅读 · 0 评论 -
ffmpeg 安装
windows下: 1.首先需要FFmpeg和mencoder的工具。一共五个文件,[这里写链接内容](https://page69.ctfile.com/fs/Xso188532318),将他解压放在你的D盘FFmpeg文件夹下。 linux下: 依次执行下面的指令1.下载yasm-1.3.0.tar.gz这个版本: 1 yasm是一个完全重写的NASM汇编。目前,它支持x8原创 2017-10-24 13:54:43 · 663 阅读 · 0 评论 -
xshell 隧道 连接mysql
项目原因,不能直接连接mysql。只能通过跳板机,从跳板机用ssh过去很慢,数据库卡的要死。 多亏了一同事知道利用xshell 隧道 连接mysql,瞬间逼格上来了。废话不多说,直接上图。 1 配置好跳板机 2设置隧道 3 本地mysql工具连接127.0.0.1 39306 就可以访问指定mysql主机了,前提xshell 界面要打开哦原创 2017-12-02 20:08:19 · 5979 阅读 · 3 评论 -
linux 常用命令
ulimit -a 用来显示当前的各种用户进程限制 Linux对于每个用户,系统限制其最大进程数,为提高性能,可以根据设备资源情况, 设置个Linux用户的最大进程数,一些需要设置为无限制: 数据段长度:ulimit -d unlimited 最大内存大小:ulimit -m unlimited 堆栈大小:ulimit -s unlimited 拷贝文件 scp scp runner-dmp-1...原创 2016-08-12 14:32:48 · 401 阅读 · 0 评论