Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Browsing all 11063 articles
Browse latest View live

HockeyApp: Get date of last upload

You may want to find out when the last date of the last upload was. With this data, you may want to use git to find all the last commits from that date, for example. Get the last uploads with this:...

View Article


Raspberry Pi passes 10M in sales, new starter kit announced

The Raspberry Pi Foundation on Thursday announced a new milestone for its microcomputer. The organization has sold a total of 10 millionRaspberry Pi computers over the past four and a half years. The...

View Article


Image may be NSFW.
Clik here to view.

升级 macOS Sierra 后 Vim 和 Tmux 异常的解决办法

尝鲜的代价大概就是要先踩坑,苹果在 9 月 7 日的发布会后,发布了包括 macOS,iOS 和 tvOS 在 GM 版和候选发布版,这种版本在没有大 bug 的情况下,一般就是正式版了,也就是足够稳定了,就算不稳定也不会和正式版差很多,然后我就升级了,升级后一些软件不能正常工作,这里记录一下。 首先主要是键盘映射类的,因为 Sierra...

View Article

Finding Your Way With Traceroute

Here is another great additional resource referenced in my upcoming ICND1 100-105 Exam Cram ! Remember, traceroute is an IP service that allowsutilization of the User Datagram Protocol (UDP) and the...

View Article

嵌入式Linux用户进程优先级提升

在中,大多都是跑一个核心的业务,在数据吞吐量大的时候,会大量占用CPU,导致数据处理不过来,常规办法是优化程序或者更换更高性能的平台来解决,但是如果程序已经优化到极限和平台无法更换的情况下,可以通过提高业务进程的优先级来提高业务数据的吞吐量。 例如: nice -n -20 ./bin...

View Article


Linux mount (第一部分)

本篇将介绍一些比较实用的mount用法,包括挂载内核中的虚拟文件系统、loop device和bind mount。 下面的所有例子都在ubuntu-server-x86_64 16.04下执行通过 基本用法 mount命令的标准格式如下 mount -t type -o options device dir device: 要挂载的设备(必填) dir: 挂载到哪个目录(必填) type:...

View Article

获取Oracle Linux管理认证仅需一门考试

linux font-family: SimSun; color: #1f497d;" lang="ZH-CN">就业市场前景广阔。如果您搜索 2016 年 Linux 就 业情况,您会发现市场对 Linux 专业人士的需求仍保持增长势头。许多行业报告和文章都可印证这一点。 根据 2016 年 1 月的最新版《 Linux 职业 IT 技 能观察》 表 明,获得 Linux...

View Article

Image may be NSFW.
Clik here to view.

Raspberry Pi surpasses 10M sales mark, launches new Starter Kit

The Raspberry Pi Foundation revealed on Thursday that it has sold 10 million microcomputers since its debut four and a half years ago. That’s a significant achievement when you consider founder Eben...

View Article


Image may be NSFW.
Clik here to view.

Linux Mint 18 KDE edition released

Last month, Clement Lefebvre of the linux Mint project announced the release of Linux Mint 18 KDE beta . Now that the KDE edition has been refined, a stable version has been made available. Anyone...

View Article


Linux命令之dos2unix、nl、basename、enca

linux命令之dos2unix - 将DOS格式文本文件转换成UNIX格式 用途说明 dos2unix命令用来将DOS格式的文本文件转换成UNIX格式的(DOS/MAC to UNIX text file format converter)。DOS下的文本文件是以\r\n作为断行标志的,表示成十六进制就是0D 0A。而Unix下的文本文件是以\n作为断行标志的,表示成十六进制就是...

View Article

Image may be NSFW.
Clik here to view.

CentOS 7搭建ELK开源实时日志分析系统

Elasticsearch 是个开源分布式搜索引擎它的特点有分布式零配置自动发现索引自动分片索引副本机制 restful 风格接口多数据源自动搜索负载等。 Logstash 是一个完全开源的工具他可以对你的日志进行收集、分析并将其存储供以后使用如搜索。 kibana 也是一个开源和免费的工具他 Kibana 可以为 Logstash 和 ElasticSearch 提供的日志分析友好的 Web...

View Article

Image may be NSFW.
Clik here to view.

Customizing ubuntu for the likes of a developer

I have been using ubuntu for the past 5 years and have done a lot of customization which helped me in organizing and optimizing the desktop and system for the time I spent on it. And this is how it...

View Article

Image may be NSFW.
Clik here to view.

在Centos中部署redis运行状态图形化监控工具 ― RedisLive

写在前面 前两天看到张善友老师的一篇文章《 先定个小目标, 使用C# 开发的千万级应用 》,里面给出了一张腾讯OA基础服务中redis运行情况的一张监控图,然后想到自己的项目中前不久也上了redis缓存,所以也想找个监控工具。搜索一番,决定使用RedisLive来做监控。 和RedisLive有关的信息...

View Article


Image may be NSFW.
Clik here to view.

Npm install failed with “cannot run in wd”

linux环境下,root账户,安装某些npm包的时候报下面的错误,例如安装 grunt-contrib-imagemin 时: Error: EACCES, mkdir '/usr/local/lib/node_modules/coffee-script'npm ERR! { [Error: EACCES, mkdir...

View Article

Image may be NSFW.
Clik here to view.

Pimp up iTerm with Zsh and prezto on Mac OS X

Follow this simple steps to setup zsh and prezto on Mac OS X (El Capitan) and you command line will look like: Install Zsh Install Zsh and Zsh Completions $ brew install zsh zsh-completions Then try to...

View Article


Zabbix使用自动发现功能监控服务器各JVM进程状态

前言 ========== 为什么需要做服务器jvm自动发现的监控呢?这个事情主要有两点原因: 1.zabbix默认监控jvm状态是使用jmx中转进行监控的,监控效率比较低下 2.zabbix使用jmx监控jvm的时候由于一个主机上的键值不能重复,也就导致了一台主机上只能监控一个jvm实例...

View Article

Image may be NSFW.
Clik here to view.

Nexmon Turns Nexus 5 (and RPi3!) Into WiFi Toolkit

Back in the day, when wardriving was still useful (read: before WPA2 was widespread), we used to wander around with a Zaurus in our pocket running Kismet. Today, every cellphone has WiFi and a...

View Article


Image may be NSFW.
Clik here to view.

网络的路由配置以及Centos7的网络组实现

1、路由配置 路由是互联网络的核心,没有路由的网络如同一座孤岛,掌握路由的配置是IT人员的必备技能。 例如:现在有三台主机需要通信,其中A和B在同一网段,C在另一网段,这两个网段有三个路由相隔,如何实现他们之间的通信呢? 主机A:IP=192.168.1.100/24 主机B:IP=192.168.1.63/24 主机C:IP=10.2.110.100/16...

View Article

Image may be NSFW.
Clik here to view.

Centos7下Jewel版本radosgw服务启动

一、前言 本篇介绍了centos7下jewel版本的radosgw配置,这里的配置是指将服务能够正常起来,不涉及到S3的配置,以及其他的更多的配置,radosgw后面的gw就是gateway的意思,也就是我们说的网关的意思,本篇中所提及的实例也就是网关的意思,说实例是将每个单独的网关更细化一点的说法...

View Article

Image may be NSFW.
Clik here to view.

New update to Skype for Linux Alpha brings unread messages-related fix

Microsoft has pushed out a new update to the Skype for linux Alpha app that wasreleased back in July this year. The update bumps the app to version 1.7, and brings along a couple of fixes, including...

View Article
Browsing all 11063 articles
Browse latest View live