摘要: 指令 whoami:显示当前有效用户名,用来确认当前登录的是哪个用户 pwd:显示当前所在目录的绝对路径 su:切换用户身份,默认切换到 root,例如 su - root,需要目标用户密码 echo:输出文本或变量内容,例如 echo hello、echo $HOME,也可配合 > 或 >> 写入 阅读全文
posted @ 2026-09-15 20:02 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: 在VMWare虚拟机中安装麒麟操作系统 1.打开VMWare,点击创建新的虚拟机 2.选择典型,点击下一步 3.选择提前下载好的虚拟机文件 4.选择系统 5.输入虚拟机名称,选择安装位置 6.设置磁盘大小 7.点击完成 8.点击开启此虚拟机 9.选择语言 10.接受许可信息 11.结束配置即可 阅读全文
posted @ 2026-09-08 19:09 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: 信息登陆页面 <body> <form action="" method="post"> <div> <h1>个人信息</h1> </div> <div> <label>头像:<input type="file" name="pic"></label> </div> <div> <label>个人说 阅读全文
posted @ 2026-07-09 21:12 feng-luo 阅读(11) 评论(0) 推荐(0)
摘要: 利用border-radius制作圆 html <body> <div class="circle"> 1 </div> </body> css .circle{ margin: 0 auto; width: 100px; height: 100px; background-color: red; 阅读全文
posted @ 2026-06-28 22:40 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: 弹性盒子布局 html <body> <h1>flex-start</h1> <div class="container1"> <div class="item1"></div> <div class="item2"></div> <div class="item3"></div> </div> < 阅读全文
posted @ 2026-06-28 22:40 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: 图文卡片布局 <div class="box1"> <!-- 卡片容器 --> <div class="img1"> <!-- 图片区 --> <img src="./img/icon3.jpg" alt="" /> </div> <div class="txt"> <!-- 文字区 --> <h2 阅读全文
posted @ 2026-06-17 07:57 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: 轮播图 <style> div.content{ width: 200px; height: 200px; margin: 0 auto; } li{ float: left; list-style-type: none; } a{ color: #000; text-decoration: non 阅读全文
posted @ 2026-06-07 22:40 feng-luo 阅读(8) 评论(0) 推荐(0)
摘要: /*第一张图移动到第二张图的位置上*/ img:first-child{ transform: translate(60px); } 阅读全文
posted @ 2026-05-31 21:32 feng-luo 阅读(9) 评论(0) 推荐(0)
摘要: 相对位置绝对位置 .parent{ margin: 100px auto; width: 800px; height: 400px; border: 10px solid red; /*父级设置为相对*/ position: relative; } .son{ width: 100px; heigh 阅读全文
posted @ 2026-05-25 20:55 feng-luo 阅读(14) 评论(0) 推荐(4)
摘要: 服务器字体 div{ margin: 0 auto;/*容器相对于浏览器居中*/ width: 800px; font-size: 16px;/*默认字号*/ font-family: "微软雅黑";/*默认字体*/ /*em适用于首行缩进2字符*/ background-color: #00FF0 阅读全文
posted @ 2026-05-20 08:15 feng-luo 阅读(16) 评论(0) 推荐(4)