|
Premise: You have to have one firstvps, the best abroad, such as bricklayers,vultr, etc., invpsMounteddebianThe latest version, must be64bit.sshConnection softwarexshell, it is best to use the official version, avoid backdoors, and documentssftpTransfer softwarewinscr, these are essential. Step 1: UsexshellOr something elsesshConnection software connectionvps。 Enter the following command, which is downloading the official onesdkfile. (wgetandhttpThere is a space in between) Then turn it onWinScr connects to VPS, there will be a zip package in the root directory, then we open xshell and enter the following command. After xjf is the full name of the zip package you downloaded. This command means to unzip the zip package you downloaded, and the package name must not be entered incorrectly. There is a space after XJF. tar xjf OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 Open at this timeWinscr You will see that the folder after the insight has appeared, open the extracted folder, the root directory of this folder you will see a file called "feeds.conf.default", open, add the following code, in the open file you will also see the code in the same format as this, be sure to copy it in these codes, copy it and save it. Open itxshellto enter the following code: sudo apt-get update sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk sudo apt-get install subversion mercurial sudo apt-get install ccache sudo apt-get install g++ sudo apt-get install libncurses5-dev sudo apt-get install zlib1g-dev sudo apt-get install bison sudo apt-get install flex sudo apt-get install unzip sudo apt-get install autoconf sudo apt-get install gawk sudo apt-get install make sudo apt-get install gettext sudo apt-get install gcc sudo apt-get install binutils sudo apt-get install patch sudo apt-get install bzip2 sudo apt-get install libz-dev sudo apt-get install asciidoc sudo apt-get install subversion sudo apt-get install sphinxsearch sudo apt-get install libtool sudo apt-get install sphinx-common sudo apt-get install mercurial Step 2: Confirm that the above inputs are correct and then click onxshellEnter in the field, and select all the options you need to selecty ./scrip{filter}ts/feeds update -a ./scrip{filter}ts/feeds install -a Make clean Make menuconfig Then you will see a blue prompt box,libraries, and press Enter (enter) key to enter, Then look for it againlibcurl, and then press the enter button to enter. Find the second line, that isconfiguration, and then press enter to enter. Click Enter"SSL Library" goes in. Press the up and down keys to select as"OpenSSL" and then enter to save. After saving, press the return key "ESC" all the way to exit the back command line interface. The third and final step is execution make package/feeds/gocloud/luci-app-shadowsocksr/compile V=s In this wayvpsStart compiling the plugin. If it appears“Build dependency:Please do not compile as root"Error, openwinscr, into the folder you just started to unzip, inincloudTable of contentsprereq-build.mk。 at[ "$$(shell whoami)" != "root" ] Previously added#After saving.
If it appearsbash:po2lmo:command not found Wrong, this is lesspo2lmo, usecdcommand in/packagetable of contents,Just run the following command. For example, the first folder name isOpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2 That usescdThe command to enter iscd ./OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/package Enter after executionok, and then execute the following command! Wait for the loading to complete, and then execute make package/feeds/gocloud/luci-app-shadowsocksr/compile V=s This command is actually the directory where the software to be compiled is located in the directory.makeis execution. If you need to compile additional software, please do it at gocloudLook for it in the folder, it must bepackage/feedsin the catalog. The execution process requires10to30minutes, please be patient. Compiled completedipkat/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/bin/ramips/packages/gocloudLook for it in the catalog. Compiled by this methodipkOnlyk2p a2, Gao Ke firmware4.3.0.14226version of the router. Passopkgcommand installationipkIf there is a presence when you reach the routermd5Similar commands, please execute rm -rf /var/opkg-lists/reinstallation, It is best to translate the wrong command on Baidu to know where the problem is.
|