Zabbix自动发现MySQL端口并监控
一、需求: 因为我们是游戏业务,要用到mysql,一个服务器上面跑多个mysql实例也是很正常。如果单独手动一台台修改agent.conf,添加web监控,太费时费力。所以就想的要用zabbix 的自动发现来监控二、配置Agent1.编写自动发现端口脚本[root@test ~]# cat /etc/zabbix/alertscripts/zabbix_discovery_mysql.sh...
View Article通过Nginx部署前端代码实现前后端分离
实现前后端分离,可以让前后端独立开发、独立部署、独立单测,双方通过JSON进行数据交互。对于前端开发人员来说,不用每次调试都需要启动或配置Java/Tomcat运行环境;对于后端开发人员来说 ,也不用在需要往JSP页面注入数据。通过nginx来部署前端代码,可以帮助前端实现以下基本需求:1、请求转发,解决请求跨域的问题server { listen 7777; location /{ root...
View ArticleUbuntu 14.04搭建LXR本地服务器阅读Linux内核代码
我开始打算使用 apache2 + mysql + lxr 搭建的. 毕竟嘛网上教程都是这个, 有点坑爹的是网上的教程都是以前的, 和现在的好多软件包不一样, 偶尔发现个2014年的博客看了下居然还是照搬他人的.上面居然还能用sudo apt-get install lxr1 LXR(linux Cross Referencer)介绍 LXR 项目站点 :...
View ArticleUbuntu下Apache的安装与配置
在 Ubuntu 上安装 Apache,有两种方式 使用源中的软件包安装, 例如使用apt-get命令从源码构建Apache 我们直接使用源中的软件包进行安装, 安装apache,在命令行终端中输入一下命令:sudo apt-get install apache22 配置apache 2.1 启动apache服务 安装完成后,重启apache服务,在命令行终端中输入一下命令:sudo...
View ArticleUbuntu下使用sysv-rc-conf管理服务
sysv-rc-conf简介 sysv-rc-conf是一个强大的服务管理程序,群众的意见是sysv-rc-conf比chkconfig、rcconf好用。背景知识 Ubuntu运行级别 linux...
View ArticleGitLab “import/export project”功能信息泄露漏洞(CVE-2016-
GitLab "import/export project"功能信息泄露漏洞(CVE-2016-9086)发布日期:2016-11-03更新日期:2016-11-14受影响系统:GitLab GitLab 〉= 8.13.0描述: CVE(CAN) ID: CVE-2016-9086GitLab,是一个利用Ruby on Rails 开发的开源应用程序。GitLab的"import/export...
View ArticleExponent CMS “target” SQL注入漏洞(CVE-2016-9288)
Exponent CMS "target" SQL注入漏洞(CVE-2016-9288)发布日期:2016-10-05更新日期:2016-11-14受影响系统:Exponent Exponent Content Management System >= 2.4.0描述: CVE(CAN) ID: CVE-2016-9288Exponent是网站内容管理系统。Exponent CMS...
View ArticleVPP安装
Cisco VPP,全称Vector Packet Processing,是Cisco 2002年开发的商用代码。在2016年2月11号,linux基金会创建了FD.io项目,Cisco就将其VPP代码的开源版本贡献到了该项目,而目前已成为该项目的核心工程。VPP运行于用户空间,支持多种收包方式,常用的是DPDK。VPP的特色主要有两个,一是框架可扩展,二是具备成熟的交换/路由功能。...
View Article腾讯云 Ubuntu 安装并远程访问 MySQL
道理都懂,但还是连不上的话你就应该来看看… Info: Ubuntu Server 14.04.01 LTS 64 位 DataGrip 2016.2 前言 为了完成作业,不让服务器闲置,决定把数据库放在远程。免去本地配置的麻烦,这次的配置是基于腾讯的学生云,系统选择的是 Ubuntu Server 14.04.01 LTS 64 位,顺便学习下命令行操作。 步骤...
View ArticleNvidia 375.20 Linux Video Driver Adds Support for X.Org Server 1.19, Many Fixes
Nvidia announced a new stable, long-lived version of its proprietary graphics driver for GNU/linux, BSD, and Solaris platforms, versioned 375.20, which appears to be a major update that introduces...
View ArticleUbuntu源码安装Nginx笔记
一.准备 环境:ubuntu 编译环境 sudo apt-get install build-essential , sudo apt-get install libtool 下载 Nginx 和所需库: openssl-1.0.1t.tar.gz,pcre-8.39.tar.gz,zlib-1.2.8.tar.gz下载地址: wget...
View ArticleMozilla Firefox 50.0 Web Browser Lands in All Supported Ubuntu OSes, Update Now
Three days after wereported on the official availability of the Mozilla Firefox 50.0 web browser for GNU/linux, macOS, and Microsoft windows operating systems, it looks like users of the Ubuntu Linux...
View ArticleHow migration thread works inside of Linux Kernel
Abstract In computer systems, resources have to be balanced so that the performance will be better based on the same hardware. In linux Kernel system, we will see some migration kernel threads running...
View ArticleTails 3.0 Anonymous Live OS to Be Based on Debian 9 "Stretch", Require 64-bi ...
A few days after the announcement of Tails 2.7 , the development team behind the popular amnesic incognito live system based on Debian GNU/linux unveiled a few technical details about the next major...
View Articlelinux应用技术名词术语释义
linux应用技术名词术语释义 5小时前来源:CSDN博客 集群| 负载均衡| 高并发―――――― LVS LVS是Linux Virtual Server的简写,意即Linux虚拟服务器,是一个虚拟的服务器集群系统。 HAProxy...
View Article支持开源!微软宣布加入Linux基金会
支持开源!微软宣布加入linux基金会 3天前来源:中关村在线 北京时间11月17日消息,微软本周在纽约举行的Connect2016开发者大会上宣布,将加入Linux基金会,并支付50万美元的年费成为该基金会最高级的白金会员。微软Azure团队的架构师约翰格斯曼(John Gossman)将成为基金会的董事会成员。 php?url=0ExXTTrdJ8"...
View Article如何用 grep 在文本中查找内容
功能:grep系列是linux中使用频率最高的文本查找命令。主要功能在一个或者多个文件中查找特定模式的字符串。如果该行有匹配的字符串,则输出整个行的内容。如果没有匹配的内容,则不输出任何内容。grep命令不改动源文件。 Linux的grep家族包括grep、egrep、fgrep、rgrep。grep可以通过-G、-E、-F命令行选项来使用egrep和fgrep的功能。...
View Articlelinux下ssh公钥验证的设置和远程登录
使用 linux 有一段时间了,最近在服务器上假设了一个 git 仓库,每次提交时都使用密码实在是比较反人类,因此就特意研究了一下如何使用 ssh密钥 来登录服务器。 公钥和私钥的生成 ssh-keygen 命令专门是用来生成密钥的。该命令有很多选项,这里列出了最基本的四个: -t 用来指定密钥类型( dsa | ecdsa | ed25519 | rsa | rsa1 ); -P 用来指定密语...
View ArticleTerminology split screen terminal alternative to Terminator
If you are spending a lot of time in console, and have to manage multiple windows, there are a few options for you screen,tmux, and, of course, Terminator . Recently, I’ve come across one more...
View ArticleHow are auditd and Lynis different?
Differences between auditd and Lynis Recently I received the question what the difference is between auditd and Lynis. Both focus on auditing, that part is clear. For someone not familiar with both...
View Article