随笔分类 -  [33] Linux/Unix

1 2 3 4 5 ··· 7 下一页
摘要:REF http://blog.itpub.net/23556054/viewspace-1115506/ 查看 oracle 数据库是否启动: 一、LINUX: 1、用 ps -ef|grep ora 查看,是否有oracle的进程,linux下还可以用ipcs查看 2、查看监听的方法 cd /o 阅读全文
posted @ 2021-12-17 11:13 emanlee 阅读(783) 评论(0) 推荐(0) 编辑
摘要:如果要跟项目组的其他人共享数据,但是其他人的文件都放在自己的home目录下(比如/home/user1),需要修改权限主要有2部分。 1.创建一个公用的组,把需要访问的用户都加到这个组里。比如都加入到data组 usermod -a -G data user2 usermod -a -G 用户组 用 阅读全文
posted @ 2021-09-25 17:24 emanlee 阅读(1837) 评论(0) 推荐(0) 编辑
摘要:\r:回车,ASCII码13 r->return \n:换行,ASCII码10 n->newline 在Windows中: '\r' 回车,回到当前行的行首,而不会换到下一行; '\n' 换行,换到当前位置的下一行,而不会回到行首; \r与\n的区别: \r : return 到当前行的最左边。 \ 阅读全文
posted @ 2021-09-11 09:15 emanlee 阅读(3186) 评论(0) 推荐(0) 编辑
摘要:1、首先安装 Anaconda 3。 可以打开命令行输入 conda -V 检验是否安装以及当前conda的版本。 开始菜单中找到 Anaconda Prompt(Anaconda3),打开。 (base) C:\Users\Administrator>conda -V conda 4.9.2 2、 阅读全文
posted @ 2021-05-31 23:42 emanlee 阅读(314) 评论(0) 推荐(0) 编辑
摘要:# cat > test.txt123456# more test.txt123456# xargs -l2 < test.txt | more1 23 45 6 阅读全文
posted @ 2021-05-13 19:50 emanlee 阅读(1656) 评论(0) 推荐(0) 编辑
摘要:例如:a="033" 1,用${{a}} 2,用let达到(()) 运算效果。 let num=033; echo $num; 3,双括号运算符: a=$((1+2)); echo $a; 等同于: a=`expr 1 + 2` REF https://blog.csdn.net/longshenl 阅读全文
posted @ 2021-04-28 21:56 emanlee 阅读(13572) 评论(0) 推荐(0) 编辑
摘要:split -l 200 all_prefetch_cmd.sh --additional-suffix=.sh -d -a 2 down_ 200 行 后缀 .sh down_00.sh down_01.sh down_02.sh 阅读全文
posted @ 2021-03-12 11:06 emanlee 阅读(434) 评论(0) 推荐(0) 编辑
摘要:mount -t ntfs-3g /dev/sdc /mnt/disk_12TB_end11ACNTFS signature is missing.Failed to mount '/dev/sdc': 无效的参数The device '/dev/sdc' doesn't seem to have 阅读全文
posted @ 2021-03-11 17:02 emanlee 阅读(1475) 评论(0) 推荐(0) 编辑
摘要:ifconfig 显示全部网卡 yum install iftop iftop -PB 使用iftop -PB来监控各进程网络速率情况,可以查看各端口的网络速率情况 iftop -i em1查看一个网卡的流量 nload 用上下箭头翻页 REF https://blog.csdn.net/yyws2 阅读全文
posted @ 2021-03-11 14:08 emanlee 阅读(8984) 评论(0) 推荐(0) 编辑
摘要:yumThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: /usr/lib64/python2.7/site-packag 阅读全文
posted @ 2021-02-05 10:50 emanlee 阅读(1621) 评论(0) 推荐(0) 编辑
摘要:MariaDB 数据库管理系统是 MySQL 的一个分支,主要由开源社区在维护,采用 GPL 授权许可。 开发这个分支的原因之一是:甲骨文公司收购了 MySQL 后,有将 MySQL 闭源的潜在风险,因此社区采用分支的方式来避开这个风险。MariaDB完全兼容mysql,使用方法也是一样的.有的ce 阅读全文
posted @ 2021-02-05 09:35 emanlee 阅读(2702) 评论(0) 推荐(0) 编辑
摘要:下载 anaconda3 https://www.anaconda.com/products/individual wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh 安装 bash Anaconda3-2 阅读全文
posted @ 2021-02-04 14:05 emanlee 阅读(201) 评论(0) 推荐(0) 编辑
摘要:1、查看当前的系统时间:# date 2、 查看当前时区$ timedatectl status 3、修改时间# date -s "2019-06-25 20:13:00"4、修改时区# timedatectl set-timezone Asia/Shanghai 阅读全文
posted @ 2020-11-08 16:56 emanlee 阅读(685) 评论(0) 推荐(0) 编辑
摘要:CentOS 7.8是CentOS 7.x最后一个版本,本以为这个版本应该很完美,而且会解决7.6里对压缩包点右键没有“在当前目录解压”的选项的bug,实际试了一下比较失望,这个选项按钮还是没出现,反倒出现了一个新问题,即VMware 15(这里用的是当下最新的15.5.1)下用CentOS 7.8 阅读全文
posted @ 2020-11-05 12:56 emanlee 阅读(937) 评论(0) 推荐(0) 编辑
摘要:Linux:centos下载、安装、卸载.run文件(centos7安装xampp) 1、下载wget https://www.apachefriends.org/xampp-files/7.3.6/xampp-linux-x64-7.3.6-0-installer.run2、安装2.1、设置权限c 阅读全文
posted @ 2020-11-05 12:14 emanlee 阅读(1755) 评论(0) 推荐(0) 编辑
摘要:passwd -d 用户名 root可以取消其他用户的密码 阅读全文
posted @ 2020-11-05 12:03 emanlee 阅读(1099) 评论(0) 推荐(0) 编辑
摘要:收藏: https://blog.csdn.net/wylfengyujiancheng/article/details/67643293 https://www.cnblogs.com/alusss/p/12292518.html 前提: 1 CentOS安装桌面,如果无桌面,请执行 # yum 阅读全文
posted @ 2020-11-05 08:30 emanlee 阅读(2365) 评论(0) 推荐(0) 编辑
摘要:风险: 系统: ssh、yum不可用,需按文末步骤安装数据: 从实验来看,不会清空 /opt、/home、/var 目录下的用户数据,部分应用(如Jenkins)会自动更新版本 详细步骤: 查看版本对应关系: https://www.cnblogs.com/emanlee/p/13594584.ht 阅读全文
posted @ 2020-11-04 15:13 emanlee 阅读(2363) 评论(0) 推荐(0) 编辑
摘要:升级后查看版本为新的版本。 但是:无法正常编译。 Paste the steps: 1. Easy installation Operating environment CentOS6.5 64bit, the original version 4.4.7, cannot support the f 阅读全文
posted @ 2020-11-03 08:32 emanlee 阅读(1225) 评论(0) 推荐(0) 编辑
摘要:Linux编译安装OpenBLAS的时候报/usr/bin/ld: cannot find -lgfortran的错误,会发生这种情况的原因一般有下面三种原因: 系统没有安装相对应的lib 相对应的lib版本不对 lib的symbolic link不对,没有连接到正确的函式库文件 因为报的是lgfo 阅读全文
posted @ 2020-11-02 22:16 emanlee 阅读(2374) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 7 下一页