随笔分类 -  Linux Centos

摘要:1、使用明细 iconv 文件内容转码 iconv -f GB2312 -t UTF-8 机构合并.csv > jghb.csv 2、源文件编码查看 file filename 阅读全文
posted @ 2021-02-07 14:43 算法浪客 阅读(285) 评论(0) 推荐(0) 编辑
摘要:1、在桌面建立 Hyper-V.cmd 文件 内容如下 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.txt 2 阅读全文
posted @ 2020-11-27 16:16 算法浪客 阅读(1921) 评论(0) 推荐(0) 编辑
摘要:1、脚本:renameing.sh for file in `ls | grep .gz` do newfile=`echo file|sed"s/1/2/g"mvfile $newfile done 2、文件批量文件 3、执行sh脚本 sh renameing.sh 20200 阅读全文
posted @ 2020-10-16 14:17 算法浪客 阅读(1504) 评论(0) 推荐(0) 编辑
摘要:Xmanager是一个简单易用的高性能的运行在Windows平台上的X Server软件。它能把远端Unix/Linux的桌面无缝地带到你的Windows上,甚至当你的电脑是在内网或防火墙后,你也能通过SSH协议安全的运行远端的X应用程序。特点包括: -可通过Xcongfig工具设置多个Xmanag 阅读全文
posted @ 2020-10-10 15:53 算法浪客 阅读(780) 评论(0) 推荐(0) 编辑
摘要:1.创建一个组 groupadd 组名 groupadd sftp 2.组下创建一个用户 useradd -g 组名 -s /bin/false 用户名 useradd -g sftp -s /bin/false sftpuser 3.给上述步骤创建的用户设置密码 passwd 用户名 passwd 阅读全文
posted @ 2020-10-10 14:15 算法浪客 阅读(4056) 评论(0) 推荐(0) 编辑
摘要:1、原文件备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2、编辑源列表文件 sudo vim /etc/apt/sources.list 3、将原来的列表删除,添加如下内容(阿里镜像源) deb http://mirrors.a 阅读全文
posted @ 2020-05-14 21:59 算法浪客 阅读(10085) 评论(0) 推荐(0) 编辑
摘要:以上操作结束后ubuntu还学会待机了,还是最初的guest,每次待机都要重新输密码再进入, 很可能我是加多了这一句 1. 用普通用户登录2. 在终端执行sudo -s,然后输入当前登录的普通用户密码,进入到root用户模式3. 执行gedit /etc/lightdm/lightdm.conf4. 阅读全文
posted @ 2020-02-24 22:29 算法浪客 阅读(483) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/7f1b9a203045 torch gpu 安装linux sudo conda install --yes pytorch torchvision cudatoolkit=10.2 -c pytorch https://pytorch.org/ 阅读全文
posted @ 2019-07-01 12:01 算法浪客 阅读(590) 评论(0) 推荐(0) 编辑
摘要:1、nohup 命令操作后台执行程序 后台启动 nohup python app.py params1 > nohup.out 2>&1 & 查看后台进程启动 jobs -l 杀敌进程号 kill -9 进程号 nohup.out 是输出的日志,就是python执行输出的结果 详细参考连接 :htt 阅读全文
posted @ 2019-05-15 15:28 算法浪客 阅读(684) 评论(0) 推荐(0) 编辑
摘要:centos7 安装tomcat 及问题处理(No module named 'gi')(Job for firewalld.service failed because the control) 2019年02月20日 14:01:39 IT_Yl 阅读数:47 centos7 安装tomcat 阅读全文
posted @ 2019-05-08 11:19 算法浪客 阅读(2870) 评论(0) 推荐(0) 编辑
摘要:Linux centos6 端口操作:https://www.cnblogs.com/aipiaoborensheng/p/7676358.html Linux centos7端口操作命令 查看开放端口:firewall-cmd --list-all 开发8080端口 --permanent 代码永 阅读全文
posted @ 2019-04-30 09:43 算法浪客 阅读(808) 评论(0) 推荐(0) 编辑
摘要:第一步 首先使用root登入你的mysql ./mysql -u root -p 你的密码 第二步 备注:也可以添加一个用户名为yuancheng,密码为123456,权限为%(表示任意ip都能连接)的远程连接用户。命令参考如下: grant all on *.* to 'yuancheng'@'% 阅读全文
posted @ 2019-04-18 16:22 算法浪客 阅读(734) 评论(0) 推荐(0) 编辑
摘要:一、安装OpenssL 1、下载的压缩包放在根目录 wget http://www.openssl.org/source/openssl-1.0.2j.tar.gz 2、在文件夹下解压缩,得到openssl-1.0.2j文件夹 tar -xzf openssl-1.0.2j.tar.gz 3、进入解 阅读全文
posted @ 2019-04-17 14:11 算法浪客 阅读(1484) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示