• linux记录


    1:第一次登录切换到root用户:sudo passwd

    2:中文输入法安装:1/先到搜狗官网下载搜狗输入法;2/访问这个网址,配置一下:http://jingyan.baidu.com/article/4b07be3c60da3f48b380f3f0.html

    3:java安装:http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux

          http://ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/

    4:chrome安装:(转自:http://linuxg.net/how-to-install-the-latest-google-chrome-stable-version-on-ubuntu-linux-mint-and-debian/)

    For 64 bit systems, do this:

    $ wget -c wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

    For 32 bit systems, do this:

    $ wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
    $ sudo dpkg -i google-chrome-*.deb
    $ sudo apt-get install -f

    5,Tomcat ROOT目录指向修改:编辑/var/lib/tomcat7/conf/server.xml,找到<Host name="localhost" appBase="webapps"unpackWARs="true" autoDeploy="true">,在后一行添加以下代<Context path="" docBase="/home/db/git" debug="0" reloadable="true" />,其中docBase指向就是你想要的新目录。重启tomcat生效 /etc/init.d/tomcat7 restart

    6,ubuntu亮度调节:

    编辑文件 /etc/rc.local,并输入如下代码

    echo 9 > /sys/class/backlight/acpi_video0/brightness

    exit 0

  • 相关阅读:
    《安富莱嵌入式周报》第222期:2021.07.19--2021.07.25
    嵌入式新闻早班车-第14期
    状态压缩动态规划【DP】
    Spring事务
    设计模式--组合模式
    设计模式--状态模式
    设计模式--中介者模式
    设计模式--责任链模式
    设计模式--享元模式
    设计模式--委派模式
  • 原文地址:https://www.cnblogs.com/doublehappyi/p/3710494.html
Copyright © 2020-2023  润新知