
linux
文章平均质量分 64
linux运维,开发
蜡津
这个作者很懒,什么都没留下…
展开
-
libstdc++.so.6: cannot open shared object file: No such file or directory
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directoryDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/bin/yum", line 57, in from dnf.cli imp原创 2022-11-01 20:35:24 · 2118 阅读 · 0 评论 -
linux系统中iptables、fireword、selinux、hosts.allow 、hosts.deny、ssh和sshd安全访问区别和联系
linux系统中iptables、fireword、selinux、hosts.allow 、hosts.deny、ssh和sshd安全访问区别和联系原创 2022-06-21 11:29:36 · 1585 阅读 · 0 评论 -
如何清理Linux Swap分区
通过free -h 可以看到swap不断的减小,直到为0。原创 2022-04-27 10:40:29 · 2623 阅读 · 0 评论 -
升级 openssl 至 1.1.1(方法二)
1、解压 unzip openssl-OpenSSL_1_1_1.zip 2、配置 cd openssl-OpenSSL_1_1_1 && ./config shared zlib 3、编译 nohup make -j8 &> ./makelog & 4、安装 make install 注意: 以root用户安装,避免可能的问题 默认安装在/usr/local/bin目录 头文件在/usr/local/include/..原创 2022-02-11 11:42:40 · 6657 阅读 · 0 评论 -
升级 openssl 至 1.1.1(方法一)
pg编译安装时遇到openssl版本的问题,报错如下:升级openssl版本cd openssl-OpenSSL_1_1_1mkdir /usr/local/openssl./config --prefix=/usr/local/opensslmake -j 4make installcd /usr/local/openssl配置环境变量export OPENSSL_HOME=/usr/local/opensslexport PATH=/data/pg12.5/bin:$O.原创 2022-02-11 11:41:23 · 2162 阅读 · 0 评论 -
xshell连不上主机,解决方法
昨天连接虚拟机还好好的,今天早上来公司无法连接,emo.......回想昨天都干了啥?升级了openssl版本。。。。。,并没有问题呀,还原回能连接的记录如下[root@node2 ~]# ll /lib64/libcrypto*lrwxrwxrwx. 1 root root 19 1月 18 13:24 /lib64/libcrypto.so.10 -> libcrypto.so.1.0.2k-rwxr-xr-x. 1 root root 252133...原创 2022-02-11 10:36:43 · 1158 阅读 · 0 评论 -
物理内存和虚拟内存
我们都知道,直接从内存读写数据要比从硬盘读写数据快得多,因此更希望所有数据的读取和写入都在内存中完成,然而内存是有限的,这样就引出了物理内存与虚拟内存的概念。物理内存就是系统硬件提供的内存大小,是真正的内存。相对于物理内存,在 Linux 下还有一个虚拟内存的概念,虚拟内存是为了满足物理内存的不足而提出的策略,它是利用磁盘空间虚拟出的一块逻辑内存。用作虚拟内存的磁盘空间被称为交换空间(又称swap 空间)。作为物理内存的扩展,Linux 会在物理内存不足时,使用交换分区的虚拟内存,更详细地说,就是内核.转载 2022-01-19 18:04:58 · 1946 阅读 · 0 评论