查看磁盘使用情况
df -lh
提示 pm2 找不到
npm install -g pm2
安装yarn
npm install -g yarn
vi找不到环境变量的时候不能用 这样操作
/usr/bin/vim /etc/profile
# apt-get install yum
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package yum
解决:# sudo apt-get update,然后在执行就正常
解决问题——SQLyog连接报错:Host ''xxx.xx.xxx.xxx'' is not allowed to connect to this MySQL server
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'xxxx' WITH GRANT OPTION;
FLUSH PRIVILEGES;
jdk-8u281-linux-x64.tar.gz
(1) 重启后永久性生效:
开启:chkconfig iptables on
关闭:chkconfig iptables off
(2) 即时生效,重启后失效:
开启:service iptables start
关闭:service iptables stop
Linux琐碎问题
最新推荐文章于 2022-06-23 23:03:59 发布