qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言

本文主要是介绍qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Phantom曾经把DD的源码压缩为926.92M的7z包,:

Phantom5月27日 19:22笔记

感谢Phantom打包的DD-WRT的源码!

ddwrt(解压需10G,至少20G剩余空间,不要用GUI界面解压,死在哪都不知道).7z(926.92M)

Phantom说:为了压缩率 字典 用的比较大 解压需要 512m+ 空余内存

Phantom(229388568)  19:05:00

解压 需要 10G 空间 总共有 20G 空间剩余的才能玩

Phantom(229388568)  19:06:00

不要用 gui界面的解压

Phantom(229388568) 19:06:08

死在那里 什么都看不出来

Phantom(229388568)  19:07:03

7z 可以 在 win 下面解压 内存丰富 性能强

Phantom(229388568)  19:07:23

然后 把 tar 的目录挂载到 vm 里面再解压

Phantom(229388568)  19:08:07

为了压缩率 字典 用的比较大 解压需要 512m+ 空余内存

Phantom QQMail_REFER_SPLIT 5月27日 19:22

export PATH=/opt/4.1.2/bin:$PATH

#export PATH=/opt/4.1.2/bin:$PATH

apt-get -y install libreadline-dev subversion gcc g++ binutils patch bzip2 flex-old bison make gettext unzip zlib1g-dev libc6 libncurses5-dev libstdc++6 automake openssl libxml2-dev ia32-libs

#wget http://mirrors.kernel.org/ubuntu ... -17ubuntu1_i386.deb

#dpkg -i ./libstdc++5_3.3.6-17ubuntu1_i386.deb

#rm ./libstdc++5_3.3.6-17ubuntu1_i386.deb

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.4

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.6

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.4

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.6

ln -s /root/toolchains/4.1.0-uclibc-0.9.28/ /opt/4.1.0

ln -s /root/toolchains/toolchain-mipsel_gcc4.1.2/ /opt/4.1.2

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.4.6

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.4.4

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.3.6

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.3.4

#ln -s /root/toolchains/4.1.0-uclibc-0.9.28/ /root/toolchains/4.1.0

# Creating symlinks

rm ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm

ln -s ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm-mips ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm

mkdir ~/tmp

cd ~/ddwrt

#64位系统 不用搞

wget http://mirrors.kernel.org/ubuntu ... -17ubuntu1_i386.deb

dpkg -i --force-all ./libstdc++5_3.3.6-17ubuntu1_i386.deb

rm ./libstdc++5_3.3.6-17ubuntu1_i386.deb

echo "Compiling jsformat..."

cd ~/ddwrt/src/router/tools

rm jsformat

make jsformat

echo "done.."

echo "Compiling strip..."

cd ~/ddwrt/tools

rm ./strip

gcc strip.c -o ./strip

echo "done.."

echo "Compiling process_langfile..."

rm process_langfile

gcc -o process_langfile process_langfile.c

echo "done.."

# make write3

rm ./write3

gcc write3.c -o ./write3

echo "Compiling write4..."

rm ./write4

gcc write4.c -o ./write4

echo "done.."

echo "Compiling webcomp..."

rm ./webcomp

gcc -o webcomp -DUEMF -DWEBS -DLINUX webcomp.c

#change compile flage in /home/dd-wrt/DD-WRT/src/squashfs-tools/Makefile to use non x64 compiler if oyu do not have x64 machine

sed -i -e "s%-m64%-m32%" ~/ddwrt/src/squashfs-tools/Makefile

sed -i -e "s%-m64%-m32%" ~/ddwrt/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Lib/makefile

# same in /home/dd-wrt/DD-WRT/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Lib/makefile

# now make the lzma util. because Version in svn is 64 bit. There should not be any problem with recompiling in on 64bit, too.

cd ~/ddwrt/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Alone

mv makefile makefile.disabled

mv makefile.gcc makefile

make

cp -vf lzma ~/ddwrt/opt/loader-0.02/

# restore point checked out of SVN

mv makefile makefile.gcc

mv makefile.disabled makefile

# compile mksquashfs-lzma (again it is 64 bit)

cd ~/ddwrt/src/squashfs-tools

rm mksquashfs-lzma

make

cp mksquashfs-lzma ../linux/brcm/linux.v24_2/scripts/squashfs

#64 end

echo "Creating Makefile for packages .."

cd ~/ddwrt/src/router/

#建议从 configs 文件夹拷贝

cp .config_mega.v24 .config

gedit .config

cd ./busybox/

cp .config_std .config

#gedit .config

cd ..

cd ./sputnik

mv ./Makefile ./Makefile.away

cd ..

echo "#define BUILD_DATE \"$(date +%D)\"" > ~/ddwrt/opt/build.h

make configure

make clean

export PATH=/opt/3.4.6/bin:$PATH

make rflow

export PATH=/opt/4.1.2/bin:$PATH

#wget ftp://bird.network.cz/pub/bird/bird-1.2.2.tar.gz

#tar zxvf ./bird-1.2.2.tar.gz

#rm -rv bird

#mv ./bird-1.2.2 ./bird

cd ./bird

./configure --host=mipsel-linux-uclibc --disable-client --with-sysconfig=sysdep/cf/linux-22.h --localstatedir=/tmp/bird --sysconfdir=/tmp/bird --no-recursion CC=mipsel-linux-uclibc-gcc bird_cv_c_endian=big-endian

#添加 LD=mipsel-linux-uclibc-ld

gedit ./obj/Rules

make

cd ..

#cd ./iptraf/src/

#make clean

#make

#make install

#cd ../..

#http://svn.dd-wrt.com:8000/dd-wrt/ticket/646

#make zlib

#cd ./asterisk

#make dist-clean

#./configure --host=mipsel-linux-uclibc --without-curl --without-curses --with-gsm=internal --without-gtk --without-gtk2 --without-isdnnet --without-kde --without-misdn --without-nbs --with-ncurses="/root/ddwrt/src/router/ncurses" --without-netsnmp --without-newt --without-odbc --without-ogg --without-osptk --without-pri --without-qt --without-radius --without-sdl --without-spandsp --without-suppserv --without-tds --without-termcap --without-tinfo --without-vorbis --without-vpb --with-z="/root/ddwrt/src/router/zlib" --disable-xmldoc --without-dahdi --without-gnutls --without-iksemel CC=mipsel-linux-uclibc-gcc LD=mipsel-linux-uclibc-ld

make

cd ..

echo "done.."

make all install

##########################################################

cd ~/ddwrt/opt

mkdir ../src/router/mipsel-uclibc/target/etc/config

./sstrip/sstrip ../src/router/mipsel-uclibc/target/bin/*

./sstrip/sstrip ../src/router/mipsel-uclibc/target/sbin/rc

./sstrip/sstrip ../src/router/mipsel-uclibc/target/usr/sbin/*

cp ./bin/ipkg ../src/router/mipsel-uclibc/target/bin

cp ./libgcc/* ../src/router/mipsel-uclibc/target/lib

cd ../src/router/mipsel-uclibc/target/lib

ln -s libgcc_s.so.1 libgcc_s.so

cd ../../../../../opt

cp ./etc/preinit ../src/router/mipsel-uclibc/target/etc

cp ./etc/postinit ../src/router/mipsel-uclibc/target/etc

cp ./etc/ipkg.conf ../src/router/mipsel-uclibc/target/etc

cp ./etc/config/* ../src/router/mipsel-uclibc/target/etc/config

cp ./usr/lib/smb.conf ../src/router/mipsel-uclibc/target/usr/lib

cd ../src/router/mipsel-uclibc/target/www

ln -s ../tmp/smbshare smb

cd ../../../../../opt

./strip_libs.sh

../src/linux/brcm/linux.v24_2/scripts/squashfs/mksquashfs-lzma ../src/router/mipsel-uclibc/target target.squashfs -noappend -root-owned -le

#./make_kernel.v24_2.sh

../tools/trx -o dd-wrt.v24_2.trx ./loader-0.02/loader.gz ../src/router/mipsel-uclibc/vmlinuz target.squashfs

这个是我 最新的 笔记 有点乱 大家将就研究下吧

附解压过程截图如下:

thread-48463-1-1.html

这篇关于qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/389637

相关文章

linux hostname设置全过程

《linuxhostname设置全过程》:本文主要介绍linuxhostname设置全过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录查询hostname设置步骤其它相关点hostid/etc/hostsEDChina编程A工具license破解注意事项总结以RHE

Go语言中make和new的区别及说明

《Go语言中make和new的区别及说明》:本文主要介绍Go语言中make和new的区别及说明,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1 概述2 new 函数2.1 功能2.2 语法2.3 初始化案例3 make 函数3.1 功能3.2 语法3.3 初始化

Python设置Cookie永不超时的详细指南

《Python设置Cookie永不超时的详细指南》Cookie是一种存储在用户浏览器中的小型数据片段,用于记录用户的登录状态、偏好设置等信息,下面小编就来和大家详细讲讲Python如何设置Cookie... 目录一、Cookie的作用与重要性二、Cookie过期的原因三、实现Cookie永不超时的方法(一)

Linux中压缩、网络传输与系统监控工具的使用完整指南

《Linux中压缩、网络传输与系统监控工具的使用完整指南》在Linux系统管理中,压缩与传输工具是数据备份和远程协作的桥梁,而系统监控工具则是保障服务器稳定运行的眼睛,下面小编就来和大家详细介绍一下它... 目录引言一、压缩与解压:数据存储与传输的优化核心1. zip/unzip:通用压缩格式的便捷操作2.

Redis出现中文乱码的问题及解决

《Redis出现中文乱码的问题及解决》:本文主要介绍Redis出现中文乱码的问题及解决,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1. 问题的产生2China编程. 问题的解决redihttp://www.chinasem.cns数据进制问题的解决中文乱码问题解决总结

Go语言中nil判断的注意事项(最新推荐)

《Go语言中nil判断的注意事项(最新推荐)》本文给大家介绍Go语言中nil判断的注意事项,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录1.接口变量的特殊行为2.nil的合法类型3.nil值的实用行为4.自定义类型与nil5.反射判断nil6.函数返回的

Linux中SSH服务配置的全面指南

《Linux中SSH服务配置的全面指南》作为网络安全工程师,SSH(SecureShell)服务的安全配置是我们日常工作中不可忽视的重要环节,本文将从基础配置到高级安全加固,全面解析SSH服务的各项参... 目录概述基础配置详解端口与监听设置主机密钥配置认证机制强化禁用密码认证禁止root直接登录实现双因素

Go语言数据库编程GORM 的基本使用详解

《Go语言数据库编程GORM的基本使用详解》GORM是Go语言流行的ORM框架,封装database/sql,支持自动迁移、关联、事务等,提供CRUD、条件查询、钩子函数、日志等功能,简化数据库操作... 目录一、安装与初始化1. 安装 GORM 及数据库驱动2. 建立数据库连接二、定义模型结构体三、自动迁

在Linux终端中统计非二进制文件行数的实现方法

《在Linux终端中统计非二进制文件行数的实现方法》在Linux系统中,有时需要统计非二进制文件(如CSV、TXT文件)的行数,而不希望手动打开文件进行查看,例如,在处理大型日志文件、数据文件时,了解... 目录在linux终端中统计非二进制文件的行数技术背景实现步骤1. 使用wc命令2. 使用grep命令

Linux如何快速检查服务器的硬件配置和性能指标

《Linux如何快速检查服务器的硬件配置和性能指标》在运维和开发工作中,我们经常需要快速检查Linux服务器的硬件配置和性能指标,本文将以CentOS为例,介绍如何通过命令行快速获取这些关键信息,... 目录引言一、查询CPU核心数编程(几C?)1. 使用 nproc(最简单)2. 使用 lscpu(详细信