随笔分类 - linux就该这么学
此内容为(linux就该这么学)这本书的内容摘取。
摘要:1、重置root密码#LANG=en_US.UTF-8 \ rd.break或者LANG=en_US.UTF-8 \ init=/bin/sh#mount -o remount,rw /sysroot#chroot /sysroot#passwd#touch /.autorelabel#exit#r
阅读全文
摘要:Apache 服务部署静态网站1、配置好自己的yum仓库。命令:#mkdir /media/cdrom #mount /dev/cdrom /media/cdrom#vim /etc/yum.repos.d/centos7.repo[centos7]name=centos7baseurl=file:
阅读全文
摘要:Samba 或 NFS 实现文件共享Samba 文件共享服务[root@linuxprobe ~ ]# yum install samba 服务端安装samba程序[root@linuxprobe ~]# mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
阅读全文
摘要:DHCP服务1、部署 dhcpd 服务程序[root@linuxprobe ~]# yum install dhcpdhcpd 服务程序配置文件中使用的常见参数以及作用ddns-update-style [类型] 定义 DNS 服务动态更新的类型,类型包括 none(不支持动态更新)、interim
阅读全文
摘要:iscsi网络存储1、配置 iSCSI 服务端[root@linuxprobe ~]# yum -y install targetd targetcli[root@linuxprobe ~]# systemctl start targetd[root@linuxprobe ~]# systemctl
阅读全文
摘要:vsftpd 服务准备工作:#iptables -F 清空防火墙#service iptables save 保存服务#yum -y install vsftpd 安装服务#mv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf_bak#grep -v
阅读全文
摘要:MariaDB 数据库管理系统 1、初始化 MariaDB 服务[root@linuxprobe ~]# yum install mariadb mariadb-server 安装服务[root@linuxprobe ~]# systemctl start mariadb 开启应用[root@lin
阅读全文

浙公网安备 33010602011771号