随笔分类 -  linux

摘要:1.查看网卡名称 ifconfig -a 2.设置静态IP vim /etc/network/interfaces # enp3s0 为网卡名称 auto enp3s0 iface enp3s0 inet static address 192.168.0.9 netmask 255.255.255. 阅读全文
posted @ 2023-04-12 23:45 小朋友有很多问号 阅读(54) 评论(0) 推荐(0)
摘要:#!/bin/bashproPath=("text-1" "text-2" "text-3" "text-4");function main(){ for data in "${proPath[@]}"; do echo "${dat... 阅读全文
posted @ 2019-08-22 09:14 小朋友有很多问号 阅读(26) 评论(0) 推荐(0)
摘要:安装 1.进入安装包目录 2.添加可执行权限 chmod -x jdk安装包文件名 3.安装jdk rpm -ivh jdk安装包文件名,注意默认安装的位置是:/usr/java/ 目录下 4.配置环境变量 (a) 编辑profile文件... 阅读全文
posted @ 2018-09-25 22:33 小朋友有很多问号 阅读(36) 评论(0) 推荐(0)