首页 文章 精选 留言 我的

精选列表

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

Yum 安装

yum install cacti 创建数据库 # mysql -u root -p mysql> create database cacti; mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY 'cacti'; mysql> FLUSH privileges; mysql> quit; mysql -ucacti -pcacti cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql 数据配置 # cat /etc/cacti/db.php <?php /* +-------------------------------------------------------------------------+ | Copyright (C) 2004-2013 The Cacti Group | | | | This program is free software; you can redistribute it and/or | | modify it under the terms of the GNU General Public License | | as published by the Free Software Foundation; either version 2 | | of the License, or (at your option) any later version. | | | | This program is distributed in the hope that it will be useful, | | but WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | GNU General Public License for more details. | +-------------------------------------------------------------------------+ | Cacti: The Complete RRDTool-based Graphing Solution | +-------------------------------------------------------------------------+ | This code is designed, written, and maintained by the Cacti Group. See | | about.php and/or the AUTHORS file for specific developer information. | +-------------------------------------------------------------------------+ | http://www.cacti.net/ | +-------------------------------------------------------------------------+ */ /* make sure these values refect your actual database/host/user/password */ $database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cacti"; $database_password = "cacti"; $database_port = "3306"; $database_ssl = false; /* Edit this to point to the default URL of your Cacti install ex: if your cacti install as at http://serverip/cacti/ this would be set to /cacti/ */ //$url_path = "/cacti/"; /* Default session name - Session name must contain alpha characters */ //$cacti_session_name = "Cacti"; ?> 配置httpd # cat /etc/httpd/conf.d/cacti.conf # # Cacti: An rrd based graphing tool # # For security reasons, the Cacti web interface is accessible only to # localhost in the default configuration. If you want to allow other clients # to access your Cacti installation, change the httpd ACLs below. # For example: # On httpd 2.4, change "Require host localhost" to "Require all granted". # On httpd 2.2, change "Allow from localhost" to "Allow from all". Alias /cacti /usr/share/cacti <Directory /usr/share/cacti/> <IfModule mod_authz_core.c> # httpd 2.4 #Require host any Require all granted </IfModule> </Directory> <Directory /usr/share/cacti/install> # mod_security overrides. # Uncomment these if you use mod_security. # allow POST of application/x-www-form-urlencoded during install #SecRuleRemoveById 960010 # permit the specification of the rrdtool paths during install #SecRuleRemoveById 900011 </Directory> # These sections marked "Require all denied" (or "Deny from all") # should not be modified. # These are in place in order to harden Cacti. <Directory /usr/share/cacti/log> <IfModule mod_authz_core.c> Require all denied </IfModule> </Directory> <Directory /usr/share/cacti/rra> <IfModule mod_authz_core.c> Require all denied </IfModule> </Directory> 原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

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

安装配置Tomcat

传送门:http://pan.baidu.com/s/1i5GzrjZ 密码: s4ye 下载tomcat,解压到你想要的目录下 配置tomcat环境变量: ( 1)、新建CATALINA_HOME:变量名CATALINA_HOME,变量值为tomcat目录(E:\fuwuqi\tomcat) (2)、在classpath里面加入%CATALINA_HOME%\common\lib\servlet.jar并用分号隔开 打开tomcat service服务: (1)、打开命令提示窗口(win键+R输入cmd即可) (2)、到tomcat目录下,输入service.bat install 就好了(成功如右图所示) 打开tomcat8w.exe,并且按start,检测是在地址栏输入http://localhost:8080/,tomcat就启动成功了 成功后会出现这个页面

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

ubuntu下安装 infer

sudo apt-get update sudo apt-get upgrade sudo apt-get install git openjdk-7-jdk m4 zlib1g-dev python-software-properties build-essential libgmp-dev libmpfr-dev libmpc-dev unzip wget https://github.com/ocaml/opam/releases/download/1.2.2/opam-1.2.2-x86_64-Linux -O opam chmod +x opam ./opam init --comp=4.01.0 #(then say 'y' to the final question) eval `./opam config env` ./opam install extlib.1.5.4 atdgen.1.6.0 javalib.2.3.1 sawja.1.5.1 #(then say 'y' to the question) ``` If you do not require support for the C/Objective-C analysis in Infer, and only wish to analyse Java files, continue with these instructions. By the way, Java 1.8 is not supported. ```bash cd infer make -C infer java export PATH=`pwd`/infer/bin:$PATH 分类: ubuntu solve 本文转自wanqi博客园博客,原文链接:http://www.cnblogs.com/wanqieddy/p/4741463.html,如需转载请自行联系原作者

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

docker registry 安装步骤

实验环境 192.168.30.95 //registry server 192.168.30.96 //docker client 操作系统 centos 7.2 //-----------------------------------registry server $ docker run -d -p 5000:5000 --restart=always --privileged=true --name registry -v /data:/var/lib/registry registry:2 $ docker pull ubuntu:16.04 $ docker tag ubuntu:16.04 localhost:5000/myfirstimage $ docker push localhost:5000/myfirstimage $ docker image remove ubuntu:16.04 $ docker image remove localhost:5000/myfirstimage $ docker pull localhost:5000/myfirstimage curl -X GET http://192.168.30.95:5000/v2/_catalog //显示私有仓库里的镜像 //----------------------------------------docker client //Create or modify /etc/docker/daemon.json //{ "insecure-registries":["myregistry.example.com:5000"] } //Restart docker daemon //sudo service docker restart { "insecure-registries":["192.168.30.95:5000"] } systemctyl restart docker docker pull 192.168.30.95:5000/myfirstimage 本文转自 zbill 51CTO博客,原文链接:http://blog.51cto.com/dek701/1965366,如需转载请自行联系原作者

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册