精选列表

搜索[centos7],共1048篇文章
优秀的个人博客,低调大师

elasticsearch centos7安装

安装elasticsearch 1、下载 wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/rpm/elasticsearch/2.3.3/elasticsearch-2.3.3.rpm 2、yum 安装 yum install elasticsearch-2.3.3.rpm 3、启动 查看执行文件所在目录 rpm -ql elasticsearch从输入的目录列表中找到bin目录,即执行文件所在目录 进入bin目录把它加入服务 /sbin/chkconfig --add elasticsearch 启动 service elasticsearch start 或者不加入服务直接启动 sudo /etc/init.d/elasticsearch start 本人直接下载tar.gz 文件,解压即可 安装head插件 usr/local/elasticsearch/bin/plugin install mobz/elasticsearch-head 远程访问 安装后默认绑定的ip为127.0.0.1,只能本地访问。如果要远程访问需要修改配置文件的绑定的ip # # Elasticsearch performs poorly when the system is swapping the memory. # # ---------------------------------- Network ----------------------------------- # # Set the bind address to a specific IP (IPv4 or IPv6): # network.host: 115.28.11.xx #绑定ip # # Set a custom port for HTTP: # http.port: 9200 #绑定http访问端口 # # For more information, see the documentation at: # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html> #

优秀的个人博客,低调大师

centos7安装docker并设置开机启动

版本要求:查看内核版本,需大于3.10 [root@localhost ~]# uname -r 3.10.0-327.10.1.el7.x86_64 更新内核:如果是生产机器务必慎重更新内核,避免出现不必要的问题。 sudo yum update 安装docker [root@localhost ~]# curl -sSL https://get.docker.com/ | sh + sh -c 'sleep 3; yum -y -q install docker-engine' Delta RPMs disabled because /usr/bin/applydeltarpm not installed. warning: /var/cache/yum/x86_64/7/docker-main-repo/packages/docker-engine-selinux-1.10.3-1.el7.centos.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 2c52609d: NOKEY Public key for docker-engine-selinux-1.10.3-1.el7.centos.noarch.rpm is not installed Importing GPG key 0x2C52609D: Userid : "Docker Release Tool (releasedocker) <docker@docker.com>" Fingerprint: 5811 8e89 f3a9 1289 7c07 0adb f762 2157 2c52 609d From : https://yum.dockerproject.org/gpg setsebool: SELinux is disabled. If you would like to use Docker as a non-root user, you should now consider adding your user to the "docker" group with something like: sudo usermod -aG docker your-user Remember that you will have to log out and back in for this to take effect! 启动docker [root@localhost ~]# sudo service docker start Redirecting to /bin/systemctl start docker.service 测试 [root@localhost ~]# sudo docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 03f4658f8b78: Pull complete a3ed95caeb02: Pull complete Digest: sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7 Status: Downloaded newer image for hello-world:latest Hello from Docker. This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker Hub account: https://hub.docker.com For more examples and ideas, visit: https://docs.docker.com/userguide/ 设置开机启动 [root@localhost ~]# systemctl enable docker Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service. 将指定用户添加到用户组 usermod -aG docker your_username 退出,然后重新登录,以便让权限生效。

优秀的个人博客,低调大师

centos7删除已经安装的docker

centos下可以使用yum来删除docker。 列出docker包的具体的名字。 $ yum list installed | grep docker docker-engine.x86_64 1.7.1-0.1.el7 删除docker。 $ sudo yum -y remove docker-engine.x86_64 备注:该命令只是删除docker运行环境,并不会删除镜像,容器,卷文件,以及用户创建的配置文件。 清除镜像和容器文件。 $ rm -rf /var/lib/docker 手工查找并删除用户创建的配置文件。

资源下载

更多资源
Mario,低调大师唯一一个Java游戏作品

Mario,低调大师唯一一个Java游戏作品

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS,或简称Oracle。是甲骨文公司的一款关系数据库管理系统。它是在数据库领域一直处于领先地位的产品。可以说Oracle数据库系统是目前世界上流行的关系数据库管理系统,系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。它是一种高效率、可靠性好的、适应高吞吐量的数据库方案。

Apache Tomcat7、8、9(Java Web服务器)

Apache Tomcat7、8、9(Java Web服务器)

Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache、Sun 和其他一些公司及个人共同开发而成。因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器。

Java Development Kit(Java开发工具)

Java Development Kit(Java开发工具)

JDK是 Java 语言的软件开发工具包,主要用于移动设备、嵌入式设备上的java应用程序。JDK是整个java开发的核心,它包含了JAVA的运行环境(JVM+Java系统类库)和JAVA工具。