一 系统下载 文章内容对应系统版本 Ubuntu Server 20.04.3 LTS 如与实际不符,仅作参考。 首先登录ubuntu官网 https://cn.ubuntu.com/ 下载 Ubuntu Server 20.04系统镜像 直接下载链接 二、从镜像启动安装 设备安装请先通过镜像制作软件烧录到U盘中,我推荐用 rufus ,小巧实用。 设备插入U盘启动盘或者虚拟机挂载ISO镜像,稍等片刻后加载出现语言选择界面。 直接回车选择默认的 English 配置网络实体机最好是先配置好网络,后配的话需要修改ne…

2021年10月22日 0条评论 698点热度 0人点赞 暗暗 阅读全文

树莓派调整交换分区比较简单,只需要找到配置文件直接修改参数再重启服务即可 交换换分区配置文件路径 **/etc/dphys-swapfile ** sudo nano /etc/dphys-swapfile 树莓派默认的Swap参数为100M CONF_SWAPSIZE=100 将为下面的数值改为1024 CONF_SWAPSIZE=1024 Ctrl + O 然后 Ctrl+X 保存 接着重启swapfile服务来让他生效 sudo /etc/init.d/dphys-swapfile stop sudo /et…

2021年7月16日 0条评论 1090点热度 0人点赞 暗暗 阅读全文

1、创建公钥 ssh-keygen 一路回车 2、安装公钥 cd ~/.ssh cat id_rsa.pub >> authorized_keys 3、修改文件权限 sudo chmod 600 authorized_keys sudo chmod 700 ~/.ssh 4、修改ssh配置文件 sudo vi /etc/ssh/sshd_config #下面这个默认开启着 pubkeyAuthentication yes #最后添加两个 RSAAuthentication yes permitROOTl…

2021年7月5日 0条评论 830点热度 1人点赞 暗暗 阅读全文

在树莓派系统中输入ll命令提示 command not found 只能使用 ls -l 用惯了centos系统的童鞋可能有些不习惯。 其实我们可以通过修改配置参数来启用他。 在~/.bashrc文件中本来就有ll别名的代码,只是注释了而已,去掉注释即可。 vi ~/.bashrc 我们找到下面内容,将前面的注释号 # 删除 # some more ls aliases # alias ll='ls -l' # alias la='ls -A' # alias l='ls -CF' 改成 # some more l…

2021年6月29日 0条评论 751点热度 1人点赞 暗暗 阅读全文

什么是Frp Frp 下载地址 https://github.com/fatedier/frp/releases Frp 手册 https://gofrp.org/docs/ 服务端配置 公网的云主机上配置,注意防火墙配置建立入站规则 默认开启7000 下载 wget https://github.com/fatedier/frp/releases/download/v0.34.3/frp_0.34.3_linux_amd64.tar.gz tar -vzxf frp_0.34.3_linux_amd64.tar.…

2021年6月6日 0条评论 1566点热度 1人点赞 暗暗 阅读全文

Systemd 简介 Systemd 配置文件在 /lib/systemd/system/ 目录下,不同类型的文件使用不同的后缀,如: .service .socket .timer 。 常用命令 systemctl status 服务名称.service # 查看服务的状态 systemctl cat 服务名称.service # 查看服务的配置 sudo systemctl start 服务名称.service # 启动服务 sudo systemctl stop 服务名称.service # 停止服务 sud…

2021年6月6日 0条评论 1020点热度 0人点赞 暗暗 阅读全文

首先通过ssh连接到树莓派上 编辑源文件 sudo nano /etc/apt/sources.list 将第一行官方源前面添加 # 号注释掉,最后一行后加上国内的源,请根据自己的喜好选择 #中科大源 deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi #清华大学源 deb http://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os/raspbian/ bus…

2021年6月5日 0条评论 608点热度 0人点赞 暗暗 阅读全文

平时用惯的Ubuntu自带Terminal快捷键,但是Centos默认是没有的,需要自己添加快捷键。需要添加的请安装下列4个步骤添加即可。 下列教程使用的是 Centos7系统 其他版本可能略有不同 点开Applications1 - System Tools - Settings 2.下拉滚动点开Devices选项 找到Keyboard,将右侧往下滚动到底,点击+号进行添加Custom Shortcuts Name 填写Terminal Command 填写 /usr/bin/gnome-terminal 然后设…

2021年2月18日 0条评论 1260点热度 0人点赞 暗暗 阅读全文

关闭Selinux setenforce 0 禁用Selinux sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/sysconfig/selinux

2021年1月20日 0条评论 2176点热度 1人点赞 暗暗 阅读全文

关闭防火墙 systemctl stop firewalld 禁用防火墙 systemctl disable firewalld

2021年1月20日 0条评论 988点热度 0人点赞 暗暗 阅读全文
1234510

Warning: error_log(/www/wwwroot/linuxitellu.com/wp-content/plugins/spider-analyser/#log/log-3118.txt): failed to open stream: No such file or directory in /www/wwwroot/linuxitellu.com/wp-content/plugins/spider-analyser/spider.class.php on line 2900