SoftWare Configure

本文汇总了多种实用的信息技术技巧,涵盖了Ubuntu系统配置、Windows系统优化、开发环境搭建、常用软件快捷键等内容,适用于不同技术水平的读者。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

    1. ubuntu 中文输入法安装 - fcitx

        http://wiki.ubuntu.org.cn/Fcitx

    2. windows wordpress
        a. phpnow 安装apache & mysql
        b. 访问 http://127.0.0.1/phpmyadmin/ 建数据库
        c. 访问127.0.0.1

        d. 使用ftp工具上传文件和设定文件权限, filezilla

    3. virtual box, 共享文件设置:
        a. 设备->安装增强功能
        b. 设备->分配数据空间
        c. sudo mount -t vboxsf xyz /mnt/hgfs/share
            注意:xyz和share不能重名
            windows下,在文件夹中,工具->映射网络驱动器
            
    4. ubuntu安装wordpress
        使用tasksel
        
    5. excel 数据列表
        数据->数据有效性->序列
    
    6. VC 添加[删除标签]ctrl + F2
            F2 到下一个标签
            ctrl + shift + F2 删除所有标签
    7. MFC 界面
        ToolkitPro
    
    8. VC 6.0 with assist X[后退]前进 alt + left/right
        the same in windows explorer
        
    9. VC 6.0 debug 默认参数
        project setting -> debug -> program arguement
        
    10. 在word中高亮显示代码:
        a. 使用Notepad++:
            语言 -> object C
            输入代码
            插件 ->NppExport -> copy all formats to clipbord
        b.    粘贴至word
        

    11. dos2unix 将windows 下的代码转换到unix下。

        依然有编码问题????  

         还是使用替换命令吧   :%s /^M//g .        ^M: ctrl-v ctrl-M

        
    12. dumpbin 查看dll导出的函数, 在vs安装目录下/bin
            *1. VCVARS32.bat设置VS环境变量
            dumpbin -exports test.dll
            
    13. win7 启动等待时间:    
            计算机 - 属性 - 高级 - 启动和故障[设置] - 显示操作系统列表时间
        
    14. win7 安装工具
                    NT6_HDD_Installer
            破解     PCSKYS_Windows7Loader_v3.26
            U盘制作 Windows7-USB-DVD-tool
            
    15. 程序使用dll时需要lib 文件,下载sqlite3时只能得到def 和dll文件,所以可以使用lib 命令生成一个lib ,过程如下
        1)将C:/Program Files/Microsoft Visual Studio 8/VC/bin放在环境变量path中
        2)启动CMD,进入到放def 文件的目录
        3)lib /DEF :sqlite3.def /machine:IX86
        这时可能提示找不到mspdb80.dll,所以
        4)从C:/Program Files/Microsoft Visual Studio 8/Common7/IDE目录下找到mspdbsrv.exe、msobj80.dll、mspdb80.dll、mspdbcore.dll四个文件,
            粘贴到C:/Program Files/Microsoft Visual Studio 8/VC/bin下
            (或将C:/Program Files/Microsoft Visual Studio 8/Common7/IDE也放到环境变量path中,注意cmd要重启),这时再运行3)将能成功生成lib 文件

    16. win7 开启休眠模式
            控制面板\硬件和声音\电源选项\编辑计划设置 -
        
    17. java环境变量配置
        1. administrator的用户变量,新建JAVA_HOME
            C:\...\java\jdk1.6
        2. 系统变量,新建classpath
            .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tool.jar
        3. 修改path变量,新增
            ;%JAVA_HOME%\bin
        4. java   javac 测试
    18.  android环境搭建
        1. 搭建java环境,见17条
        2. sdk manager, 下载Android-sdk_r12-windows, from: http://developer.android.com/sdk/index.html
        3. sdk路径加入到环境变量, 即在path后加入
            ;C:\...\Android\android-sdk
        4. 配置eclipse
            a. download Eclipse IDE for Java EE Developers, 212 MB from http://www.eclipse.org/downloads/
            b. help -> install new software...
            c. https://dl-ssl.google.com/android/eclipse/
            d. windows->preferences->android, 指定sdk路劲
            
            
    19. eclipse快捷键  (help->key assist: ctrl+ shift + L)
        1. alt+/
        2. ctrl+o
            显示类中方法和属性的大纲,能快速定位类的方法和属性,在查找bug时非常有用。
        3. ctrl+/
            快速添加注释,能为光标所在行或所选定行快速添加注释或取消注释,在调试的时候可能总会需要注释一些东西或取消注释,现在好了,不需要每行进行重复的注释。
        4. ctrl+d
            删除当前行,这也是笔者的最爱之一,不用为删除一行而按那么多次的删除
        5. ctrl+m
            窗口最大化和还原,用户在窗口中进行操作时,总会觉得当前窗口小(尤其在编写代码时),现在好了,试试【ctrl+m】快捷键。
        6. ctrl+k ctrl++shift+k
            快速向下和向上查找选定的内容,从此不再需要用鼠标单击查找对话框了。
        7. ctrl+shift+t
            查找工作空间(workspace)构建路径中的可找到java类文件,不要为找不到类而痛苦,而且可以使用“*”、“?”等通配符。
        8. ctrl+shift+r
            和【ctrl+shift+t】对应,查找工作空间(workspace)中的所有文件(包括java文件),也可以使用通配符。
        9. ctrl+shift+g
            查找类、方法和属性的引用。这是一个非常实用的快捷键,例如要修改引用某个方法的代码,可以通过【ctrl+shift+g】快捷键迅速定位所有引用此方法的位置。
        10. ctrl+shift+o
            快速生成import,当从网上拷贝一段程序后,不知道如何import进所调用的类,试试【ctrl+shift+o】快捷键,一定会有惊喜。
        11. ctrl+shift+f
            格式化代码,书写格式规范的代码是每一个程序员的必修之课,当看见某段代码极不顺眼时,选定后按【ctrl+shift+f】快捷键可以格式化这段代码,如果不选定代码则默认格式化当前文件(java文件)。
        12. alt+shift+w
            查找当前文件所在项目中的路径,可以快速定位浏览器视图的位置,如果想查找某个文件所在的包时,此快捷键非常有用(特别在比较大的项目中)。
        13. ctrl+l
            定位到当前编辑器的某一行,对非java文件也有效。
        14. alt+←、alt+→
            后退历史记录和前进历史记录,在跟踪代码时非常有用,用户可能查找了几个有关联的地方,但可能记不清楚了,可以通过这两个快捷键定位查找的顺序。
        15. f3
            快速定位光标位置的某个类、方法和属性。
        16. F4
            显示类的继承关系,并打开类继承视图。
        调试快捷键
        17. ctrl+shift+b:在当前行设置断点或取消设置的断点。
        18. f11:调试最后一次执行的程序。
        19. ctrl+f11:运行最后一次执行的程序。
        20. F5:跟踪到方法中,当程序执行到某方法时,可以按【f5】键跟踪到方法中。
        21. F6:单步执行程序。
        22. F7:执行完方法,返回到调用此方法的后一条语句。
        23. F8:继续执行,到下一个断点或程序结束。
        
               
    20. VS2005 导航:
        后退 ctrl + -
        前进 ctrl + shift + -
        进入cursor下对象  atl + g
        
    21. man pthread
        sudo apt-get install glibc.doc
        sudo apt-get install manpages-posix-dev
        
    22. 提问前准备: 先考虑期望得到什么结果?
    
    23 virtualbox share files:
        1. 设置, 分配数据空间
        2. sudo mount -t vboxsf xyz /mnt/hgfs/share           注意:xyz和share不能重名
    
    24. 光盘工具 clonecd 是第一个能够1:1 复制加密光盘的软件。
        镜象工具 ultraiso 不仅仅是用来编辑iso,做PE可启动U盘都要用到它。
        歌词工具 minilyrics 是一个歌词工具,对于我这样一个只听英文歌,但英文半调子的人来说很有用。
        文本工具 ultraedit 为了破解它的日期限制我不知系统还原多少次,就是找不到它保存日期限制的地方。
        截图工具 winsnap 你可能会说截图不就是alt+printscreen吗?当你想截阴影和圆角就不这么想了。
        游戏工具 fraps 当年的国外CS录像都是用它做的。
        硬件工具 everest 能够查到硬件温度,超频,出厂日期等。超频手必备,不知道在linux有没有相似的工具,linuxer不超频?
        词典工具 babylon 强大的字典,在我看来比金山,灵格斯和其它词典都要好。
        压缩工具 winrar 这个不用说了。
        管理工具 totalcmd 虽然有freecommander,但插件太少。
            
    25. tpp 在控制台,相当于ppt [linux]
    
    26.
        win + ->
        按 ALT+P 隐藏或者显示浏览的预览窗口
        win + home 最小化所有除了当前窗口
        按WIN+1 可以用来打开一个新的任务栏上第一个图
        
    27. This is a how-to to on installing and setting up lighttpd and PHP on Maverick. Lighttpd or "lighty" is a webserver with a very low use of resources.
        Install the packages we need: (this may not be all, but these two will automatically download the rest as dependencies)
            sudo apt-get install lighttpd php5-cgi
        Enable the fastcgi module and the php configuration with
            sudo lighty-enable-mod fastcgi
            sudo lighty-enable-mod fastcgi-php
            sudo lighty-enable-mod cgi
        Reload the lighttpd daemon
            sudo service lighttpd force-reload
            
        To test if it's working create the file /var/www/index.php with the following contents:
            <?php phpinfo(); ?>
            
        
        test cgi
            edit the /etc/lighttpd/lighttpd.conf, change the /var/www   - /home/ted/www
            cd /home/ted/www
            mkdir cgi-bin
            vim hello.c              
                /* gcc -o hello.cgi hello.c */
                #include <stdio.h>
                int main(void) {
                  printf("Content-Type: text/plain;charset=us-ascii\n\n");
                  printf("Hello world\n\n");
                  return 0;
                }
            visit: 127.0.0.1/cgi-bin/hello.cgi
            
    28. 远程登录: 我的电脑->属性->远程设置->允许
    
    29. eclipse 设置头文件目录
        properies - c/c++ builde - setting - directories
        
    30. eth0 lost in ubuntu.
    Since your mac address have changed you no longer have an interface called eth0, this name is reserved for an interface with the "old" mac-address. The "new" interface should have the next free name (eg. ethN).
    To see all the interfaces on the machine you can use this command: ifconfig -a
    If you want to reset the name reservations for network interfaces you can remove the file /etc/udev/rules.d/70-persistent-net.rules and restart the machine (or remove/insert the device, though this is not possible in this case).
    Alternatively you can change the interface-name that you have configured to what ever the new one is called by changing all occurences of the old name with the new one in the file /etc/network/interfaces
            
    31. ubuntu使用ffmpeg录屏:
        ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
        
    32. mp3 to pcm ,播放pcm
        ffmpeg -i laonanhai.mp3 -f s16le -acodec pcm_s16le laonanhai.raw
        aplay -t raw -c 2 -f S16_LE -r 44100 laonanhai.raw


    33. 使用中文man
        0> sudo apt-get install man-zh
        1> sudo gedit /etc/manpath.config

        2> replace all "/usr/share/man" to "/usr/share/man/zh_CN"

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值