EADST

阿里云服务器迁移到腾讯云轻量服务器

因为之前的阿里云服务器到期了,续费一年要2000多,所以就打算迁移到其他的云服务器。对比下来,只有腾讯云的首单买三年的活动。3年轻量2核4G内存5M带宽60G硬盘500G流量才628元,相当实惠。

  1. 首先购买腾讯云产品,然后进入控制台装机服务器,需要安装一个桌面可视化网页等其他页面。

    腾讯云轻量应用服务器通过VNC搭建Ubuntu图形界面

  2. 然后下载和安装Anaconda

    Anaconda3-5.0.1下载

    Ubuntu安装anaconda 介绍、安装、配置

  3. 打包和传输之前阿里云的博客文件夹

    tar -cvf blog.tar ./blog
    scp -r blog.tar root@101.43.xxx.xxx:/home/www/path_here

  4. 在腾讯云服务器下配置Django+uWSGI+nginx

    Liunx之Ubuntu下Django+uWSGI+nginx部署

    修改uwsgi.ini中的

    socket=172.x.x.x:8000 # 腾讯云内网IP

    修改etc/nginx/conf.d/blog.conf中

    server_name 101.43.240.170; # 腾讯公网IP,或者是域名
    uwsgi_pass 172.x.x.x:8000; # 腾讯云内网IP

    启动uwsgi和nginx,就可以通过IP地址101.43.240.170查看博客了

    uwsgi --ini uwsgi.ini
    uwsgi --stop uwsgi.pid #停止uwsgi
    /etc/init.d/nginx start
    /etc/init.d/nginx restart # 重启nginx

    uwsgi.ini和blog.conf具体参数参见 阿里云部署个人博客Django+uWSGI+Nginx

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Qwen2 Ubuntu Python VSCode Tensor icon CLAP Bipartite FP8 NLP HaggingFace Input Paddle Distillation Vmess Google Proxy ONNX 飞书 SPIE CUDA SVR Algorithm 搞笑 云服务器 FastAPI Excel Pytorch 多进程 Anaconda Qwen2.5 Data PyTorch UNIX logger ResNet-50 Bitcoin RAR Video Datetime Color JSON Review Pickle Attention Jetson Sklearn Plotly Pandas Gemma llama.cpp 递归学习法 Heatmap 图形思考法 uwsgi 签证 Transformers DeepSeek tar Django 算法题 PDF ChatGPT LeetCode 域名 顶会 BF16 uWSGI Freesound TensorRT Magnet Dataset Password torchinfo CV printf 公式 Markdown Tracking IndexTTS2 Plate Mixtral 净利润 XML Hungarian Bin OpenCV 财报 PyCharm diffusers Translation Bert GGML Quantization Pillow Cloudreve TensorFlow 继承 Nginx v0.dev Docker Domain FP32 Windows PIP C++ Base64 Image2Text v2ray GIT Search Diagram CSV QWEN LaTeX Streamlit Card TTS PDB ModelScope FP64 COCO HuggingFace Jupyter SQL Statistics 证件照 Ptyhon UI Github InvalidArgumentError GPT4 BeautifulSoup Miniforge Crawler Paper 关于博主 CEIR OCR DeepStream TSV Logo Zip EXCEL AI Numpy FlashAttention VPN 版权 Animate Math transformers Claude 论文 报税 论文速读 Safetensors Rebuttal Vim Use git Agent WebCrawler Clash Knowledge OpenAI Linux API Firewall scipy YOLO XGBoost LLAMA Web SAM Website Conda Template Shortcut Augmentation LoRA Baidu 音频 阿里云 VGG-16 RGB tqdm Random Breakpoint FP16 Quantize NameSilo 腾讯云 Permission mmap Qwen NLTK Land Michelin Hotel 多线程 GPTQ News GoogLeNet WAN Interview hf git-lfs Disk Git CAM 强化学习 CTC 第一性原理 MD5 SQLite CC Hilton 图标 Food Llama LLM Tiktoken BTC
站点统计

本站现有博文327篇,共被浏览825877

本站已经建立2532天!

热门文章
文章归档
回到顶部