Skip to main content

Command Palette

Search for a command to run...

serv00 恢复如初

Updated
2 min read

1、SSH客户端 清除虚拟机进程

方法一 使用 ps aux:

ps aux

方法二 使用 top:

top

1.2、清除指定账户的所有进程

pkill -kill -u ${username}

比如: pkill -kill -u defeisoft

2、删除文件夹及文件夹

2.1 更改非隐藏目录的权限

chmod -R 755 ~/*

2.2 更改隐藏目录的权限

chmod -R 755 ~/.*

3、删除文件夹及文件

3.1 删除非隐藏文件夹及其文件

rm -rf ~/*

3.2 删除隐藏文件夹及其文件

rm -rf ~/.*

添加文件夹

domains

mail

repo

domains 文件夹下建立域名文件夹:

帐号.serv00.net

例如

yangleiies.serv00.net

域名文件夹下建立文件夹

logs

建立文件夹

access

public_html

建立文件

index.html

双击 index.html 文件修改

<!DOCTYPE html>  
<html>  
    <head>  
        <meta charset=utf-8 />  
        <title>defei2024.serv00.net - hosted on Serv00.com</title>  
        <style type="text/css">  
            * {  
                margin: 0;  
                padding: 0;  
                border: 0;  
            }  

            body {  
                background-image: linear-gradient(137deg, #2E457B 0%, #237431 100%) !important;  
                background-attachment: fixed;  
                color: #333;  
                font-family: Arial, Verdana, Tahoma;  
                font-size: 13px;  
            }  

            #main {  
                background: #FFF;  
                box-shadow: 0 0 40px #00275A;  
                margin-top: 65px;  
                padding-top: 20px;  
                padding-bottom: 20px;  
                width: 100%;  
            }  

            #mainwrapper {  
                display: table;  
                text-align: center;  
                margin: 0 auto;  
            }  

            h1 {  
                color: #EE6628;  
                font-size: 44px;  
                font-weight: normal;  
                text-shadow: 1px 1px 2px #A7A7A7;  
            }  

            h2 {  
                color: #385792;  
                font-weight: normal;  
                font-size: 25px;  
                text-shadow: 1px 1px 2px #D4D4D4;  
            }  

            ul {  
                text-align: left;  
                margin-top: 20px;  
            }  

            p {  
                margin-top: 20px;  
                color: #888;  
            }  

            a {  
                color: #4D73BB;  
                text-decoration: none;  
            }  

            a:hover, a:focus {  
                text-decoration: underline;  
            }  
        </style>  
    </head>  

    <body>  

        <div id="main">  
            <div id="mainwrapper">  
                <h1>defei2024.serv00.net</h1>  
                <h2>Page successfully added</h2>  

                <ul>  
                    <li>The page is in the directory <b>/usr/home/defei2024/domains/defei2024.serv00.net/public_html</b></li>  
                    <li>This file can be deleted (index.html),</li>  
                    <li>Files can be put on the server using the <b>FTP</b>, <b>FTPS</b> or <b>SFTP</b> protocols.</li>  
                </ul>  

                <p>If you have any questions <a href="https://www.serv00.com/contact">contact us</a>.</p>  
            </div>  
        </div>  
    </body>  

</html>

点击 Zapisz 保存

More from this blog

使用cloudflare搭建临时域名邮箱网站

油管教程:https://www.youtube.com/watch?v=XR5TV4C3D5E 仓库地址:https://github.com/zaunist/zmail 在线体验:https://mail.mdzz.uk 方式一:一键部署(推荐新手) 优点: 部署简单,一键完成 无需修改配置文件 适合快速体验 缺点: 无法获得后续代码更新 需要手动绑定自定义域名 部署步骤: 点击上方 “Deploy to Cloudflare” 按钮 按照页面提示连接您的 GitHu...

Oct 9, 20252 min read

利用Cloudflare R2 + Workers搭建在线网盘

油管视频:https://github.com/kamibook/Cloudflare-R2-oss 汉化修改自/longern/FlareDrive 增加了权限系统,支持多管理员,分别授权目录 cloudflare R2是一个文件储存系统,配合Cloudflare Workers可以实现这样一个网盘系统 文件库 (oss.ljxnet.cn) 搭建教程 fork该仓库 前往Cloudflare R2新建一个R2储存桶,并前往储存桶设置,允许公开访问,复制公共存储桶 URL 前往Cloud...

Oct 9, 20251 min read

杨磊的博客

33 posts