echo '(sleep 0.5 && termux-open-url http://localhost:8080 com.microsoft.emmx ) &' > run_code_server.sh echo "code-server \&@" >> run_code_server.sh chmod +x run_code_server.sh # 此时应该可以通过./run_ + tab键 + 回车键 快速打开浏览器并运行code-server ./run_code_server.sh ....
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 自定义安装 apkaddalpine-sdk bash libstdc++libc6-compat apkadd--update nodejs npmnpm configsetpython python3 安装code-server 详情参考NPM 安装预览过程: curl -fsSL https://code-server.dev/install.sh | sh -...
termux直接安装..方法一:pkg install tur-repo pkg install code-server注:最新版本有buger,提示Forbidden,无法正常使用。方法二:n
//2. code-server的安装 //github上脚本的安装方式 curl -fsSL https://code-server.dev/install.sh | sh //上一步如果安装不了,也可以用下面的命令 wget https://github.com/coder/code-server/releases/download/v4.11.0/code-server_4.11.0_arm64.deb dpkg -i code-server_4.11.0_arm64.deb //运...
termux安装code server termux 是不完整的linux模拟终端,不能直接安装code sever的。 解决办法 通过proot-distro 安装ubuntu,模拟出真实的linux环境,其实就是处理/usr,/etc等的路径问题。 然后再ubuntu里安装软件包即可,deb安装包,记得下载arm64架构的。
bind-addr:0.0.0.0:{让哪个端口运行code-server}auth:passwordpassword:{设置登陆密码}cert:false 把对应的中文换成你希望的值 然后source ~/.bashrc使配置生效 再输入code-server就可以**启动咯 在外部浏览器输入127.0.0.1:{code-server端口号}就可以访问了,如果你的页面变成了搜索页面,看看你是不是没有把大括号...
(可选)第五步:使用Termux:Widget从桌面一键开启code-server 每次都要打开终端并输入命令还是有点麻烦,虽然旁人看起来确实比较炫酷。 Termux提供了桌面部件,方便快速调用脚本。设置步骤如下: 确认Termux:Widget插件APP已安装 在安卓手机桌面放置Termux桌面部件 Termux指定该目录用于存放显示在桌面的脚本 mkdir -p ~/....
apt install openssh-server 修改配置: vim /etc/ssh/sshd_config 修改端口 查找:#Port 22 修改为: Port 2222 注意: 端口最好是4位数即以上的端口号,否则容易造成ssh启动失败,这儿Termux上Linux存在的问题。 支持root用户 查找:#PermitRootLogin prohibit-password 或者 #PermitRootLogin yes ...
一个在termux上安装ubuntu并部署nginx+code-server的全自动脚本 安装完成后在termux中使用atilo run ubuntu进入ubuntu,运行~/startcode.sh就可以开启服务器,然后在局域网内访问http://手机的IP地址:8080就可以进入vscode了 在termux中输入以下命令开始安装
code-server --auth none If already installed then use the following command for upgradation.npm update --global code-server UpgradeRemove all previous installs rm -rf ~/.local/lib/code-server-* Run the install script again curl -fsSL https://code-server.dev/install.sh | sh...