安装Smb服务yum install samba打开服务systemctl start smb systemctl status smb设置开机启动systemctl enable smb配置Samba服务直接在smb.conf 的最后一行添加如下内容:cd /etc/samba/ [repos] comment = repos Directories pa...
树莓派可以用来做服务器、搭建博客或者其他各类网站,搭建时必须在树莓派上安装必要的服务器软件,如 Nginx、PHP 7.3 、MariaDB 、 phpMyAdmin ,即经常说的LNMP套件,只不过这里在树莓派上将MySql换成了版本更新的 MariaDB 。以下是在树莓派上安装LNMP的详细过程。一、安装nginxsudo apt-get install nginx二、安装php 7.3...
安装firewall-cmdfirewall-cmd官网#Debian apt-get install firewalld #Ubuntu apt-get install firewalld #Arch Linux pacman -S firewalld #Kali Linux apt-get install firewalld #CentOS yum install firewalld #...
查看当前python版本[root@localhost ~]# python Python 2.7.5 (default, Oct 14 2020, 14:45:30) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2 Type "help", "copyright", "credits&q...