Linux簡單測試

2021-09-25 09:00:09 字數 452 閱讀 5306

1.安裝ubuntu server ,使用者名稱 user 密碼123456

2.建立使用者 student和yasuo 密碼都是 123kuaile , 刪除使用者 yasuoi

3.user桌面 建立四個資料夾,命名dir1 ,dir2, dir3,web,內部建立空白檔案:test.txt,test.py,test.sh

4.歷史指令重定向到 dir1/test.txt

5.dir2/test.py 執行 迴圈5次列印helloworld

6.dir3/test.sh 執行 迴圈5列印 helloworld

7.檢視ip位址,開啟ssh ,root登陸

9.配置ftp服務

10.安裝nginx服務,配置網頁路徑為 桌面的web

12.桌面所有內容 打包備份

13.桌面所有內容 許可權 改為 rwxrw-r–

14.刪除桌面所有內容

ldap簡單測試

建立乙個賬號,以備客戶端測試登陸 useradd test1 passwd test1 這些使用者只是在系統上的,要是要將這些用的資訊匯入ldap資料庫中,要生成字尾為ldif的檔案。這是文字檔案,手動可以書寫。鑑於我使用的這個例子是匯入linux系統的所有使用者資訊,要手動書寫就比較麻煩了,這裡我...

libcoap 簡單測試

最近在研究coap,打算使用libcoap體驗一下coap,在網上找了些資料,整理如下。libcoap c implementation of coap sudo apt get install autoconf automake libtool git clone cd libcoap autog...

Lombok簡單測試

常用的幾個註解 data 注在類上,提供類的get set equals hashcode canequal tostring方法 allargsconstructor 注在類上,提供類的全參構造 noargsconstructor 注在類上,提供類的無參構造 setter 注在屬性上,提供 set...