zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    GitHub的本地与远程
    linux PDF转换
    css文字样式与div
    CSS属性(pading margin)
    Q:table返回无数据点击排序无数据消失问题
    nginx 学习二(配置项)
    nginx学习一
    JS防抖节流
    通过node实现阿里云短信接口,并将手机号缓存,通过Redis过期时间限制频繁发短信
    web框架express学习三
  • 原文地址:https://www.cnblogs.com/doublehappyi/p/3710494.html
Copyright © 2011-2022 走看看