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

RetroPie and Raspberry Pi PIXEL Desktop

In linux, there's always more than one way to do it. RetroPie is a wonderful set of scripts and skins for EmulationStation, a collection of retro computer and video game emulators. By far the easiest...

View Article


Image may be NSFW.
Clik here to view.

How to install Synapse launcher in Manjaro Linux?

If you are using unity or gnome desktop environment then you already know bash feature, which gives quick assess to lots of things. But on other desktop environments, this function is somewhat missing....

View Article


Image may be NSFW.
Clik here to view.

NethServer: Linux without All That Linux Stuff

Okay, that title really isn't fair. NethServer has all the linux stuff, it's just that you don't have to interact with it in the traditional way in order to reap the benefits. NethServer is a web-based...

View Article

Linux kernel snd_pcm_period_elapsed函数拒绝服务漏洞(CVE-2016-9794)

linux kernel snd_pcm_period_elapsed函数拒绝服务漏洞(CVE-2016-9794) 发布日期:2016-12-28 更新日期:2016-12-29 受影响系统: Linux kernel < 4.7 描述: CVE(CAN) ID: CVE-2016-9794 Linux Kernel是Linux操作系统的内核。 Linux kernel <...

View Article

1229 - 彻底搞定了服务问题

问题表现: 基于 Swift + Ubuntu + Vapor 的服务经常崩溃 解决办法: 调试:使用 gdb 分析 core dump,找到崩溃的代码地址。 原因:是 AES256CBC.swift 在调用 linux 进程时,「偶尔」会导致 libswiftCore.so 崩溃。 办法:替换生成随机数的方式,最后使用的是: class func generate(_ upperBound:...

View Article


Image may be NSFW.
Clik here to view.

Go open-source as a Linux Power User with this amazing instruction ― only $19

Right now, there’s a better than 99% chance that the device you’re reading this post on is running on windows, Android, OS X, or iOS. But many in-the-know web professionals swear by linux as their...

View Article

Now any old PC or Mac can run like a Raspberry Pi

The Raspberry Pi Foundation has released a version of its Pixel OS, which can be downloaded and used on older Mac and PC machines. The popular linux-based desktop environment has been a hit since it...

View Article

How To Configure Apache Virtual Hosts In Ubuntu Part 1

What is Apache Virtual Hosts? Virtual Hostterm refers to the method of running more than one website such as host1.domain.com, host2.domain.com, or www.domain1.com, www.domain2.com etc., on a single...

View Article


Making a BTRFS read-only snapshot writable

For the past few years I’ve been using btrfs on most filesystems that I create, whilst it’s pretty slow on rotating disk media now that most of my hardware is SSD-based there’s not much of a...

View Article


Newline at end of file

Many linux tools and compilers that process text files require the text file to end with a newline . This is simply because they are designed to process a series of lines, each ending with a newline....

View Article

Image may be NSFW.
Clik here to view.

Ubuntu Podcast from the UK LoCo: S09E44 L’aura - Ubuntu Podcast

It’s Season Nine Episode Forty-Four of the Ubuntu Podcast! Alan Pope , Mark Johnson , Martin Wimpress and Laura Cowen are connected and speaking to your brain. Podcast:Play in new window |Download The...

View Article

Image may be NSFW.
Clik here to view.

Powershell-Github-Shell:利用Github来做控制端的Powershell版本的Shell

项目主页 https://github.com/zlocal/Powershell-Github-Shell Author:zshell 简介...

View Article

Oracle Linux - Logging and analyzing your network connections

Whenever you run a relatively larger network with multiple hosts connecting to each other you will have to think about network monitoring and optimization as well as security. Some organisations insist...

View Article


Image may be NSFW.
Clik here to view.

2016年Linux领域的十条大新闻,你有关注吗?

2016年linux领域的十条大新闻,你有关注吗? 2小时前来源:51CTO php?url=0FLg2TdHBP" alt="2016年Linux领域的十条大新闻,你有关注吗?" />【51CTO.com快译】虽然2016年内Linux在桌面领域并没什么大动作,但作为开源运动的绝对代表,它依然给我们带来一系列大新闻。下面一起来看。 1. Linux迎来25岁生日 岁月如梭,25年前Linus...

View Article

The Raspberry Pi’s minimalist Pixel desktop environment finally comes to PC

Pixel or the Pi Improved Xwindows Environment, Lightweight, has arrived on PC. It’s a name that will be familiar with anyone who’s into Raspberry Pi . Technically speaking, Pixel is a modified version...

View Article


Image may be NSFW.
Clik here to view.

初识go语言

1.资源 由于go语言的官网国内打不开(除非翻墙),这里提供大家windows、mac、linux 3平台的1.7.4版本的安装包,安装包资源来自阿里云OSS。 windows平台 http://loongshawn/go1.7.4.windows-amd64.msi Mac OS X平台 http://loongshawn/go1.7.4.darwin-amd64.pkg Linux平台...

View Article

Countish: a library for approximate frequency counting

Introducing countish: a library for approximate frequency counting tl;dr get countish now Background So every once in a while, I get asked a simple question that leaves me scratching my head. In this...

View Article


Image may be NSFW.
Clik here to view.

N26 第二周作业

1、文件管理类命令和常用使用方法 2、bash命令执行后返回值,和目录展开: 命令执行返回值,存储在“$?”这个特殊变量内。可以使用echo显示或在shell脚本中引用。其中0表示正常执行完成,1-255表示不同的错误类型。 目录展开的特殊符号: ~ 符号:表示家目录 {}和,符号:{} 可承载一个以 “,”分隔的路径列表,并能够将其展开为多个路径;即/tmp/{a, b},表示/tmp/a 和...

View Article

文件I/O (一)

前言 当前的计算系统除了包括对数据有 加工和处理 以外还有 搬运 这个 搬运 代表着 输入和输出 ,及 input/output ,简称 I/O UNIX/linux的缔造者们将数据的 来源和目标 都抽象为 文件 ,所以在 UNIX/Linux 系统中 一切皆文件 一切皆文件不仅仅对磁盘,还包括鼠标,键盘,显示器这些设备,那么对这些设备的操作也都抽象成了对 文件的I/O操作 关于 标准I/O...

View Article

Image may be NSFW.
Clik here to view.

利用Grafana为OpenStack搭建现代化监控系统

首先简单说下为什么会用grafana,最近公司在新机房上了300多台物理机,其中有60台分配给我做OpenStack的私有云环境。OpenStack部署很快,三下五除二很快就上线了Mitaka的版本。但是在分给各个运维使用一段时间后,暴露一些问题。 场景一 某个干坏事的小朋友在虚拟机里面搞性能测试,直接打满cpu使用率和物理机的网络IO,影响这个物理机上的其他虚拟机。 场景二...

View Article
Browsing all 11063 articles
Browse latest View live