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

Image may be NSFW.
Clik here to view.

Turn GNOME to Heaven With These 23 GNOME Extensions

GNOME Shell is one of the most used desktop interfaces on the linux desktop. It’s part of the GNOME project and is considered to be the next generation of the old classic GNOME 2.x interface. GNOME...

View Article


Image may be NSFW.
Clik here to view.

Linux内核新增AMD 7nm Zen2架构优化:为明年Q1上市准备

AMD 7nm Zen2处理器预计将在明年一季度大规模上市,其中第二代EPYC霄龙先行,随后是消费级锐龙Ryzen平台。 经查,linux 4.21内核新鲜增加了对AMD 7nm EPYC Rome(罗马)处理器的优化。 7nm Rome在设计上进行了一些大胆创新,比如结构上,CPU核心和I/O Die分离,DDR控制器也与I/O核心绑定,这意味着内存延迟将加大,同时CPU访问L3的速度也会牺牲。...

View Article


Counting your contribution to a git repository

Sometimes you may wonder, how many commits or lines of code did I contributed to a git repository? Here are some easy one liners to help you count that. Number of commits Let’s start with the easy one:...

View Article

Image may be NSFW.
Clik here to view.

The 20 most-popular stories of 2018

Yesterday, we brought you the most-commented stories of 2018. We're back today with a little more Christmas reading for you: the most-popular stories of 2018. As we have done in the past, we made two...

View Article

webbench源码学习

源代码阅读前的相关知识点总结: 命令行参数 命令行参数解析 命令行参数学习 linux相关知识 ldd 作用:用来查看程式运行所需的共享库,常用来解决程式因缺少某个库文件而不能运行的一些问题。 示例:查看test程序运行所依赖的库: /opt/app/todeav1/test$ldd test libstdc++.so.6 => /usr/lib64/libstdc++.so.6...

View Article


Image may be NSFW.
Clik here to view.

Monitoring Disk Space on Linux Helpful Commands for SQL Server DBAs

In this article, we will explore the different linux commands related to the disk space. ‘ls’ command ‘df’ command ‘du’ command It is very important for SQL Database administrators to know about basic...

View Article

Ghosts of Christmas present: Spooky stories of other platforms

The Macalope isn’t here to tell you that everything is all sugarplums and candy canes on Apple devices all the time, but since he deals with the worst of complaints about them week in and week out,...

View Article

Image may be NSFW.
Clik here to view.

Using tmux for MariaDB database support and surveillance

See also our older article: Using screen for support and/or surveillance . First simple steps The command tmux starts a tmux server and opens a new session with a (pseudo) terminal: shell> tmux To...

View Article


Image may be NSFW.
Clik here to view.

CentOS 7 下更新cURL到最新稳定版的方法

由于业务需要,服务器上的curl 版本太老了,有漏洞,于是抽点时间升级最新版本,确保服务器间通信安全,然后网上看了些教程,发现各不相同,最后找到一个最简单,最方便的方法,分享给大家。 cURL是一个利用URL语法在命令行下工作的文件传输工具,1997年首次发行。它支持文件上传和下载,所以是综合传输工具,但按传统,习惯称cURL为下载工具。cURL还包含了用于程序开发的libcurl。...

View Article


Image may be NSFW.
Clik here to view.

Vim 利剑常磨,见血封喉

年底了,故事总是会有很多。 刚了一波通宵加班,趁着有时间,过了一遍Vim教程,顺便汇总下常用命令。 对于以 OSX / linux为开发环境的伙伴们,应该并不陌生。因其轻便,扩展性,可定制化,一直很受开发者追捧。高阶大神,袖中必有深藏。 Vim编辑器简洁易用,在终端上可用来快速查看修改文档。虽然与其他编辑器如WebStrom,...

View Article

Image may be NSFW.
Clik here to view.

linux epoll模型

同步IO和异步IO,阻塞IO和非阻塞IO分别是什么,到底有什么区别?不同的人在不同的上下文下给出的答案是不同的。所以先限定一下本文的上下文。 本文讨论的背景是linux环境下的network IO。 一 概念说明 在进行解释之前,首先要说明几个概念: 用户空间和内核空间 进程切换 进程的阻塞 文件描述符 缓存 I/O 用户空间与内核空间...

View Article

Image may be NSFW.
Clik here to view.

Four Certifications in One Year

linux Academy student Shyam R., Senior Member of Technical Staff, Developer, at AthenaHealth, took the leap to learn about AWS for his career, and went on to earn 2 Associate and 2 Professional...

View Article

Create highly portable ELF binaries using the build-anywhere toolchain

This post describes the basic requirements for compiling highly portable ELF binaries. Essentially using a newer linux distro like Ubuntu 18.10 to build complex projects that run on older distros like...

View Article


Image may be NSFW.
Clik here to view.

Linux Kernel 4.21增加AMD 7nm Zen2架构优化

AMD 7nm Zen2处理器预计将于明年第一季推出,采用下一代7nm EPYC。 linux Kernel 4.21已经更新,以优化AMD 7nm EPYC Rome(罗马)处理器。 AMD 7nm EPYC Rome(罗马)处理器在设计上做出了一些大胆的创新。例如,CPU内核和I/O芯片是分开的。 “14nm I/O芯片是设计的关键。该核心芯片将8个7nm...

View Article

Image may be NSFW.
Clik here to view.

OpsInit: Testing Bash Scripts

Shell scripting isn’t easy. A quick script like to perform mathematical calculations or string manipulation may seem like a walk in the park, but a problem arises when we try to use these scripts to...

View Article


vimrc文件配置的全文收录(史上最全,附带中文解释)

一、vi与vim的不同 vi类似于windows的记事本,比较适合编辑普通文本,但是用于编写脚本代码就不太合适了,缺少高亮显示代码、自动缩进等重要功能;而vim类似于windows下的高级编辑器,为了提高开发效率,需要使用vim而不是vi。 因此,首先做如下调整,以便只使用vim作为开发脚本的功能工具: [root@dabiaoge ~]# echo 'alias vi=vim' >>...

View Article

Image may be NSFW.
Clik here to view.

Design your own Alexa enabled systems with this inexpensive kit [DEALS]

Learn how to a design a home automation system and more with Complete Raspberry Pi 3B+ Starter Kit and Course Bundle. The Raspberry Pi is a small and economical microcomputer that’s used in a wide...

View Article


禁用ROOT的4种方法

从 https://www.tecmint.com/disable-root-login-in-linux/ 中看到的,记录一下。 我们都知道 root 的权限过大,因此一般不推荐直接使用 root 用户操作,而是使用普通用户,在必要时通过 sudo 命令来提权。 在Ubuntu中,更是直接把root禁用了,那么如何在linux中禁止root登陆呢?有下面几种方法。...

View Article

不死的sed

真的从来没想到到现在 sed 居然还在更新中... 2018年12月19日, sed更新了4.6版 ... * Noteworthy changes in release 4.6 (2018-12-19) [stable] ** Improvements sed now prints a clear error message when r/R/w/W (and s///w) commands...

View Article

Work on Teleport, Open Core Distributed SSH Server Written in Go

Senior Golang/linux systems engineer, Teleport About us Gravitational, an early stage systems & cloud startup in Oakland, CA, is looking for ambitious and talented people. We are well-funded by...

View Article
Browsing all 11063 articles
Browse latest View live