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

相关文章

前端 CSS 动态设置样式::class、:style 等技巧(推荐)

《前端CSS动态设置样式::class、:style等技巧(推荐)》:本文主要介绍了Vue.js中动态绑定类名和内联样式的两种方法:对象语法和数组语法,通过对象语法,可以根据条件动态切换类名或样式;通过数组语法,可以同时绑定多个类名或样式,此外,还可以结合计算属性来生成复杂的类名或样式对象,详细内容请阅读本文,希望能对你有所帮助...

Linux使用cut进行文本提取的操作方法

《Linux使用cut进行文本提取的操作方法》Linux中的cut命令是一个命令行实用程序,用于从文件或标准输入中提取文本行的部分,本文给大家介绍了Linux使用cut进行文本提取的操作方法,文中有详... 目录简介基础语法常用选项范围选择示例用法-f:字段选择-d:分隔符-c:字符选择-b:字节选择--c

Python爬虫selenium验证之中文识别点选+图片验证码案例(最新推荐)

《Python爬虫selenium验证之中文识别点选+图片验证码案例(最新推荐)》本文介绍了如何使用Python和Selenium结合ddddocr库实现图片验证码的识别和点击功能,感兴趣的朋友一起看... 目录1.获取图片2.目标识别3.背景坐标识别3.1 ddddocr3.2 打码平台4.坐标点击5.图

使用Go语言开发一个命令行文件管理工具

《使用Go语言开发一个命令行文件管理工具》这篇文章主要为大家详细介绍了如何使用Go语言开发一款命令行文件管理工具,支持批量重命名,删除,创建,移动文件,需要的小伙伴可以了解下... 目录一、工具功能一览二、核心代码解析1. 主程序结构2. 批量重命名3. 批量删除4. 创建文件/目录5. 批量移动三、如何安

MySQL8.0设置redo缓存大小的实现

《MySQL8.0设置redo缓存大小的实现》本文主要在MySQL8.0.30及之后版本中使用innodb_redo_log_capacity参数在线更改redo缓存文件大小,下面就来介绍一下,具有一... mysql 8.0.30及之后版本可以使用innodb_redo_log_capacity参数来更改

Nginx设置连接超时并进行测试的方法步骤

《Nginx设置连接超时并进行测试的方法步骤》在高并发场景下,如果客户端与服务器的连接长时间未响应,会占用大量的系统资源,影响其他正常请求的处理效率,为了解决这个问题,可以通过设置Nginx的连接... 目录设置连接超时目的操作步骤测试连接超时测试方法:总结:设置连接超时目的设置客户端与服务器之间的连接

Linux使用nload监控网络流量的方法

《Linux使用nload监控网络流量的方法》Linux中的nload命令是一个用于实时监控网络流量的工具,它提供了传入和传出流量的可视化表示,帮助用户一目了然地了解网络活动,本文给大家介绍了Linu... 目录简介安装示例用法基础用法指定网络接口限制显示特定流量类型指定刷新率设置流量速率的显示单位监控多个

ElasticSearch+Kibana通过Docker部署到Linux服务器中操作方法

《ElasticSearch+Kibana通过Docker部署到Linux服务器中操作方法》本文介绍了Elasticsearch的基本概念,包括文档和字段、索引和映射,还详细描述了如何通过Docker... 目录1、ElasticSearch概念2、ElasticSearch、Kibana和IK分词器部署

mybatis和mybatis-plus设置值为null不起作用问题及解决

《mybatis和mybatis-plus设置值为null不起作用问题及解决》Mybatis-Plus的FieldStrategy主要用于控制新增、更新和查询时对空值的处理策略,通过配置不同的策略类型... 目录MyBATis-plusFieldStrategy作用FieldStrategy类型每种策略的作

python使用fastapi实现多语言国际化的操作指南

《python使用fastapi实现多语言国际化的操作指南》本文介绍了使用Python和FastAPI实现多语言国际化的操作指南,包括多语言架构技术栈、翻译管理、前端本地化、语言切换机制以及常见陷阱和... 目录多语言国际化实现指南项目多语言架构技术栈目录结构翻译工作流1. 翻译数据存储2. 翻译生成脚本