Preparation OS & Network settings ## OS version root@gitlab:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 […]
Category: Ops
Ubuntu 24.04 NTP Configuration
Pre-Check ## check OS/kernel version root@baseline:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble root@baseline:~# […]
Ubuntu 24.04 Change hostname
Pre-Check ## check OS/kernel version root@baseline:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble root@baseline:~# […]
Ubuntu 24.04 Static IP Configuration
Pre-Check OS Version ## check OS/kernel version root@baseline:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: […]
Add Hosts for Ansible
System Env [root@ansible ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@ansible ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release […]
How To Install Ansible
System Env OS info [root@ansible /]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) [root@ansible /]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS […]
将VIM变成开发PHP的IDE
NERDTree 目录管理,树状导航 [root@kyle download]# wget -c http://www.vim.org/scripts/download_script.php?src_id=11500 [root@kyle download]# mkdir NERD_tree/ [root@kyle download]# mv NERD_tree.zip NERD_tree/ [root@kyle download]# cd NERD_tree/ [root@kyle NERD_tree]# unzip NERD_tree.zip [root@kyle […]
Network Service
检测网线是否连接 mii-tool [-v, –verbose] [-V, –version] [-R, –reset] [-r, –restart] [-w, –watch] [-l, –log] [-A, –advertise=media,…] [-F, –force=media] [inter- face …] 例如: [root@kyle /]# mii-tool […]