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

Image may be NSFW.
Clik here to view.

yum安装CDH5.5 Hadoop集群

1、环境说明 系统环境: 系统环境:CentOS6.7 Hadoop版本:CDH5.5 JDK运行版本:1.7.0_67 集群各节点组件分配: 2、准备工作 安装 Hadoop 集群前先做好下面的准备工作,在修改配置文件的时候,建议在一个节点上修改,然后同步到其他节点。因为要同步配置文件和在多个节点启动服务,建议配置 ssh 无密码登陆。 2.1配置hosts CDH 要求使用 IPv4,IPv6...

View Article


Wine 2.1 Adds More Shader Model 5 Instructions, Direct2D Rendering Improvements

The Wine developers announced the general availability of Wine 2.1, the first development release since the launch of Wine 2.0, which includes various improvements and multiple bug fixes. Wine 2.1...

View Article


Image may be NSFW.
Clik here to view.

企业安全拥抱开源之利用Freeipa实现Liunx用户身份、权限的统一管理

*本文原创作者:agui,本文属CodeSec原创奖励计划,未经许可禁止转载 在《 企业安全拥抱开源之FREEOTP部署实战 》一文中(下面简称上文),已经介绍了Freeipa的部署方法和OTP的启用方法,本文继续深入介绍如何将linux接入进行统一的身份管理。...

View Article

Image may be NSFW.
Clik here to view.

Privacy-focused Linux-based operating system Tails 3.0 will drop 32-bit...

If you find yourself needing an operating system that respects your privacy, you cannot go wrong with Tails. The live linux-distro can be run from a DVD which is read-only, meaning there is less of a...

View Article

Image may be NSFW.
Clik here to view.

Crontab - 定时任务必备招式

你是否有过这样的需求,定时在机器上执行一些任务,比如跑数据,清理内容等等。 Crontab 就是做这个事情的标配。 crontab 简介 这里的伙伴大多数做客户端开发的,可能对服务端相关的内容关注的相对少一些。 crontab...

View Article


Important Kernel Updates Patch 7 Vulnerabilities in All Supported Ubuntu OSes

Canonical announced a few hours ago the availability of new kernel updates for all supported Ubuntu linux operating systems, patching a total of seven security issues across all of them. In the new...

View Article

Image may be NSFW.
Clik here to view.

Linux命令如何修改文件的三个时间

本文主要对stat和touch两个命令进行讲解。 如何查看一个文件的元数据呢?可以使用stat命令。 File: 'ceshi1' 文件所在路径 Size: 4096Blocks: 8 文件占据的磁盘块 IO Block: 4096 directory 文件类型 Device: 801h/2049d 文件所在的设备名Inode: 378 文件索引节点号 Links: 4 被硬链接的次数...

View Article

Image may be NSFW.
Clik here to view.

Freezer Monitor

We had a rash of freezers failing around the department, and I wasn’t going to become a victim. So I built something simple that has proven it’s worth. For a total cost of less than $100 you can sleep...

View Article


Image may be NSFW.
Clik here to view.

程序访问文件的几种方式

读取和写入文件 I/O 操作都调用操作系统提供的接口。因为磁盘设备是由操作系统管理的,应用程序要访问物理设备只能通过系统调用的方式来工作。读和写分别对应 read() 和 write()...

View Article


Chrome for iOS goes open source, a KDE-branded laptop, and more open source news

In this edition of our open source news roundup, we take a look at Google open sourcing Chrome for iOS, a KDE-branded laptop from Slimbook, and more! Open source news roundup for January 22-February 4,...

View Article

Linux Mint 18.1 + i915: Updating the Intel Graphics stack

This post was written byeli on February 4, 2017 Posted Under:linux, Software Running Linux Mint 18.1 (kernel 4.4.0-53) on a Gigabyte Brix BACE-3160 (with an i915 graphics controller) , I had all kind...

View Article

Image may be NSFW.
Clik here to view.

进程切换(context_switch)代码分析:基本逻辑

一、前言 本文主要是以context_switch为起点,分析了整个进程切换过程中的基本操作和基本的代码框架,很多细节,例如tlb的操作,cache的操作,锁的操作等等会在其他专门的文档中描述。进程切换包括体系结构相关的代码和系统结构无关的代码。第二、三、四分别描述了context_switch的代码脉络,后面的章节是以ARM64为例子,讲述了具体进程地址空间的切换过程和硬件上下文的切换过程。...

View Article

Image may be NSFW.
Clik here to view.

Build a magic mirror in issue 54 of The MagPi

Hey there folks! It’s Rob from The MagPi again. Did you miss me? I missed you. Anyway, I’m here today to tell you that we’ve finally gone and done it: we’ve got a build-your-own-magic-mirror feature in...

View Article


Image may be NSFW.
Clik here to view.

国产操作系统典范:deepin操作系统

国产操作系统典范:deepin操作系统 一点号缅甸海豚3天前 在中国,windows各个版本的市场占有率超过了97%,macOS的市场占有率是0.72%,而各类linux操作系统的市场占有率不超过1%,其中国产操作系统更是微乎其微。 php?url=0FYiakUhfk" alt="国产操作系统典范:deepin操作系统" />作为信息安全极为重要的一环,自主操作系统是国人的梦,也是国人的痛。...

View Article

Image may be NSFW.
Clik here to view.

lvs简介

一、 LVS简介 LVS是linux Virtual Server的简称,也就是Linux虚拟服务器, 是一个由章文嵩博士发起的自由软件项目,它的官方站点是 www.linuxvirtualserver.org 。现在LVS已经是...

View Article


LVS

LVS 概述 LVS工作类型 LVS NAT LVS DR(默认) Direct Routing带来的问题 限制响应模型的内核参数 LVS TUN LVS FULLNAT scheduling-method 静态调度算法 动态调度算法 CentOS 7 中的ipvs组件 安装ipvsadm程序 主要文件 ipvsadm命令 配置集群服务 NAT方法示例 DR方法示例 通用的Real Server配置...

View Article

Image may be NSFW.
Clik here to view.

集群基本介绍

linux Cluster: Cluster:计算机集合,为解决某个特定问题组合起来形成的单个系统; Linux Cluster类型: LB:Load Balancing,负载均衡;主机来平均访问的压力。由负载均衡器和多个后端主机分担主。 HA:High Availiablity,高可用,靠冗余节点实现;提高服务的可用性,有多个负载均衡器(和备份)来接收来自用户的请求...

View Article


第二周总结(文件操作命令、GLOB使用、BASH常见特性、用户及组权限管理)

1、常见文件管理命令分类 1)文件内容查看(cat、tca、more、less、head、tail) 2)文件字符替换(tr、sed、awk等) 3)文件创建、移动、复制和删除(touch、mv、cp、scp、rm) 4)文件权限修改(chown,chmod,chgrp) 5)文件元数据查看和文件属性(stat、file) 6)文件查找(find、locate) 文件内容查看 cat...

View Article

lnav An Advanced Console Based Log File Viewer for Linux

LNAV stands for Log file Navigator is an advanced console based log file viewer for linux. It does the same job how other file viewers doing like cat, more, tail, etc but have more enhanced features...

View Article

Image may be NSFW.
Clik here to view.

Signal Analysis Library Using Continuous Wavelet Transform

CCWT library for C and python Did you ever wanted to easily generate a spectrogram like this one? Take the Tutorial with lots of examples and all features being explained. Features Complex continuous...

View Article
Browsing all 11063 articles
Browse latest View live