• 密码保护:MIT

    此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

    10 4 月, 2014
  • FW: Install nginx on Centos 6.x

    http://www.cyberciti.biz/faq/install-nginx-centos-rhel-6-server-rpm-using-yum-command/

     

    Step #1: Install nginx repo

    # cd /tmp
    # wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
    # rpm -ivh
    nginx-release-centos-6-0.el6.ngx.noarch.rpm

    Step #2: Install nginx web-server

    # yum install nginx

    Step #3: Turn on nginx service

    # chkconfig nginx on

    How do I start / stop / restart nginx web-server?

    # service nginx start
    # service nginx stop
    # service nginx restart
    # service nginx status
    # service nginx reload

    Step #4: Configuration files

    1. Default configuration directory: /etc/nginx/
    2. Default SSL and vhost config directory: /etc/nginx/conf.d/
    3. Default log file directory: /var/log/nginx/
    4. Default document root directory: /usr/share/nginx/html
    5. Default configuration file: /etc/nginx/nginx.conf
    6. Default server access log file: /var/log/nginx/access.log
    7. Default server access log file: /var/log/nginx/error.log

    To edit the nginx configuration file, enter:
    # nano /etc/nginx/nginx.conf

    Set or update worker_processes as follows (this must be set to CPU(s) in your system. Use the lscpu | grep ‘^CPU(s)’ command to list the number of CPUs in the server)

    worker_processes  2;

    Turn on gzip support:

    gzip  on;

     

    Edit the file /etc/nginx/conf.d/default.conf, enter:
    # nano /etc/nginx/conf.d/default.conf
    Set IP address and TCP port number:

        listen       199.241.137.179:80;

    Set server name:

        server_name  vps.zhenglei.net;

     

    Start the server:
    # service nginx start
    Verify that everything is working:
    # netstat -tulpn | grep :80
    # ps aux | grep nginx

    Firewall configuration: Open TCP port # 80

    Edit the file /etc/sysconfig/iptables, enter:
    # nano /etc/sysconfig/iptables
    Add the following lines, ensuring that they appear before the final LOG and DROP lines for the INPUT chain to open port 80:

     
    -A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT

    Save and close the file. Finally, restart the firewall:
    # service iptables restart

    27 3 月, 2014
  • WNR2000V3 安装最新版DDWRT / Install latest ddwrt on wnr2000v3

    软件内容: DDWRT 精简版本

    适用硬件: Netgear wnr2000v3 / 4M flash 版本

    Web 刷机方法:

    步骤一:>

    将WNR2000v3  固件降为上一版本原厂固件,重复操作直到版本1.0.x

    Netgear 固件下载地址

    步骤二:>

    刷DDWRT factory image, r18777:

    wnr2000v3-factory_WW.img 或 wnr2000v3-factory_NA.img

    DDWRT 固件下载地址

    步骤三:>

    刷DDWRT 精简版:

    DDWRT 精简版下载地址

    *****************************************************************

    ignore r24118 ,   seem’s dosen’t work on WNR2000V3

    ignore r24461,    as it have  downgrade bug

     

    22 3 月, 2014
  • exfat in linux kernel

    https://github.com/dorimanx/exfat-nofuse

    http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=exfat

     

    20 3 月, 2014
  • Build exFAT fuse mode on ubuntu

     

    sudo apt-get install subversion
    sudo apt-get install scons
    sudo apt-get install libfuse-dev
    svn co http://exfat.googlecode.com/svn/trunk/ exfat-read-only
    cd exfat-read-only/
    scons
    sudo scons install
    
    Installed tool:
    /sbin/dumpexfat
    /sbin/exfatfsck
    /sbin/exfatlabel
    /sbin/fsck.exfat  -> exfatfsck
    /sbin/mkexfatfs
    /sbin/mkfs.exfat  -> mkexfatfs
    /sbin/mount.exfat -> mount.exfat-fuse
    /sbin/mount.exfat-fuse
    
    Usage example:
    
    /sbin/fsck.exfat       /dev/sdc1
    
    /sbin/dumpexfat     /dev/sdc1
    
    mkdir /tmp/exfat
    sudo /sbin/mount.exfat /dev/sdc1 /tmp/exfat
    mount | grep exfat
    df   -a   /tmp/exfat
    sudo umount    /tmp/exfat
    
    
    20 3 月, 2014
  • wireless adaptor linux driver status

    http://wireless.kernel.org/en/users/Drivers

     

    17 3 月, 2014
  • pogoplug

     

    http://linuxfocus.net/post/145

    http://www.hi-pda.org/56.html

    http://www.mitbbs.com/article_t/Hardware/31682881.html

    16 3 月, 2014
  • FWD: Linux Sound

    http://jan.newmarch.name/LinuxSound/

    http://lwn.net/Articles/502183/

    https://community.ardour.org/node/4443

    http://forum.audacityteam.org/viewtopic.php?f=28&t=57345

    https://github.com/jeremysalwen/kn0ck0ut-LV2

     

     

    17 2 月, 2014
  • Linux Softap

    http://www.361way.com/hostapd-soft-ap/2933.html

     

     

    20 1 月, 2014
  • MT6592 USB

    IP from Mentor Graphics

    http://www.mentor.com/products/ip/usb/

     

     

    15 1 月, 2014
←上一页
1 … 30 31 32 33 34 … 50
下一页→