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

Image may be NSFW.
Clik here to view.

memcached学习――大纲简介 && 安装(基于centos6.5)、启动、关闭memcache ...

大纲简介 安装前,先简单介绍一下memcached。 memcached是一个免费、开源、高性能的分布式缓存。设计memcached的初衷是为了加快web应用程序,减少DB负载。 安装要求:支持大多数linux和基于BSD的系统,官方没有给出windows版本,但是网上有memcached for windows可以在windows上使用。 数据类型:仅仅支持string类型数据 特点:...

View Article


Image may be NSFW.
Clik here to view.

How to secure MongoDB on Linux or Unix production server

M ongoDB ransom attacks are in Wild. I am using it for storing data on my public facing cloud server powered by Ubuntu linux. How do I protect and secure my MongoDB nosql server on Linux or Unix...

View Article


Image may be NSFW.
Clik here to view.

7 Great Ubuntu Application Launchers You Can Use

By default, Ubuntu comes with the Unity desktop environment, and while it is quite a good interface, especially for people who are new to linux, you may want to use a different launcher. Maybe you...

View Article

Image may be NSFW.
Clik here to view.

IDG Contributor Network: How Linux scared Microsoft into improving Windows...

How linux scared Microsoft into improving windows gaming A former Valve developer recently shared some of the history behind the company’s interest in Linux for gaming. He notes on his blog how Linux...

View Article

N25-第5周作业

1、显示/boot/grub/grub.conf中以至少一个空白字符开头的行 [root@jizo ~]# grep -E '^[[:space:]]+.*' /boot/grub/gurb.conf 2、显示/etc/rc.d/rc.sysinit文件中以#开头,后面跟至少一个空白字符,而后又有至少一个非空白字符的行; [root@jizo ~]# grep -E...

View Article


The core dump file in Arch Linux

Arch linux uses systemd , and the core dump files will be stored in /var/lib/systemd/coredump directory by default. Let’s look at the following simple program: int main(void) { int *p = 0; *p = 1;}...

View Article

Image may be NSFW.
Clik here to view.

Linux模块驱动开发的那点事

modules.dep文件记录了内核模块间的依赖关系,此文件是使用module-init-tools套件中的depmod命令时自动生成的。 每个内核版本都有一个对应的modules.dep文件,存放在/lib/modules/kernel-version目录下。 此文件中内核的依赖关系使用"filename: [filename]*" 这样的形式描述。 空行和"#"开头的行会被忽略掉。...

View Article

Image may be NSFW.
Clik here to view.

New with cme: a GUI to configure Systemd services

Hello Systemd is powerful, but creating a new service is a task that require creating several files in non obvious location (like /etc/systemd/system or ~/.local/share/systemd/user/ ). Each file...

View Article


That's not what I wanted Linux

Once upon a time, I was an intern at a company doing embedded linux. This was a pretty good internship for a student. A lot of my work involved making builds of open source packages and fixing them...

View Article


Changing fonts in emacs

Something I can never remember is how fonts are set in emacs. Here are some notes on how I figured it out. First thing first, figure out what font you’re using. Open up your *scratch* buffer and type:...

View Article

Image may be NSFW.
Clik here to view.

Talos Secure POWER8 Linux Workstation With Fully Open Source Firmware

R aptor Engineering is working and crowdfunding a high-end power8 based desktop computer with zero proprietary firmware blobs in the Talos Secure Workstation. Traditionally IBM, Oracle(Sun), Intel/AMD...

View Article

Capturing Gcal for Display in Emacs

Ben Maughan has a post that represents another way of integrating Gcal into Emacs . In myfirst two posts on this, we looked at how Rainer Knig and Mike Zamansky imported their Google Calendars into...

View Article

Evaluating zsh

I’ve always been a bash user but I’ve recently decided to give zsh a while. It has some pretty useful features such as path expansion and replacement (see this slideshare ). And yes, I’m well aware of...

View Article


Upcoming CoreOS events: ShmooCon, FOSDEM, Container World, and more

CoreOS is back from the holidays and a successful Tectonic Summit! We’re kicking off the year with team members at conferences like ShmooCon, FOSDEM and Container World. Join us in making 2017 a great...

View Article

Executable files on the Raspberry Pi

An executable file is a file that can be double clicked and it will run automatically. For windows users you will be familiar with .exe files, but for linux, what is an executable file? Linux files...

View Article


Image may be NSFW.
Clik here to view.

手把手教你给 CentOS 7 添加硬盘及扩容(LVM)

前言 LVM基本组成 LVM利用linux内核的device-mapper来实现存储系统的虚拟化(系统分区独立于底层硬件)。 通过LVM,你可以实现存储空间的抽象化并在上面建立虚拟分区(virtual partitions),可以更简便地扩大和缩小分区,可以增删分区时无需担心某个硬盘上没有足够的连续空间, without getting caught up in the problems of...

View Article

Image may be NSFW.
Clik here to view.

Vim 中 Java 代码自动完成 - vim-javacomplete2

用 Java 进行编码基本还是离不开 IntelliJ IDEA 或 Eclipse, 看别人完全用 Vim 进行 javascript 项目编程很是眼红,估摸着能不能把 Vim 打造成一个更强的 Java IDE。语法高亮是不在话下,最主要是给它加上自动完成功能,不光对当前类,项目中的方法或变能能提示,而且必须像 Java IDE 那样理解所有的项目依赖。这就是今天试用的一个 Vim 插件...

View Article


Valve are looking to gather a list of games that don't work with radeonsi

Valve developer Pierre-Loup Griffais has tweeted out asking for information on linux games that don't currently work with radeonsi. Is anyone maintaining a list of Linux games that don't work on...

View Article

Image may be NSFW.
Clik here to view.

How to add new games to the NES Classic Edition

The NES Classic Edition has officially been hacked to allow the install of new games, and the mod allows for more than doublethe number of titles to be played. The hack originally appeared on a...

View Article

Image may be NSFW.
Clik here to view.

How to record a region of your desktop as animated GIF on Linux

It won't be a stretch to say - and you'll likely agree - that animated gifs have become a rage in the past few years. While one of the most popular uses of animated gifs is to add humor to the...

View Article
Browsing all 11063 articles
Browse latest View live