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

Image may be NSFW.
Clik here to view.

Community editions news Cinnamon, Mate, Gnome, Budgie

Lots of news from the Manjaro Community! With the release of Manjaro Cinnamon 16.10.2 we are happy to announce the availability of the complete stack of X-apps on Manjarolinux. The group of light and...

View Article


Image may be NSFW.
Clik here to view.

在 Linux 上使用 Glyphr 设计自己的字体

在 linux 上使用 Glyphr 设计自己的字体 3小时前来源:Linux中国 LibreOffice 提供了丰富的字体,并且用户可以自由选择和下载增加自己的字体。然而,就算是你想创造自己的字体,也可以非常容易地使用 Glyphr 来做到。Glyphr...

View Article


week5

1、显示当前系统上root、fedora或user1用户的默认shell; useradd fedorauseradd user1egrep "^(root|fedora|user1)" /etc/passwd | cut -d: -f1,7 2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello(); grep -E -o...

View Article

Testing connectivity using netcat on RHEL/CentOS

In this post I am going to show you how to test connectivity to a server on specific ports, essentially port scanning. We will perform these tests using a tool called netcat , which is a versatile...

View Article

Linux/Mac下设置SSH跳板机

需求 当我们需要登录某一个服务器集群下的某些内网机器时,需要通过该内网中某一个具有外网权限的机器来做跳板机,实现登录到该内网机中. 方法一 ssh 目标机器登录用户@目标机器IP -p 目标机器端口 -o ProxyCommand='ssh -p 跳板机端口 跳板机登录用户@跳板机IP -W %h:%p' 方法二 在 $HOME/.ssh 目录下建立/修改文件 config Host tiaoban...

View Article


深度剖析Linux与Windows系统的区别(长文,带图)

深度剖析linux与windows系统的区别(长文,带图) 一点号Linux资讯速推4小时前 深度剖析Linux与Windows系统的区别(长文,带图)...

View Article

Image may be NSFW.
Clik here to view.

RHEL6.8编译安装LAMP环境:httpd-2.4+mysql5.6+php5.5;基于LAMP环境部署WordPress

本文大纲: 1、安装前准备 2、编译安装Apache 3、源码编译安装mysql数据库 4、编译安装php 5、配置httpd服务,使其支持php 6、安装Xcache加速器 7、启用服务器状态页面 8、PHP连接Mysql测试 9、基于LAMP环境,部署WordPress 所有软件包的网站下载地址: apr和apr-util:http://apr.apache.org/ httpd:...

View Article

Image may be NSFW.
Clik here to view.

Give your eyes a break in the evenings with Redshift

Eyes hurting at night from the glare of your screen? Perhaps it's even affecting your sleep? Then maybe you should give Redshift a try, a program similar to Twilight on Android and inspired by the...

View Article


Flink -- Failover

JobManager failover LeaderLatch private synchronized void setLeadership(boolean newValue) { boolean oldValue = hasLeadership.getAndSet(newValue); if ( oldValue && !newValue )...

View Article


GDAL

Main references http://www.gdal.org/ 《GDAL源码剖析与开发指南》Chapter 9 Cheat sheet for GDAL/OGR command-line geodata tools Vector operations Get vector information ogrinfo -so input.shp layer-name Or, for all...

View Article

Image may be NSFW.
Clik here to view.

SQL Server on Linux: Runs well in spite of internal quirks. Why?

First LookMicrosoft has released a public preview of SQL Server for linux, and I took it for a spin. There are three supported platforms for SQL Server on Linux, these being Red Hat Enterprise 7.2,...

View Article

Image may be NSFW.
Clik here to view.

零停重启程序工具Huptime研究

8.系统调用钩子辅助 6 9.被勾住系统调用 exit 6 10.被勾住系统调用 listen 7 11.SymbolVersioning 8 12.勾住 bind 等系统调用 10 1.官网 https://github.com/amscanne/huptime 2.功能...

View Article

Image may be NSFW.
Clik here to view.

IntelliJ IDEA在Linux下字体不正常解决方案

之前遇到了一件奇怪的事,WebStorm中字体正常,IDEA直接导入WebStorm的设置备份也还是不行,如图所示。 本来这事也就放着不管了,昨天和Shaoxing聊天提到了这事,他提醒我正常情况下IDEA系列应该都是自带JDK的,于是我查了一下IDEA有带和不带JDK两个版本,自带JDK的会针对HiDPI和字体做一些优化。...

View Article


LIO -fb in Debian

LIO -fb is the new SCSI Target for Debian. Previously, we maintained the LIO tools from the pre-fork upstream branch. But, with good reasons, we've now moved to the newer -fb (Free Branch). As the...

View Article

Image may be NSFW.
Clik here to view.

bash求N阶【斐波那契数列】 3种实现(含递归解析图)

本文永久地址为 http://www.178linux.com/?p=60651&preview=true 【版权所有】转载请说明作者【Jev Tes】 本文导航 零、关于斐波那契数列 斐波那契数列又称黄金分割数列,因数学家列昂纳多斐波那契以兔子繁殖为例子而引入,故又称为“兔子数列”, 指的是这样一个数列: 0 、 1 、 1 、 2 、 3 、 5 、 8 、 13 、 21 、 34...

View Article


Image may be NSFW.
Clik here to view.

How to install and use 7zip file archiver on Ubuntu Linux

If you are a Microsoft windows user, and your work involves sending/receiving large files over network, there's quite a possibility that you'd have at-least heard of (if not used) the 7zip tool. For...

View Article

用 Supervisor 监听程序运行

今天发现之前搭的 nexus maven manager 服务挂了,被要求解决挂了之后不能自动重启的问题。本来想写个 shell 糊弄一下,请教了一下公司的后端小哥得知了 supervisor。其实 supervisor 之前倒也「用」过,阴影中的袜子官方文档貌似就介绍过它的使用,查了一下文档发现用起来很方便,应该是此类问题的最佳实践了,这里稍微记录一下基本用法。 安装 使用 python...

View Article


Image may be NSFW.
Clik here to view.

Centos6系统救援模式

CentOS 6系统救援模式 在学习了CentOS 5、6系统启动流程与启动故障排除之后,为了加深印象进行了如下破坏性尝试。 删除/boot目录与/etc/fstab文件后尝试修复系统 1. 首先是第一步删除/boot目录与/etc/fstab 删除/boot /etc/fstab 可以看到虽然boot目录无法删除但是目录中的文件已经全部删掉了。 2....

View Article

Image may be NSFW.
Clik here to view.

Linux平台C语言Socket编程练习之多线程服务器

0x00 要求 采用多线程并发服务器技术,服务器可以同时接受多个客户的请求。具体要求如下: 服务端 接收并显示与之连接的客户端的名称; 接收客户端发来的字符串,显示出来,并对字符串做反转处理,最后将处理后的字符串发回给客户。 客户端 根据客户输入的服务器IP地址,向服务器发起建立连接的请求; 接收客户输入的客户端名称,并把该客户端名称发给服务器; 接收客户输入的字符串,将字符串发送给服务器;...

View Article

Image may be NSFW.
Clik here to view.

How to Build Your Own Bootable Linux Live CD

A live CD How To Make Your Own windows Live CD How To Make Your Own Windows Live CD Read More (or “live disc”) is a bootable CD, DVD, or USB drive with an operating system ready to run when the disk...

View Article
Browsing all 11063 articles
Browse latest View live