![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ubuntu
UESTC Like_czw
这个作者很懒,什么都没留下…
展开
-
How to solve ""Your preferences cannot be read." in Google-chrome
I have received an error as followed:“Your preferences cannot be read. Some features may be unavailable and changes to your preferences won’t be saved” on Google Chrome.In an ubuntu os, How to solv...原创 2019-10-13 09:54:55 · 343 阅读 · 0 评论 -
记一次django引入tinymce富文本模块
坏境:ubuntu18.04django 2.21.安装django-tinymcepip install django-tinymce2.添加 tinymce 到settings.py中的 INSTALLED_APPS 中NSTALLED_APPS = ( ... 'tinymce',)3. 静态文件目录配置3.1 复制tinymce找到我们安装的ti...原创 2019-09-07 16:22:40 · 873 阅读 · 0 评论 -
chromedriver: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file
并且在python运行selenium中报错:selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127解决方法$ sudo apt-get install libgconf-2-4...原创 2019-09-06 18:45:18 · 1314 阅读 · 0 评论 -
ubuntu 18.04下载并配置pycharm桌面快捷方式
1. 官网下载2. 解压安装 tar -zxvf pycharm.tar.gz mv pycharm /opt/3.创建快捷方式 sudo vim /usr/share/applications/pycharm.desktop4. pycharm.desktop写入 [Desktop Entry]Version=1.0Type=ApplicationName=P...原创 2019-09-06 15:18:54 · 477 阅读 · 0 评论 -
ubuntu18.04 解决chrome在root权限用户下不可使用
1. 查看goole-chrome文件所在位置进入 /usr/share/applications/我们安装的应用程序一般都在里面,找到goole-chrome,右键查看属性可以看到真正的文件其实在/usr/bin中,切换到该目录并打开goole-chrome文件编辑(vim 和gedit均可)2.编辑文件将exec -a “$0” “HERE/chrome” "@"改为exec -...原创 2019-09-06 15:13:57 · 1400 阅读 · 0 评论 -
Ubuntu18.04 普通用户提升到root权限
1、编辑passwd文件sudo vim /etc/passwd2、找到你的用户(比如test),将用户名后面的数字改成 0找到用户testtest:x:1000:1000::/home/test修改权限test:x:0:0::/home/test3、重启电脑,登录test账户。...转载 2019-09-06 10:57:15 · 6003 阅读 · 1 评论 -
ubuntu 18.04安装mysql配置
参考配置1配置2转载 2019-09-06 10:10:13 · 128 阅读 · 0 评论 -
ubuntu18.04下配置chrome和chormedriver
转载至简书一、安装Chrome浏览器1.安装依赖sudo apt-get install libxss1 libappindicator1 libindicator72.下载Chrome安装包wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb3.安装sudo dpkg -i ...转载 2019-09-06 09:07:34 · 307 阅读 · 0 评论 -
ubuntu 18.04笔记
Ubuntu 18.04 入门知识点整理linux 中环境变量的设置echo $PATH 可以查看环境变量用于当前终端只适用于当前终端,一旦当前终端关闭或在另一个终端中,则无效。export PATH="/home/like/anaconda3/bin:$PATH"export PYTHONPATH="home/like/anaconda3/bin:$PYTHONPATH"用于当前...原创 2019-04-14 10:15:46 · 16654 阅读 · 0 评论