Centos 6.5 Installation Memcached

Source: Internet
Author: User
Tags memcached

Yum Installation
    • Yum – y install memcached
Start the service
    • Service memcached Start
setting up the boot service
    • #开机自启动 chkconfig memcached on #查看开机自启动状态 chkconfig memcached Status
View memcached Status
    • Memcached-tool 127.0.0.1:11211 Stats
iptables Open 11211 Port
    • #关闭防火墙
      /etc/init.d/iptables stop
      #查看防火墙信息
      /etc/init.d/iptables status
      #开放端口: 11211
      /sbin/iptables-i input-p TCP--dport 11211-j ACCEPT
      #重启防火墙以便改动生效:(or restart the system directly)
      /etc/init.d/iptables restart
      #将更改进行保存
      /etc/rc.d/init.d/iptables Save
External Network Connection
    • Windows cmd command
    • Telnet IP 11211
finished

Centos 6.5 Installation Memcached

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.