Perfect

天马行空的幻想,游离世俗的小屋

[Debian]默认shell
背景对于Debian系的不熟悉,在一次useradd的踩坑史后,发现与redhat系完全不一样的结果,从而记录。shelldashdash(Debian Almquist Shell)是Debian系中默认的shell,/bin/sh默认指向dash,它主要是为了执行脚本而出现,而不是交互,它速度更
[WSL]安装jetbrains idea
背景为了方便性与可移植性,并且linux上的java性能比win快,因此改用wslg来调用。步骤 这边使用debian11的系统,然后执行以下指令 换为国内源 sed -e 's|^deb http://deb.debian.org|deb http://mirrors.ustc.edu.cn|g'
[WSL]安装Android Studio
背景由于Win系统的不稳定,而且java等编译速度没有linux的快,所以想将AS转移到Linux,但又不想换系统,而现在的wslg已经相对稳定,因此有了此文。步骤 这边使用的是almalinux9的系统,然后执行以下指令 换为国内阿里源 sed -e 's|^mirrorlist=|#mirror
[Android Studio]Task list not built during sync
问题在一次项目新建后,发现:这是由于找不到gradle命名,导致的解决步骤 直接点击Task list not built...在开启的界面中,将如下图的√去掉然后在build。gradle随意改个值sync一下,再改回来sync一下
[Android Studio]Using flatDir should be avoided because it doesn't support any meta-data formats
背景这次用Android Studio升级了Gradle插件,升级后编译,出现如下错误:AGPBI: {"kind":"warning","text":"Using flatDir should be avoided becaus
linux基础命令_yum
yumyum源国内的163和阿里云yum源都失效了,导致Centos 6很多软件无法更新。可以用一下yum源。curl -o /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repocurl -o
[Nginx]限流
Nginx限流
linux基础_SELinux
SELinuxSELinux(Security-Enhanced Linux) 是美国国家安全局(NSA)对于强制访问控制的实现,是 Linux历史上最杰出的新安全子系统。NSA是在Linux社区的帮助下开发了一种访问控制体系,在这种访问控制体系的限制下,进程只能访问那些在他的任务中所需要文件。SE
CentOS7升级curl支持https2与TLS1.3
默认情况下,Centos7的curl版本是7.29,它是不支持http2的 curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.
linux基础_iptables
服务重启命令启动指令:service iptables start重启指令:service iptables restart关闭指令:service iptables stop保存指令:service iptables save注:只修改/etc/sysconfig/iptables 使其生效的办法