首页 文章 精选 留言 我的

精选列表

搜索[最权威安装],共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,如需转载请自行联系原作者

资源下载

更多资源
Mario

Mario

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

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

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等操作系统。