This commit is contained in:
spiritlhl
2023-08-05 09:28:07 +00:00
parent 16a10524c5
commit fea9e42849
6 changed files with 89 additions and 46 deletions

View File

@@ -1,12 +1,16 @@
---
outline: deep
---
# 仓库
https://github.com/spiritLHLS/one-click-installation-script
## 前言
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FspiritLHLS%2Fone-click-installation-script&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
所有脚本如需在国内服务器使用,请在链接前加上```https://ghproxy.com/```确保命令可以下载本仓库的shell脚本执行
## 目录
# 目录
* [一键修复脚本](#一键修复脚本)
* [一键尝试修复apt源](#一键尝试修复apt源)
@@ -36,6 +40,12 @@ https://github.com/spiritLHLS/one-click-installation-script
* [安装gitea](#安装gitea)
* [卸载aapanel](#卸载aapanel)
* [安装docker和docker-compose](#安装docker和docker-compose)
* [通过docker安装code-server](#通过docker安装code-server)
* [友链](#友链)
* [一键测试服务器的融合怪脚本](#一键测试服务器的融合怪脚本)
* [一键批量开NAT服务器LXC](#一键批量开NAT服务器LXC)
* [一键安装PVE](#一键安装PVE)
* [朋友fscarmen的常用一键工具仓库](#朋友fscarmen的常用一键工具仓库)
## 一键修复脚本
@@ -126,14 +136,14 @@ sudo sed -i 's/.*precedence ::ffff:0:0\/96.*/precedence ::ffff:0:0\/96 100/g' /
- **本脚本尝试使用Miniconda3安装虚拟环境jupyter-env再进行jupyter和jupyterlab的安装如若安装机器不纯净勿要轻易使用本脚本**
- **本脚本为实验性脚本可能会有各种bug勿要轻易尝试**
- **安装前需要保证 sudo wget curl 已安装**
- 验证已支持的系统:
- Ubuntu 18/20/22 - 推荐,脚本自动挂起到后台
- Debian 9/10/11 - 还行,需要手动挂起到后台,详看脚本运行安装完毕的后续提示
- 可能支持的系统(未验证)centos 7+FedoraAlmalinux 8.5+
- 执行脚本,之前有用本脚本安装过则直接打印设置的登陆信息,没安装过则进行安装再打印信息,如果已安装但未启动则自动启动后再打印信息
- 如果是初次安装无脑输入y回车即可按照提示进行操作即可安装完毕将在后台常驻运行
- 安装完毕后如果需要在lab中安装第三方库需要在lab中使用terminal并使用conda进行下载而不是pip下载这是需要注意的
- 安装完毕后如果需要在lab中安装第三方库需要在lab中使用terminal并使用conda进行下载而不是pip3下载,这是需要注意的
- 安装过程中有判断是否为中国IP可选择是否使用中国镜像
原始用途是方便快捷的在按小时计费的超大型服务器上部署python环境进行科学计算充分利用时间别浪费在构建环境上。
@@ -141,13 +151,6 @@ sudo sed -i 's/.*precedence ::ffff:0:0\/96.*/precedence ::ffff:0:0\/96 100/g' /
curl -L https://raw.githubusercontent.com/spiritLHLS/one-click-installation-script/main/install_scripts/jupyter.sh -o jupyter.sh && chmod +x jupyter.sh && bash jupyter.sh
```
安装后记得开放 13692 端口
```bash
apt install ufw -y
ufw allow 13692
```
#### 一键安装R语言环境
- **安装前需使用Miniconda3安装虚拟环境jupyter-env然后进行jupyter和jupyterlab的安装再然后才能安装本内核**
@@ -335,3 +338,48 @@ curl -L "https://github.com/docker/compose/releases/latest/download/docker-compo
chmod +x /usr/local/bin/docker-compose
docker-compose --version
```
卸载所有docker镜像和容器
```
docker rm -f $(docker ps -aq); docker rmi $(docker images -aq)
```
### 通过docker安装code-server
安装
```shell
mkdir -p ~/.config
docker run --restart=always --name code-server -p 0.0.0.0:8886:8080 \
-v "$HOME/.config:/home/coder/.config" \
-v "$PWD:/home/coder/project" \
-u "$(id -u):$(id -g)" \
-e "DOCKER_USER=$USER" \
codercom/code-server:latest
```
新窗口
```shell
docker exec code-server cat /root/.config/code-server/config.yaml
```
```
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
sudo systemctl enable --now code-server@root
sed -i '1s/127.0.0.1:8080/0.0.0.0:8536/' ~/.config/code-server/config.yaml
sudo systemctl restart code-server@root
cat .config/code-server/config.yaml
```
卸载需要
```
sudo systemctl stop code-server@root
sudo systemctl disable code-server@root
rm -rf ~/.cache/coder
sudo apt remove coder -y
```

View File

@@ -1,16 +1,18 @@
## 仓库
---
outline: deep
---
# 仓库
https://github.com/spiritLHLS/ecs
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FspiritLHLS%2Fecs&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
## 融合怪测评脚本
## 前言
# 融合怪测评脚本
支持系统:
Ubuntu 18+, Debian 8+, Centos 7+, Fedora 22+, Almalinux 8.5+, OracleLinux 8+, RockyLinux 8+, AstraLinux CE, Arch
Ubuntu 18+, Debian 8+, Centos 7+, Fedora 33+, Almalinux 8.5+, OracleLinux 8+, RockyLinux 8+, AstraLinux CE, Arch
半支持系统:
@@ -43,7 +45,7 @@ https://github.com/spiritLHLS/one-click-installation-script
## 融合怪命令
## 交互形式
### 交互形式
```bash
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
@@ -61,7 +63,7 @@ curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x
bash <(wget -qO- bash.spiritlhl.net/ecs)
```
## 无交互形式
### 无交互形式
```bash
echo 1 | bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
@@ -166,17 +168,17 @@ VPS测试VPS测速VPS综合性能测试VPS回程线路测试VPS流
- [x] speedtest测速--使用自写[ecsspeed](https://github.com/spiritLHLS/ecsspeed)仓库自动更新测速服务器ID一劳永逸解决老是要手动更新测速ID的问题
- [ ] 端口检测(检测是否被墙)--由fscarmen的PR以及本人的技术思路提供 - 待修复
## 友链
# 友链
## 测评频道
## https://t.me/vps_reviews
### https://t.me/vps_reviews
## 自动更新测速服务器节点列表的网络基准测试脚本
## https://github.com/spiritLHLS/ecsspeed
### https://github.com/spiritLHLS/ecsspeed
## 脚本概况
# 脚本概况
主界面:
@@ -195,14 +197,3 @@ VPS测试VPS测速VPS综合性能测试VPS回程线路测试VPS流
选项6原创区
![图片](https://github.com/spiritLHLS/ecs/assets/103393591/393db695-5c94-41a9-9b02-812ad9d64967)
## 致谢
感谢 ipinfo.io ip.sb cheervision.co ipip.net cip.cc 等网站提供的检测API感谢互联网各网站提供的查询资源
感谢所有开源项目提供的原始测试脚本
同时感谢以下平台提供编辑和测试支持
![PyCharm logo](https://resources.jetbrains.com/storage/products/company/brand/logos/PyCharm.png)

View File

@@ -1,3 +1,7 @@
---
outline: deep
---
# 仓库
https://github.com/spiritLHLS/ecsspeed
@@ -104,16 +108,4 @@ bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubus
## .net数据
仓库https://github.com/spiritLHLS/speedtest.net-CN-ID
### 交流
admin@spiritlhl.net
### 致谢
感谢 [@fscarmen](https://github.com/fscarmen) 提供的并发测ping支持
感谢 [speedtest-go](https://github.com/showwin/speedtest-go) 提供的第三方测速内核
感谢 [speedtest.net](https://www.speedtest.net/) 和 [speedtest.cn](https://www.speedtest.cn/) 提供的测速服务器
仓库https://github.com/spiritLHLS/speedtest.net-CN-ID

View File

@@ -1,3 +1,7 @@
---
outline: deep
---
# 仓库
https://github.com/spiritLHLS/Oracle-server-keep-alive-script

View File

@@ -1,3 +1,7 @@
---
outline: deep
---
# 仓库
https://github.com/spiritLHLS/convoypanel-scripts

View File

@@ -1,3 +1,7 @@
---
outline: deep
---
**你可以在开发新功能时遵循以下步骤来支持本地化**
## 介绍