![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
uuchecknow
这个作者很懒,什么都没留下…
展开
-
ubuntu-destop增加swap空间的方法
如果跑VASP等大型运算,内存又不够用的情况下,可以选择增加swap空间。在destop版本中,1. 选择Disks工具,选择要格式化的区域,继续选择设置-edit Partition-选择swap类型-change。记住盘号。2. mkswap /dev/sdb3 #后面是盘号,创建swap3. sudo swapon /dev/sdb3 #激活swap区以上。...原创 2020-06-09 00:23:17 · 298 阅读 · 0 评论 -
./arch/x86/include/asm/bug.h:35:22error: expected identifier or ‘(’ before string constant、 如何升级gcc
ubuntu安装网卡过程遇到的。经测试是gcc版本(5.4)太低,直接升级到9.3.添加源:sudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get updatesudo apt-get install gcc-9 g++-9sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 20 #原版本sudo update-alternative原创 2020-06-08 01:57:39 · 2081 阅读 · 1 评论 -
libstdc++.so.6: that contain GLIBCXX_3.4.19 error
思路是重新关联新版本的文件curl -O http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6-4.7-dbg_4.7.2-5_i386.debar -x libstdc++6-4.7-dbg_4.7.2-5_i386.deb && tar xvf data.tar.gzmkdir backupcp...原创 2020-03-14 23:22:20 · 239 阅读 · 0 评论 -
Intel(R) Parallel Studio XE 2019 Update 1 for Linux* /make libintel64 出错
cd /opt/intel/compilers_and_libraries_2019.1.144/linux/mkl/interfaces/fftw3xfmake libintel64出错!icc -Wall -Werror 。。。。。error: can't open file obj_intel/fftw_alignment_of.o for write这个问题用sudo是...原创 2020-03-12 22:49:34 · 5005 阅读 · 5 评论 -
centos 7.6 kernel 内核升级和RTL8811CU驱动安装
为了安装RTL8811CU无限网卡驱动:参考:https://github.com/brektrou/rtl8821CURealtek RTL8811CU/RTL8821CU USB wifi adapter driver version 5.4.1 for Linux 4.4.x up to 5.6.x内核准备:要求是4.4到5.6的,这里我选择更新到5.5.9,内核更新主要安装...原创 2020-03-12 21:59:24 · 4846 阅读 · 2 评论 -
Linux、Ubuntu 无线网络慢!可能的解决方法汇总
网上很多方法,不一而足。还是需要找到原因。方法1:如果是Atheros的硬件:终端输入:lshw -C 查看版本sudo suecho "options ath9k nohwcrypt=1" >> /etc/modprobe.d/ath9k.conf重启方法2:关闭802,11n802支持度不好单次:sudo rmmod iwlwifsudo m...转载 2019-04-13 17:09:17 · 4220 阅读 · 0 评论