安裝centOS之後

2021-06-22 04:40:11 字數 282 閱讀 4622

1.安裝中文輸入法。

2.配置vim

vim /etc/vimrc,修改配置檔案root下編輯,wq!強制儲存退出

顯示行號,set nu 

統一縮排為4,

set softtabstop=4,

set shiftwidth=4

繼承前一行的縮排方式,特別適用於多行注釋,set autoindent

為c程式提供自動縮排,set smartindent

使用c樣式的縮排,set cindent

3.未完待續

Linux之centos系統安裝之後網路的配置

首先更改eth0的配置 開啟檔案 vi etc sysconfig network scripts ifcfg eth0 具體內容如下 device eth0 hwaddr 00 0c 29 e2 df 4c type ethernet uuid 345a20c2 1d0e 4afd 8619 e7...

阿里雲centOS安裝uwsgi之後測試失敗的原因

報錯 spawned uwsgi worker 1 and the only pid 22867,cores 1 解決思路 方法一 在測試uwsgi之前,你需要做好了以下工作 前置條件 我用的阿里雲伺服器建立的例項,使用的centos8 python3.6.8 基本條件 都檢查了,還是報錯。方法二 ...

安裝Ubuntu之後

一.ubuntu is better than fedora i used to use utuntu 14.04,it s a lts long term support edition.i don t know why it s so weak and it always crash.i can...