原创 Python基礎總結
Python基礎總結一、數據類型1、字符,傳值 栗子:s='weihua' split: s.split('') 將s字符串轉變爲列表 len : 計算字符長度 type(): 判斷是否爲字符
原创 Linux只讀賬號配置
整個配置的命令如下(主要使用了:Linux bash受限的shell(RESTRICTED SHELL))步驟#1.創建只讀shell# ln -s /bin/bash /bin/rbash#2.創建用戶並指定用戶啓動執行
原创 jenkins自動化發佈python flask模擬流程
一、前提步驟1、安裝gitlab yum -y install policycoreutils openssh-server openssh-clients postfix wget https://mirrors.tun
原创 traceback 模塊
[python] view plain copytry: 1/0 except Exception,e: print e 輸出結果是integer division or modulo by zero,只知道是報了這
原创 zabbix 監控日誌關鍵字
1、客戶端配置[root@mysql zabbix_agentd.conf.d]# pwd/usr/local/zabbix-server/etc/zabbix_agentd.conf.d[root@mysql zabbix_agentd.