![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
BLXXQQ
努力不一定会成功,不努力你一定会失败~
展开
-
ubuntu20.04 chia-plotter部署
ubuntu20.04 chia-plotter部署1.检查是否开启ssh没有则安装:1.sudo apt-get install -y openssh-server && sudo systemctl start sshd && sudo systemctl enable sshd2.sed -i "s/PermitRootLogin yes/PermitRootLogin prohibit-password/g" /etc/ssh/sshd_config 3.s原创 2021-08-18 22:27:29 · 1853 阅读 · 2 评论 -
ubuntu20.04中设置开机自动执行脚本
ubuntu20.04中设置开机自动执行脚本1.建立xiaoqiang.servicesudo vim /etc/systemd/system/xiaoqiang.service2.复制到下列内容到xiaoqiang.service文件中[Unit]Description=/etc/xq.local CompatibilityConditionPathExists=/etc/xq.local [Service]Type=forkingExecStart=/etc/xq.local s原创 2021-08-18 22:21:28 · 1287 阅读 · 0 评论 -
Ubuntu20.04实验Keepalived+Nginx高可用Web负载均衡
Ubuntu20.04 Keepalived+Nginx高可用Web负载均衡测试:master:192.168.60.151slave: 192.168.60.152real-server:192.168.60.153上面是:主-次-真实服务器的三个地址主、备安装nginx和keepalived主、备安装:sudo apt-get update -y && sudo apt-get upgrade -y #更新系统apt install -y nginx keepal原创 2021-08-18 22:20:18 · 719 阅读 · 0 评论 -
ubuntu20.04安装部署samba
ubuntu20.04安装部署samba安装samba包$ sudo apt install -y samba配置防火墙samba属于firewalld内置的服务, 可以直接加$ sudo firewall-cmd --add-service=samba创建用户客户端通过samba进行认证的用户必须首先是Linux系统中的用户, 不过不用配置密码, 密码用专门的smbpasswd命令进行设置$ sudo useradd xiaoqiang$ sudo smbpasswd -a xiao原创 2021-08-18 22:19:31 · 1229 阅读 · 1 评论 -
Ubuntu 20.04上[安装FTP服务器]
Ubuntu 20.04上[安装FTP服务器]使用以下apt命令安装vsftpd软件包:sudo apt updatesudo apt upgradesudo apt install vsftpd在Ubuntu系统上配置FTP服务器配置文件vim /etc/vsftpd.conflisten=NOlisten_ipv6=YESanonymous_enable=NOlocal_enable=YESdirmessage_enable=YESuse_localtime=YESxfer原创 2021-08-18 22:17:41 · 1253 阅读 · 1 评论 -
Ubuntu 20.04 Server 安装nfs
Ubuntu 20.04 Server 安装nfs1.服务器端配置安装sudo apt install nfs-kernel-server2.查看nfs版本信息安装完成后,NFS 服务将会自动启动,默认在Ubuntu 20.04上NFS2 被禁用,NFS3和NFS4以上可以使用。查看NFS的版本信息 + 表示支持 - 表示不支持cat /proc/fs/nfsd/versions -2 +3 +4 +4.1 +4.23.创建nfs目录在这里我在/opt目录下创建了nfsv4根目录及xi原创 2021-06-16 01:28:33 · 4351 阅读 · 0 评论 -
ubuntu系统安装
ubuntu20.04系统安装在弹出的“Welcome”界面中,需选择所需安装的系统语言及试用系统(Try Ubuntu)还是安装系统(Install Ubuntu),此处应该选择Install Ubuntu,另外,强烈建议语言处选择English,而不要选择中文,以免安装后文件夹名称中出现中文而在使用过程中不方便命令的输入;在“keyboard layout”选项界面,需指定键盘布局格式,此处采用默认即可,并强烈建议不要改选其他配置,否则安装后键盘的键值和你所使用的键盘按键顺序匹配不上;在原创 2021-05-28 15:48:58 · 2866 阅读 · 0 评论