mysql编译安装(详细) 一、编译安装MySQL前的准备工作 安装编译源码所需的工具和库 yum install gcc gcc-c++ ncurses-devel perl 安装cmake,从http://www.cmake.org下载源码并编译安装 wget http://www.cmake. ...
分类:
数据库 时间:
2017-06-27 00:06:07
阅读次数:
246
非常感谢这些无私知识分享的同僚 重要参考:http://blog.csdn.net/u013812710/article/details/52766227 1.首先你得有个私库,这里我用的是阿里云私库,登录私库 2.查看docker私服的秘钥,把这串base64的秘钥复制下来 3.创建Securet ...
分类:
Web程序 时间:
2017-06-16 22:02:23
阅读次数:
262
启动apache之前先检验配置文件是否正确:/usr/local/apache2/bin/apachectl-t如果有错误,请继续修改httpd.conf,如果是正确的则显示为“SyntaxOK”,启动apache的命令为:/usr/local/apache2/bin/apachectlstart查看是否启动:[root@localhost~]#netstat-lnp|grephttpd
tcp00:::80:..
分类:
Web程序 时间:
2017-06-15 00:41:19
阅读次数:
178
[root@localhost ~]# yum install -y net-tools # 安装 netstat 命令 [root@localhost ~]# netstat -lnp # 查看服务器监听了哪些端口[root@localhost ~]# netstat -an # 查看所有的连接 ...
分类:
Web程序 时间:
2017-06-13 10:10:51
阅读次数:
139
一、安装nginx1.安装依赖包:yuminstallopensslopenssl-develpcreGeoIPperl-develperlperl-ExtUtils-EmbedGeoIP-devellibatomiclibatomic_ops-devel2.安装zlibtar-xfzlib-1.2.11.tar.gz
cdzlib-1.2.11
./configure
make
makeinstall3.添加用户addusernginx-s/sbin/nologin4.编..
分类:
其他好文 时间:
2017-05-10 22:02:20
阅读次数:
627
1、查看占用端口的进程 netstat -lnp|grep 3000(3000为端口号) Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等 ...
分类:
其他好文 时间:
2017-04-26 17:45:44
阅读次数:
140
1.查看负载w//整体负载uptime//整体负载top//具体负载2.查看进程端口ps-aux//进程netstat-lnp//进程状态端口3.磁盘读写iostat//读写整体状态iotop//具体进程读写状态4.流量带宽vnstat//服务器带宽流量统计iftop//谁在使用网络带宽nload//整体流量5.内存free6.sar工具sar-nDEV//..
分类:
其他好文 时间:
2017-04-06 17:07:30
阅读次数:
185
服务端##安装[root@wy~]#yuminstall-yvsftpd##启动vsftpd[root@wy~]#/etc/init.d/vsftpdstart为vsftpd启动vsftpd:[确定]解释说明:若启动失败的话,主要原因是被pure-ftpd(21端口)占了,这时候可以先用netstat-lnp查看一下,是否被占用了,占用的了话,则killallpure-ftpd,..
分类:
其他好文 时间:
2017-01-01 21:46:29
阅读次数:
291
命令ps查看系统的进程[root@feiji~]#ps-aux[root@feiji~]#ps-elf命令netstat查看端口以及连接状态[root@feiji~]#netstat–lnp#查看本机开启了那些端口[root@feiji~]#netstat–an#查看本机和其它主机连接的状态[root@feiji~]#netstat-an|grep119.29.186.209:80|grep-icestab#查..
分类:
系统相关 时间:
2016-11-24 22:26:14
阅读次数:
367
1.memcached安装 yum search memcached yum install -y libevent memcached libmemcached 启动:/etc/init.d/memcached start 查看监听端口:netstat -lnp |grep memcached|n ...
分类:
数据库 时间:
2016-08-04 13:17:28
阅读次数:
195