活到老学到老  

记录遇到问题的点点滴滴。

0

CentOS系列:yum install lm_sensors sensors-detect sensors  Ubuntu系列:apt-get install lm-sensors sensors-detect service kmod start sensors 注意:这些命令执行的过程中,需要你 YES/NO/SELECT,直接一路...

6年前发布  · 1034 次阅读
  sensors  cput 
0

The most recent release from the LTS series: http://openvswitch.org/releases/openvswitch-2.5.2.tar.gzInstructions:As the root user let’s install some packages:yum -y inst...

6年前发布  · 1181 次阅读
0

步骤一 安装privoxyyum -y install privoxy步骤二 修改配置文件配置文件位置:/etc/privoxy/config可以把配置文件换成下面的模版。listen-address 127.0.0.1:1088 toggle 0 enable-remote-toggle 0 enable-remote-http-t...

6年前发布  · 1576 次阅读
  Socks5  privoxy  http 
0

Linux服务器上可以使用sshfs将远程文件系统映射到本地目录。使用起来更方便。1.sshfs软件安装Ubuntuapt-get install sshfs -yFedore上安装yum install fuse-sshfs -yCentOS上安装默认源无该工具,需要先安装EPEL源yum install -y epel-release...

6年前发布  · 1370 次阅读
  sshfs  fuse-sshfs 
0

为了服务器的安全我们一般采取服务器采取禁PING这个服务器安全的必要步骤也是必须的其实禁ping很简单,只需要一步骤就可以了按照操作修改下面的值就可以了。1.以root进入Linux系统,然后编辑文件icmp_echo_ignore_all[root@localhost ~]# echo 1 > /proc/sys/net/ipv4...

6年前发布  · 1457 次阅读
  ping 
0

一 :从一台机到另一台机端口转发启用网卡转发功能#echo 1 > /proc/sys/net/ipv4/ip_forward举例:从192.168.0.132:21521(新端口)访问192.168.0.211:1521端口 a.同一端口转发(192.168.0.132上开通1521端口访问 iptables -A RH-Fire...

6年前发布  · 1243 次阅读
  iptables 
0

设定本机2121端口转发到21端口iptables -t nat -A PREROUTING -p tcp -i eth0 -d 10.136.57.57 --dport 2121 -j DNAT --to 10.136.57.57:21 iptables -t nat -I POSTROUTING -d 10.136.57.57 -p...

6年前发布  · 1131 次阅读
  iptables 
0

Most administrators are using to using the “service iptables save” command to save firewall rules on RHEL5 and RHEL6 servers. With CentOS 7 and Red Hat Enterprise Linux 7...

6年前发布  · 1270 次阅读
  iptables 
0

Linux下默认cp命令是有别名的(alias cp='cp -i'),无法在复制时强制覆盖,即使你用 -f 参数也无法强制覆盖文件,下面提供几个从网上找的Linux下cp命令覆盖的方法。1)取消cp的alias(放心这不是永久生效):# unalias cp # cp -rf /test/a2)加反斜杠 \cp 执行cp命令时不走ali...

6年前发布  · 1355 次阅读
  cp 
0

Linux的时间分为System Clock(系统时间)和Real Time Clock (硬件时间,简称RTC)。系统时间:指当前Linux Kernel中的时间。硬件时间:主板上有电池供电的时间。查看系统时间的命令: #date设置系统时间的命令: #date –set(月/日/年 时:分:秒)例:#date –set "10/11/...

6年前发布  · 1149 次阅读
  date  hwclock  ntpdate 
0

禁止开启启动systemctl disable NetworkManager systemctl enable network 执行systemctl stop NetworkManger systemctl restart network

6年前发布  · 1230 次阅读
0

前言报表中发现有中文乱码和中文字体不整齐(重叠)的情况,首先考虑的就是操作系统是否有中文字体,在CentOS 7中发现输入命令查看字体列表是提示命令无效: 如上图可以看出,不仅没有中文字体,连字体库都没有,那么接下来就记录一下在Linux CentOS 7中如何安装字体库以及中文字体。安装字体库在CentOS 4.x开始用fontconf...

7年前发布  · 1346 次阅读
0

error: too many arguments to function ‘wait_on_bit’在VM上安装了CentOS虚拟机,想使用共享文件夹,安装VMwareTools,hgfs下找不到响应的目录,但是使用vmware-hgfsclient命令 却能看到我设置的共享目录. 仔细再进行了一遍检查,发现在安装VMwareTools...

7年前发布  · 1962 次阅读
0

执行:---Command run:yum install "kernel-devel-uname-r == $(uname -r)"

7年前发布  · 4374 次阅读
0

Binary ReleasesPrebuilt Packages for Linux and BSDMost Linux distributions and BSD variants have NGINX in the usual package repositories and they can be installed via wha...

7年前发布  · 1424 次阅读
  install 
0

MySQL is an open source free relational database management system (RDBMS) released under GNU (General Public License). It is used to run multiple databases on any single...

7年前发布  · 1274 次阅读
  install 
0

PHP 7.1.1 has been released on PHP.net on 19th January 2017, and is also available for CentOS/RHEL 6.8 and 7.2 at Webtatic via Yum in it’s testing repository.PEAR install...

7年前发布  · 2086 次阅读
  install 
0

Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install subversion 1.9 ( svn client ) on CentOS/RHE...

7年前发布  · 1947 次阅读
0

开启80端口firewall-cmd --zone=public --add-port=80/tcp --permanent出现success表明添加成功命令含义:--zone #作用域--add-port=80/tcp  #添加端口,格式为:端口/通讯协议--permanent   #永久生效,没有此参数重启后失效重启防火墙system...

7年前发布  · 1045 次阅读
0

CentOS MySQL 5.7编译安装MySQL 5.7 GA版本的发布,也就是说从现在开始5.7已经可以在生产环境中使用,有任何问题官方都将立刻修复。MySQL 5.7主要特性:更好的性能:对于多核CPU、固态硬盘、锁有着更好的优化,每秒100W QPS已不再是MySQL的追求,下个版本能否上200W QPS才是吾等用户更关心的更好的...

7年前发布  · 1160 次阅读