Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议使用replit,十分好用 #189

Open
ssln5014 opened this issue Dec 31, 2022 · 15 comments
Open

建议使用replit,十分好用 #189

ssln5014 opened this issue Dec 31, 2022 · 15 comments
Labels
enhancement New feature or request

Comments

@ssln5014
Copy link

在线ide,能够直接编辑,自带nix环境,什么语言都支持,性能足够,使用teams创建没有各种乱七八糟的限制,只需一个探针保持活跃即可。
replit.com

@ssln5014
Copy link
Author

对了,探针也可以在replit上搭建,比如uptimekuma ,实现自己always on自己,十分离谱(笑

@luolongfei luolongfei added the enhancement New feature or request label Dec 31, 2022
@luolongfei
Copy link
Owner

先标记一下,支持新平台优先度比较低。

@ssln5014
Copy link
Author

其实这平台出来好几年了,比koyeb早些,之前功能比较少

@shaojs321
Copy link

最近replit很火啊,而且能无限创造实例,好几个服务部署在replit,希望能支持

@shaojs321
Copy link

replit 可以源码安装

1、创建项目
Snipaste_2023-01-08_20-35-43
2、获取root权限
所有命令都在console输入
wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip (需要回车一次)
unzip yt.zip (需要回车一次)
unzip root.zip
tar -xvf root.tar.xz
./dist/proot -S . /bin/bash
3、安装php环境带上curl,安装git(创建项目的时候就带php环境的话,root找不到php,replit好像使用nix,不熟悉)
apt -y install php php-common php-curl
apt install git
4、按照freenom项目源码安装步骤(replit没有systemctl 重启cron可以用service cron restart)

结果:
Snipaste_2023-01-08_21-16-59

本人不懂php,自己找了一些教程,按照这个方法来暂时没问题,应该是属于小白部署流程了,有大佬可以优化流程的话,欢迎大佬修改!

@ShaunHighmore
Copy link

replit 可以源码安装

1、创建项目 Snipaste_2023-01-08_20-35-43 2、获取root权限 所有命令都在console输入 wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip (需要回车一次) unzip yt.zip (需要回车一次) unzip root.zip tar -xvf root.tar.xz ./dist/proot -S . /bin/bash 3、安装php环境带上curl,安装git(创建项目的时候就带php环境的话,root找不到php,replit好像使用nix,不熟悉) apt -y install php php-common php-curl apt install git 4、按照freenom项目源码安装步骤(replit没有systemctl 重启cron可以用service cron restart)

结果: Snipaste_2023-01-08_21-16-59

本人不懂php,自己找了一些教程,按照这个方法来暂时没问题,应该是属于小白部署流程了,有大佬可以优化流程的话,欢迎大佬修改!

请问一下 老哥 我按照你的步骤弄到第四步 clone 仓库源码的时候 显示找不到命令是我哪里弄错了吗 可以指点一下吗?
console显示内容为:
root@df750a479e09:~/ffrreenom# git clone https://github.com/luolongfei/freenom.git ./
bash: git: command not found

@luolongfei
Copy link
Owner

replit 可以源码安装
1、创建项目 Snipaste_2023-01-08_20-35-43 2、获取root权限 所有命令都在console输入 wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip (需要回车一次) unzip yt.zip (需要回车一次) unzip root.zip tar -xvf root.tar.xz ./dist/proot -S . /bin/bash 3、安装php环境带上curl,安装git(创建项目的时候就带php环境的话,root找不到php,replit好像使用nix,不熟悉) apt -y install php php-common php-curl apt install git 4、按照freenom项目源码安装步骤(replit没有systemctl 重启cron可以用service cron restart)
结果: Snipaste_2023-01-08_21-16-59
本人不懂php,自己找了一些教程,按照这个方法来暂时没问题,应该是属于小白部署流程了,有大佬可以优化流程的话,欢迎大佬修改!

请问一下 老哥 我按照你的步骤弄到第四步 clone 仓库源码的时候 显示找不到命令是我哪里弄错了吗 可以指点一下吗? console显示内容为: root@df750a479e09:~/ffrreenom# git clone https://github.com/luolongfei/freenom.git ./ bash: git: command not found

没有装 git 命令

@ShaunHighmore
Copy link

有一个关于安全的问题想要请教,replit个人版搭建的项目是公开的。别人好像可以看到配置文件的内容,这样账号信息就泄露了,请问下大佬们有没有方法可以解决。(希望讲的详细一点,最好出个教程,我比较小白😳)

@ssln5014
Copy link
Author

有一个关于安全的问题想要请教,replit个人版搭建的项目是公开的。别人好像可以看到配置文件的内容,这样账号信息就泄露了,请问下大佬们有没有方法可以解决。(希望讲的详细一点,最好出个教程,我比较小白😳)

用teams

@shaojs321
Copy link

apt install git

第三步里面有个apt install git命令,你应该是漏掉了

@nikoxp
Copy link

nikoxp commented Feb 10, 2023

wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip
--2023-02-10 05:19:40-- https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip
Resolving cdn.discordapp.com (cdn.discordapp.com)... 162.159.129.233, 162.159.133.233, 162.159.135.233, ...
Connecting to cdn.discordapp.com (cdn.discordapp.com)|162.159.129.233|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-02-10 05:19:40 ERROR 403: Forbidden.

the file is gone, where is new url address can find?

@baby9
Copy link

baby9 commented Feb 18, 2023

wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip --2023-02-10 05:19:40-- https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip Resolving cdn.discordapp.com (cdn.discordapp.com)... 162.159.129.233, 162.159.133.233, 162.159.135.233, ... Connecting to cdn.discordapp.com (cdn.discordapp.com)|162.159.129.233|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2023-02-10 05:19:40 ERROR 403: Forbidden.

the file is gone, where is new url address can find?

I tried it before and it didn't work. What I got was fake root access.

@ltsyydswow
Copy link

有人知道怎么把replit的实例开启ssh吗

@Winyer
Copy link

Winyer commented Jun 15, 2023

replit 可以源码安装

1、创建项目 Snipaste_2023-01-08_20-35-43 2、获取root权限 所有命令都在console输入 wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip (需要回车一次) unzip yt.zip (需要回车一次) unzip root.zip tar -xvf root.tar.xz ./dist/proot -S . /bin/bash 3、安装php环境带上curl,安装git(创建项目的时候就带php环境的话,root找不到php,replit好像使用nix,不熟悉) apt -y install php php-common php-curl apt install git 4、按照freenom项目源码安装步骤(replit没有systemctl 重启cron可以用service cron restart)

结果: Snipaste_2023-01-08_21-16-59

本人不懂php,自己找了一些教程,按照这个方法来暂时没问题,应该是属于小白部署流程了,有大佬可以优化流程的话,欢迎大佬修改!

请问Root如果想使用php7.4的环境,是不是还要安装nginx?因为nix下架了php7.4,但是我又要使用7.4的版本只好出此下策了😂

@Winyer
Copy link

Winyer commented Jul 9, 2023

replit 可以源码安装

1、创建项目 Snipaste_2023-01-08_20-35-43 2、获取root权限 所有命令都在console输入 wget https://cdn.discordapp.com/attachments/853535040250970113/878590395611775016/yt.zip (需要回车一次) unzip yt.zip (需要回车一次) unzip root.zip tar -xvf root.tar.xz ./dist/proot -S . /bin/bash 3、安装php环境带上curl,安装git(创建项目的时候就带php环境的话,root找不到php,replit好像使用nix,不熟悉) apt -y install php php-common php-curl apt install git 4、按照freenom项目源码安装步骤(replit没有systemctl 重启cron可以用service cron restart)

结果: Snipaste_2023-01-08_21-16-59

本人不懂php,自己找了一些教程,按照这个方法来暂时没问题,应该是属于小白部署流程了,有大佬可以优化流程的话,欢迎大佬修改!

这样的话nix的启动命令该怎么写呢?毕竟还要进入环境中去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants