软件工具

linux添加新用户

1、添加用户:useradd -m 用户名;设置密码passwd 用户名 2、删除用户:userdel -r 用户名 3、用新建的用户登录时,只显示$符号,不显示用户名和路径:切换到root用户,使用命令usermod修改shell类型,usermod -s /bin/bash 用户名

screen简单的命令

在进行远程连接时,使用screen -S name命令新建了一个screen 按ctrl+a,再按d退出该screen,但在该screen下的程序还会一直在运行 按ctrl+a,再按k,终止该screen screen -ls 展示所有screen screen -r 回退到之前的screen,如果不能回退,就先screen -d ###,再screen -r screen -S ### -X q… 阅读更多 »screen简单的命令

anaconda安装

参考链接:https://docs.anaconda.com/anaconda/install/linux 1、去官网下载对应版本的anaconda。 2、安装anaconda:bash anacondaxxxx.sh 3、安装过程中可以自由选择安装路径,比如安装在/home/code/python/anaconda2路径下 4、修改环境变量:vi /etc/profile,在文档最后添加 exp… 阅读更多 »anaconda安装

jupyter远程访问

参考链接:https://blog.csdn.net/simple_the_best/article/details/77005400 1、安装jupyter:sudo pip install jupyter (个人先是激活了虚拟环境py2(在py3中没成功,原因待解决),然后在虚拟环境中安装的jupyter) 2、添加jupyter配置文件:jupyter notebook –generate… 阅读更多 »jupyter远程访问

python3.7安装

1、输入命令wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0b2.tgz ,下载python文件 2、解压缩 tar -zxvf Python-3.7.0b2.tgz 3、cd Python-3.7.0b2 进入文件夹 4、./configure –prefix=/usr/local –with-ssl 5、make &… 阅读更多 »python3.7安装

stanfordparser使用

1、新建maven项目 2、在本地添加stanford-parser.jar、stanford-parser-3.9.1-models.jar。(如何用maven在本地添加jar,见IntelliJ 常见问题) 3、在项目中引用这两个jar 4、复制data文件夹、ParserDemo、ParserDemo2文件,在运行参数中设置:edu/stanford/nlp/models/lexparser… 阅读更多 »stanfordparser使用

vps搭建ss

参考链接:https://teddysun.com/342.html 1、输入如下命令:wget –no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh chmod +x shadowsocks.sh .… 阅读更多 »vps搭建ss