1.安装nginx 1.安装yum源 rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 2.安装nginx yum install -y nginx ...
分类:
数据库 时间:
2019-03-12 12:39:00
阅读次数:
245
1.使用lsof 命令来查看端口是否开放 lsof(list open files)是一个列出当前系统打开文件的工具。 在linux环境下,任何事物都以文件的形式存在,通过文件不仅仅可以访问常规数据,还可以访问网络连接和硬件。因为 lsof 需要访问核心内存和各种文件,所以必须以 root 用户的身 ...
分类:
系统相关 时间:
2019-03-09 19:03:00
阅读次数:
237
Little Lesha loves listening to music via his smartphone. But the smartphone doesn't have much memory, so Lesha listens to his favorite songs in a wel ...
分类:
其他好文 时间:
2019-03-03 22:16:21
阅读次数:
129
1 怎么知道一个端口号有没有被占用,被哪个进程占用。 (1)windows下:(以3306为例) netstat -ano | findstr 3306 LISTENING表示被占用,4552表示占用进程号,接下来查进程号。 tasklist | finder 4552 很容易知道3306被mysq ...
分类:
其他好文 时间:
2019-02-20 12:39:27
阅读次数:
183
netstat-anp|greppid进程号这个命令可以通过进程pid号来查看对应的监听的端口号root@zabbixclient:~/python#netstat-anp|grep53298tcp600:::3306:::LISTEN53298/mysqldunix2[ACC]STREAMLISTENING168264653298/mysqld/var/run/mysqld/mysqld.soc
分类:
系统相关 时间:
2019-02-18 18:44:56
阅读次数:
273
Turning:Are you pay attention?Good.If you are not listening carefully you will miss things,important things.I will not repeat myself and you will not ...
分类:
其他好文 时间:
2019-02-13 22:28:15
阅读次数:
192
2001.3 上海市英语中级口译资格证书第一阶段考试 参考答案: SECTION 1: LISTENING TEST Part A: Sport Dictation 1. television viewers 2. recent research 3. more far-reaching 4. po ...
分类:
其他好文 时间:
2019-01-26 11:00:52
阅读次数:
237
32位系统 在安装完成后 运行mongod --dbpath c:\data\db后,没有如愿以偿出现端口数字27017,出现了如下的报错 ************** D:\GREENT~1\PowerCmd>mongod --auth -dbpath C:\mongo\MongoDB\mongo ...
分类:
数据库 时间:
2019-01-12 11:05:05
阅读次数:
240
1、配置日志文件 vim /etc/rsyslog.conf 在里面添加一行 local*. /var/log/sshd.log 2、编辑sshd的主配置文件 vim /etc/ssh/sshd_config 添加一行syslogFacility local0 (这里最好把原来的那行注释掉) 3、启 ...
分类:
其他好文 时间:
2019-01-11 20:05:58
阅读次数:
168
UDP TEST 1) board as service root@OpenWrt:/# iperf -u -s Server listening on UDP port 5001 Receiving 1470 byte datagrams UDP buffer size: 160 KByte (d ...
分类:
其他好文 时间:
2019-01-09 18:41:51
阅读次数:
267