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

How to Flush the DNS Cache in Ubuntu & Why You Might Need To

Domain Name Servers are one of the backbones of the internet. Without them, the entire system of domain names wouldn’t work and we’d have to navigate the web using straight IP addresses ― not my idea...

View Article


Image may be NSFW.
Clik here to view.

MATE Desktop 1.16 Is Now Available on Ubuntu MATE 16.10

The picture aboveshowsthe latestMATEDesktop 1.16 release running on Ubuntu MATE 16.10. Which means exactly what you’re hoping it means! ;) Yes, despite a bit of uncertainty last month, Ubuntu MATE...

View Article


Image may be NSFW.
Clik here to view.

Linux与Android的关系

大家都知道Android是基于linux内核的操作系统,也曾经和Linux基金会因为内核问题产生过分歧,本文将开始对Android的内核进行剖 析,主要介绍Android和Linux之间的关系,后续还会讲到Android系统在Linux系统之上扩展的部分功能和驱动。...

View Article

inotify+rsync实时同步文件

加入全栈技术交流群 (QQ群号:254842154) 对于一个系统管理员来说,如何较实时地在多台服务器之间同步文件,是一个很重要的任务。今天给大家介绍一个inotify+rsync的实时同步方案,可以应用于文件备份,多台负载服务器代码同步等场景。 前提条件 inotify是linux内核从2.6.13引入的文件系统变化通知机制。因此,需要检查你的服务器版本是否支持inotify机制 grep...

View Article

在Ubuntu 14.04上配置nginx的http2

下载源码 cd /tmp wget https://openresty.org/download/openresty-1.11.2.1.tar.gz tar xf openresty-1.11.2.1.tar.gz wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz tar xf openssl-1.0.2j.tar.gz wget...

View Article


Stop Emacs from Writing package-selected-packages into init.el

A new minor annoyance in Emacs 25.1 is that Emacs maintains a variable called package-selected-packages that maintains a list of packages that you have specifically specified. This is used to handle...

View Article

A Saturday mystery, or, locatedb considered harmful to old Macs

I've been waist-deep on AltiVec intrinsics for the last week converting some of those big inverse discrete cosine and Hadamard transforms for TenFourFox's vectorized PowerPC VP9 codec. The little ones...

View Article

Image may be NSFW.
Clik here to view.

KDE Frameworks 5.27.0 发布

KDE Frameworks 5.27.0 发布了。 更新内容: Baloo Use correct config entry in autostart condition Fix sorted insert (aka flat_map like insert) (bug 367991) Add missing close env, as pointed out by Loc Yhuel (bug...

View Article


Image may be NSFW.
Clik here to view.

48 字节命令可令 Linux 系统当机!?

一名系统管理员Andrew Ayer近日在linux系统中发现一个臭虫,只要输入一行仅仅48个字节的命令,就能让Linux的中央化系统与设定管理程式 systemd 当机。 systemd 为 Linux 启动程序的重要元件,支持众多的 Linux 版本,Ayer 说,只要输入简短的命令 NOTIFY_S OCKET=/run/systemd/notify systemd-notify “” PID...

View Article


Image may be NSFW.
Clik here to view.

Linux Lite 3.2 Beta 发布,大量新特性

linux Lite 3.2 Beta 发布了。这个新版本拥有多项视觉上的改进,以帮助用户找到引导菜单项,参阅处理信息并识别图标。 系统新特性: Lite 桌面小部件,一个新的可选功能,可显示系统 基本 信息。包括更新状态,报告最后一次你 安装更新的时间。这个插件的 部分 代码是外包的,所以谢谢那些支持并捐赠给Linux Lite的人。 Lite 桌面小部件显示5种阶段的状态(颜色编码代表信息)...

View Article

Image may be NSFW.
Clik here to view.

Linux发行版们应该禁用 IPv4 映射的 IPv6 地址吗?

从各方面来看,互联网向 IPv6 的过渡是件很缓慢的事情。不过在最近几年,可能是由于 IPv4 地址资源的枯竭,IPv6 的使用处于 上升态势 。相应的,开发者也有兴趣确保软件能在 IPv4 和 IPv6 下工作。但是,正如近期 OpenBSD 邮件列表中的讨论所关注的,一个使得向 IPv6 转换更加轻松的机制设计同时也可能导致网络更不安全――并且 linux 发行版们的默认配置可能并不安全。...

View Article

Image may be NSFW.
Clik here to view.

22期第七周课堂练习

1、创建一个10G分区,并格式为ext4文件系统; (1) 要求其block大小为2048, 预留空间百分比为2, 卷标为MYDATA, 默认挂载属性包含acl; (2) 挂载至/data/mydata目录,要求挂载时禁止程序自动运行,且不更新文件的访问时间戳; 1.创建分区/dev/sdb1,容量为10G [root@localhost ~]# fdisk /dev/sdbDevice...

View Article

Linux文本处理工具及组管理

1、列出当前系统上所有已经登录的用户名,注意:同一个用户登录多次,只显示一次即可 [root@centos ~]# who | cut -d' ' -f1 | sort -u gentoo liubin root 2、取出最后登录到当前系统的用户的相关信息 [root@centos ~]# whoroot tty1 2016-10-06 21:19root pts/0 2016-10-06...

View Article


Image may be NSFW.
Clik here to view.

Sed文本文件工具的使用详解

Sed文本文件工具的使用详解 一、概述 sed 工具实际上就是一个非交互式的编辑器,主要是为了处理文本而生的,我们知道处理文本的三剑客是 grep sed awk 我们之前学习过 grep 文本过滤工具,它的主要作用是为了过滤文本,而sed 工具也是过滤文本,只不过sed工具针对的是文件中的每一行,而且sed工具更加强大,下面还具体说明一下sed 工具的原理。 二、sed 原理 sed...

View Article

Linux基础知识(三)-用户管理组管理,正则grep,文本处理

1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,只显示一次即可。 2、取出最后登录到当前系统的用户的相关信息。 3、取出当前系统上被用户当作其默认shell的最多的那个shell。 4、将/etc/passwd中的第三个字段数值最大的后10个用户的信息全部改为大写后保存至/tmp/maxusers.txt文件中...

View Article


Linux bcc/BPF Run Queue (Scheduler) Latency

I added this program to bcc earlier this year, and wanted to summarize it here as it fulfills an important need: examining scheduler run queue latency. It may not actually be a queue these days, but...

View Article

Image may be NSFW.
Clik here to view.

ELF文件格式分析

NDK开发最后生成的so文件是基于ELF文件格式。而so是共享目标文件,所以要想对so文件进行加密就必须了解ELF文件格式。 原文链接: ELF文件格式分析 0x00 简介 可执行链接格式(Executable and Linking Format)最初是由 UNIX 系统实验室(UNIX System Laboratories,USL)开发并发布的,作为应用程序二进制接口(Application...

View Article


Image may be NSFW.
Clik here to view.

Top 10 Communities To Help You Learn Linux

If you have just moved tolinux then I'm sure you'll have lots of queries. But you don't need to worry. Linux hasone of the largest communities on the Internet to help people get their queries cleared....

View Article

Image may be NSFW.
Clik here to view.

Which Raspberry Pi should you choose for your project?

There are a number of different models and versions of the Raspberry Pi computer. But which one is best for your project? Here's a summary of the main models available: Photo byAlex Eames of raspi.tv ....

View Article

GNOME 3.24 to Feature ownCloud Integration in GNOME Music, Sharing Framework

We already told you about the release date and schedule of the GNOME 3.24 desktop environment , whose development cycle will start later this month, and today we'd love to tell you a little bit about...

View Article
Browsing all 11063 articles
Browse latest View live