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

minikube with WSL kubectl

I recently blogged about how I work with minikube from the windows Subsystem for linux (WSL) , describing some of the friction points and workarounds. At the time I recommended using the Windows...

View Article


Image may be NSFW.
Clik here to view.

5 tips to improve productivity with zsh

The Z shell known as zsh is a shell for linux/Unix-like operating systems. It has similarities to other shells in the sh (Bourne shell) family, such as as bash and ksh , but it provides many advanced...

View Article


Image may be NSFW.
Clik here to view.

Ubuntu 18.04.1 搭建Java环境和HelloWorld

一、搭建Java环境 系统环境 Ubuntu 18.04.1 JDK 8 IDEA 2018.2 1.下载JDK 官网地址: http://www.oracle.com/technetwork/java/javase/downloads/index.html 选择相应的版本,点击jdk,进入下载页面,选择“linux x64”版本的后缀为“xxx.tar.gz”的Liunx压缩包。...

View Article

Find your systems easily on a LAN with mDNS

Multicast DNS, or mDNS, lets systems broadcast queries on a local network to find other resources by name. Fedora users often own multiple linux systems on a router without sophisticated name...

View Article

Image may be NSFW.
Clik here to view.

Linux / Unix Find All The Files Owned By a Particular User / Group

H ow do I list or find all the files owned by a particular system user or group under linux or UNIX like operating systems using command line options? You need to use the find command to search for...

View Article


Image may be NSFW.
Clik here to view.

Create Standard Definition Video files for Raspberry Pi

For the past few years I’ve been creating weird videos that (often) celebrate retro-computing with modern day low-power computing by making a Raspberry Pi connected to an old Apple display monitor...

View Article

Image may be NSFW.
Clik here to view.

Khronos Group Is Working on EXT Extension to Assist Linux Gaming Translation...

Piers Daniell is an Nvidia Principal engineer of 11 years, C/C++ expert specializing in OpenGL and Vulkan. He has confirmed that "members of the Vulkan working group are developing a multi-vendor EXT...

View Article

Raspberry Pi-based ZeroPhone Promises 'an Open-Source, Linux-Powered' Handset

A project to build the $50 phone has been launched on Crowd Supply , promising to deliver "an open-source, linux-powered" handset with "no carrier locks, bloated apps, or data mining" and that...

View Article


Image may be NSFW.
Clik here to view.

Vim-which-key: Vim port of emacs-which-key

vim-which-key Introduction vim-which-key is vim port of emacs-which-key that displays available keybindings in popup. emacs-which-key started as a rewrite of guide-key , very likely, vim-which-key...

View Article


Configuring dnsmasq only for DHCP server in Ubuntu PC

Purpsose To configure my own DHCP server with dnsmasq on my Ubuntu PC. A commercial router is running together. (Actually, I wanted to setup a PXE boot server with dnsmasq .) Environment dnsmasq...

View Article

Image may be NSFW.
Clik here to view.

linux-crontab

最近,需要在linux中使用定时任务。cron就是计划任务的意思。crontab是类unix系统中的一种操作定时任务的指令。也就是说cron是系统的定时任务,crontab是cron的命令。 使用命令查看是否有crontabs安装包(前提是rpm已经安装): rpm -qa|grep crontabs 启动、停止等cron服务: cd /usr/sbin cron start cd...

View Article

OSSEC安全监控环境搭建(docker+yum)安装

一、搭建环境 参看文章: ossec官方安装文档 全网最详细的最新稳定OSSEC搭建部署(ossec-server(CentOS7.X)和ossec-agent(CentOS7.X))(图文详解) 系统:Centos7 计算机 IP ossec-server 172.16.30.23 ossec-agent 172.16.30.24 安装软件及版本: ossec3.0 mariadb5.5.6...

View Article

Image may be NSFW.
Clik here to view.

LVS+Keepalived+MysqlCluster搭建高可用的Mysql系统(实测可行)

LVS+Keepalived+mysqlCluster搭建高可用的Mysql系统(实测可行) 环境 CentOS7.0 -mysql-cluster-gpl-7.1.9a-linux-i686-glibc23.tar.gz keepalived-1.4.2.tar.gz 方案 类型 ip Management node 192.168.1.2 Data node 192.168.1.2 Data...

View Article


Image may be NSFW.
Clik here to view.

Debugging .NET Core on Linux with LLDB

.NET Core is designed to be cross-platform, modular and optimized for cloud. What if there is a exception or a memory issue of a .NET Core application on linux platform? On windows, we have a set of...

View Article

Image may be NSFW.
Clik here to view.

查看一个归档或压缩文件的内容而无需解压它

在本教程中,我们将学习如何在类 Unix...

View Article


S3 sleep with ThinkPad X1 Carbon 6th Generation

Since a few weeks I have the new ThinkPad X1 Carbon 6th Generation and as many people I really like it. The biggest problem is that suspend does not work as expected. The issue seems to be that the X1...

View Article

shell中的fork、source和exec总结(包括环境变量)

摘要:对fork,source和exec三种方式执行shell脚本的总结。 准备知识 1.我们所执行的任何程序,都是由父进程(parent process)所产生出来的一个子进程(child process),子进程在结束后,将返回到父进程去。此一现像在linux系统中被称为 fork。当子进程被产生的时候,将会从父进程那里获得一定的资源分配、及(更重要的是)继承父进程的环境

View Article


RHEL 7上Oracle 莫名宕机 ORA-27300

现象: Oracle 执行job:expdp,数据库实例直接宕掉,报错如下: ORA-27300: OS system dependent operation:semctl failed with status: 22 ORA-27301: OS failure message: Invalid argument ORA-27302: failure occurred at: sskgpwrm1...

View Article

HiDPI configuration of i3-wm in ManjaroLinux

Intro. I installed i3 tiling window manager on Manjarolinux ( xfce edition). It was required to configure HiDPI manually. FYI, if you are going to install ManjaroLinux from scratch, you can install...

View Article

Image may be NSFW.
Clik here to view.

[ Laravel 5.7 文档 ] 进阶系列 ―― 队列

简介 注:Laravel 现在提供了基于 Redis 的,拥有美观的后台和配置系统的 Horizon 队列扩展包,完整信息参考Horizon文档。 Laravel 队列为不同的后台队列服务提供了统一的 API,例如 Beanstalk,Amazon SQS,Redis,甚至其他基于关系型数据库的队列。队列的目的是将耗时的任务延时处理,比如发送邮件,从而大幅度缩短 Web 请求和响应的时间。...

View Article
Browsing all 11063 articles
Browse latest View live