ubuntu常见问题配置

来源:互联网 发布:wifi网络嗅探器破解版 编辑:程序博客网 时间:2024/06/13 06:04

用ubuntu已经挺久了,把搜集的或者自己的一些竟然写上来,如有引用他人的,没有提及,敬请见谅

1、针对thinkpad等某些无线网卡不稳定:http://forum.ubuntu.org.cn/viewtopic.php?f=116&t=462588

$sudo passwd root$su$sudo echo "options rtl8723be fwlps=0 swlps=0" > /etc/modprobe.d/rtl8723be.conf $sudo reboot 

2、配置tomcat 注意:最好解压到home文件夹下,不然和eclipse难匹配
http://jingyan.baidu.com/article/e4d08ffdabb0710fd2f60de9.html
其中最后打开的时候写错了:进入tomcat/bin再运行startup.sh

3、安装 jdk:http://forum.ubuntu.org.cn/viewtopic.php?t=341582

4、解决蓝灯没法翻墙问题:更换火狐浏览器为国际版或者直接下Chrome

5、android studio安装

step0:  解决android studio无法自动下载sdk的问题: (64-32位转换器)           $sudo apt-get install lib32z1 lib32ncurses5  lib32stdc++6step1:  移动到想要的路径(此处写为/home/haomao),最好不要装在有权限的路径中step2:  $cd/home/haomao/android-studio/binstep3:  $sudo chmod 777 -R studio.shstep4:  $./studio.sh   启动tips:   可以用软件直接创建桌面图标

6、创建windows虚拟机 http://blog.csdn.net/tecn14/article/details/24304361
virtualbox可以直接去官网下.deb

7、安装vmware:

    1、download vmware workstation pro 12    2$sudo apt-get install gcc build-essential    3$sudo chmod +x ./VMware-Workstation*12*.bundle    4$sudo ./VMware-Workstation*12*.bundle

8、命令行安装A.deb文件

1$sudo dpkg -i A.deb{    如果出现依赖问题:    1$sudo apt-get -f install    2$sudo dpkg -i A.deb}

9、Install TLP in Ubuntu / Linux Mint
Before installing TLP, make sure “laptop-mode-tools” is not installed (it conflicts with TLP):
sudo apt-get remove laptop-mode-tools

Ubuntu / Linux Mint users can install TLP by using its official PPA. Add the PPA and install it by using the following commands:sudo add-apt-repository ppa:linrunner/tlpsudo apt-get updatesudo apt-get install tlp tlp-rdw

TLP will start automatically on startup but to avoid having to restart the system, the first time you can start it manually, by using the following command:
sudo tlp start
10、解决16.04中eclipse新建项目缓慢:

在--launcher.appendVmargs上边加上--launcher.GTK_version2编辑目录下的eclipse.ini文件)

11、ubuntu下解决wireshark权限问题
wireshark要监控eth0,但是必须要root权限才行。但是,直接用root运行程序是相当危险,也是非常不方便的。
解决方法如下:
1.添加wireshark用户组
sudogroupaddwireshark2.dumpcapwiresharksudo chgrp wireshark /usr/bin/dumpcap
3.让wireshark用户组有root权限使用dumpcap
sudochmod4755/usr/bin/dumpcap4.使wiresharkcraftorsudo gpasswd -a craftor wireshark

12、配置wps
wps文字不能输入中文解决
$ vi /usr/bin/wps # 添加内容,字体标注

*******************************#!/bin/bashexport XMODIFIERS="@im=fcitx"export QT_IM_MODULE="fcitx"gOpt=#gOptExt=-multiplygTemplateExt=("wpt" "dot" "dotx").......************************

wps表格不能输入中文解决
$ vi /usr/bin/et # 添加内容,字体标注

************************#!/bin/bashexport XMODIFIERS="@im=fcitx"export QT_IM_MODULE="fcitx"gOpt=#gOptExt=-multiply........******************************

13、卸载wine所装的软件后,图标如何删除:

cd ~/.local/share/applications/wine/Programsrm -rf xxx(不需要的文件夹)
0 0
原创粉丝点击