随笔分类 - linux
摘要:今天在使用scp命令拷贝文件时候发生以下错误 查询后发现需要以下命令即可解决 参考 于是后面开始配置ssh免密登录,参考 其中在拷贝公钥到目标服务器的authorized_keys上时,发现没有这个目录。然后使用命令创建文件,将公钥拷贝进去。 拷贝之后需要将authorized_keys文件更改目录
阅读全文
摘要:安装 brew install gnuplot 官网 http://www.gnuplot.info/ 绘制图形 首先输入:set term dumb 再次输入: 图形的命令,http://gnuplot.sourceforge.net/demo_5.0/simple.html
阅读全文
摘要:http://blog.51cto.com/pizibaidu/1918027 https://blog.csdn.net/GW569453350game/article/details/51911179 https://stackoverflow.com/questions/37331571/ho
阅读全文
摘要:1.mac的话需要先将允许远程登陆打开 设置--共享 2.再使用 ssh 用户名@主机地址登陆下,将ssh的配置保存在 ~/.ssh/known_hosts 下,这个时候,打开这个文件,可以看到刚才登陆的主机配置已经保存在文件里了。这个时候就可以配置slave了 1.linux 也需要使用 ssh
阅读全文
摘要:sudo service jenkins start/stop/restart sudo chkconfig jenkins on 官网链接 https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distribut
阅读全文
摘要:https://my.oschina.net/wii01/blog/1486254
阅读全文
摘要:chmod -R a+x * 赋予可执行权限 (-R 遍历目录,a+x 在已经存在的权限加x权限,可执行权限 * 所有文件)
阅读全文
摘要:对照官网命令即可,但是注意一点 node版本一定不要是最新的!!!!!!!!!!!一定不要是最新的!!!!!!!!!!!!。 否则各种安装报错。我用的是8.12.0 具体命令 或者 先安装cnpm:sudo npm install -g cnpm --registry=https://registr
阅读全文
摘要:http://fpliu-blog.chinacloudsites.cn/it/os/android/sdk/installation/on-centos
阅读全文
摘要:mac 安装指定版本node 查看可安装版本 brew search node 安装指定版本 brew install node@8 环境变量 echo 'export PATH="/usr/local/opt/node@8/bin:$PATH"' >> ~/.bash_profile export
阅读全文
摘要:解决方法 使用update-ca-trust 更新CA证书库 以下转自 https://www.jb51.net/LINUXjishu/287588.html (如有侵权,联系即删) 每一种客户端在处理https的连接时都会使用不同的证书库。IE浏览器和FireFox浏览器都可以在本浏览器的控制面板
阅读全文
摘要:转自 https://blog.csdn.net/zxcvn8866/article/details/77750558 复制文件或目录命令: 复制文件: (1)将本地文件拷贝到远程 scp 文件名用户名@计算机IP或者计算机名称:远程路径 本地192.168.1.8客户端 scp /root/ins
阅读全文
摘要:转载: https://www.cnblogs.com/dragonsuc/p/5512797.html#top mpstat -P ALL 和 sar -P ALL 说明:sar -P ALL > aaa.txt 重定向输出内容到文件 aaa.txt 经常用来监控linux的系统状况,比如cpu、
阅读全文
摘要:1.安装 参考 https://www.cnblogs.com/hafiz/p/6891458.html?utm_source=itdadao&utm_medium=referral 2.新命令 find 文件查找find / -name nginx.conf 3.nginx 配置代理转发 (点击链
阅读全文
摘要:1按照官网步骤 https://redis.io/download 授权, 在客户端 reids 设置密码config set requirepass 123config get * 然后 按 ctr+c 退出./redis-cli -a 123 config get * 4.参数优化 https:
阅读全文
摘要:参考 :https://yq.aliyun.com/articles/38757 1. 远程监控配置 # cd /root/apache-tomcat-8.0.17/bin # vi catalina.sh #找到Execute The Requested Command,在上面添加,添加的位置并没
阅读全文
摘要:参考 https://www.linuxidc.com/Linux/2015-05/117473.htm 1.关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止f
阅读全文
摘要:参考 https://blog.csdn.net/zdy1127/article/details/50659327 vi /etc/gdm/custom.conf 然后在[daemon]下面添加:
阅读全文
摘要:下载 tomcat7 wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.92/bin/apache-tomcat-7.0.92.tar.gz 解压 tar -zxvf apache-tomcat-7.0.92.tar.gz vim /
阅读全文
摘要:环境变量配置:vim /etc/profile 添加以下配置 export JAVA_HOME=/usr/share/jdk1.6.0_14 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA
阅读全文

浙公网安备 33010602011771号