由于无法继续忍受和千军万马共挤虚拟主机。近日,我为阳光部落(http://www.sunbloger.com/)从Godaddy(http://www.godaddy.com/)上购买了VPS主机,下面是我在购买和使用中的一些感受和心得。
1.内核版本 内核是系统的心脏,是运行程序和管理像磁盘和打印机等硬件设备的核心程序,它提供了一个在裸设备与应用程序间的抽象层。例如,程序本身不需要了解用户的主板芯片集或磁盘控制器的细节就能在高层次上读写磁盘。
b) 编辑GRUB Loader /boot/grub/grub.conf 确保grub.conf文件的内容为:
虚拟机的组成部分 1.虚拟机配置文件 [root@localhost ~]# ls /etc/xen/ auto scripts xend-pci-quirks.sxp xmexample.hvm qemu-ifup xend-config.sxp xmexample1 xmexample.vti rhel5u8-1 xend-pci-permissive.sxp xmexample2 2.储存虚拟机的介质 [root@localhost ~]# ls /var/lib/xen/p_w_picpaths/ rhel5u8-1.img #虚拟机的基本管理命令:查看、启动、关闭 使用xm查看虚拟机 [root@localhost ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3490 2 r----- 533.8 Domain-0 系统必须安装创建、管理、删除虚拟域的工具。它们包括 xm 和 xend 程序和服务。 尽量减少在 Domain-0 中运行程序和服务,Domain-0 中 CPU 的使用率直接影响其他虚拟域 CPU 资源的分配。 #使用xm启动虚拟机 [root@localhost ~]# xm create rhel5u8-1 Using config file "/etc/xen/rhel5u8-1". Started domain rhel5u8-1 [root@localhost ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3490 2 r----- 535.2 rhel5u8-1 2 520 1 r----- 3.7 #使用xm关闭虚拟机 [root@localhost ~]# xm shutdown 2 #使用virsh查看虚拟机 [root@localhost ~]# virsh list Id Name State ---------------------------------- 0 Domain-0 running #使用virsh启动虚拟机 [root@localhost ~]# virsh start rhel5u8-1 Domain rhel5u8-1 started [root@localhost ~]# virsh list Id Name State ---------------------------------- 0 Domain-0 running 3 rhel5u8-1 running #使用virsh关闭虚拟机 [root@localhost ~]# virsh shutdown rhel5u8-1 Domain rhel5u8-1 is being shutdown
一般我们在项目需要用到远程桌面功能的时候会用到Windows系统,但是大部分海外服务器商都是Linux系统的,我们只可以去安装类似CentOS、Debian、Ubuntu等系统。如果我们是本地电脑用的Linux系统是有见过直接可以安装Debian桌面的,但是在VPS、服务器上我们是否可以安装桌面呢?
系统需求: CentOS/Debian/Ubuntu Linux系统 需要2GB以上硬盘剩余空间(个人建议>=20G) 128M以上内存,OpenVZ的建议192MB以上(小内存请勿使用64位系统) VPS或服务器必须已经联网! Linux下区分大小写,输入命令时请注意! LNMP一键安装包 V1.1 已经在Linode、DiaHosting、PhotonVPS、DigitalOcean、VR中国香港VPS、遨游主机、RamNode、BudgetVM、瑞豪开源、DirectSpace、KVMLA、On
Godaddy域名更换DNS 首先,我们登陆自己的godaddy账户后台域名列表处。
BBR 是 Google 开源的 TCP BBR 拥塞控制算法,并提交到了 Linux 内核,最新的 4.10 版内核已经用上了该算法。 主要用于网络加速,类似于锐速。不支持OpenVZ的机器。
最近,Google 开源了其 TCP BBR 拥塞控制算法,并提交到了 Linux 内核,从 4.9 开始,Linux 内核已经用上了该算法。根据以往的传统,Google 总是先在自家的生产环境上线运用后,才会将代码开源,此次也不例外。 根据实地测试,在部署了最新版内核并开启了 TCP BBR 的机器上,网速甚至可以提升好几个数量级。 于是我根据目前三大发行版的最新内核,开发了一键安装最新内核并开启 TCP BBR 脚本。
4. 配置 WireGuard:在 VPS 主机上创建一个 WireGuard 配置文件 wg0.conf,将以下配置信息添加到该文件中:
通常,考虑到VPS的安全性,我们会更改SSH端口和密码,然后更安全地禁用密码并使用密钥登录。该方法已在很久以前浇灌了,这是另一种方法方法,您可以在VPS上安装Google Authenticator,这样当我们登录到VPS时,不仅密码正确,而且还需要输入正确的动态验证代码才能登录,因此安全性很高更高。在这里,我们将讨论CentOS,Debian和Ubuntu的使用。
本脚本适用环境: 系统支持:CentOS6+,Debian7+,Ubuntu12+ 内存要求:≥128M 更新日期:2017 年 05 月 28 日
一般我们考虑到VPS的安全问题的时候,都是更改SSH端口和密码,然后更安全的也就是禁用密码使用密匙登录。方法很久前就水过了,这里再分享一个方法,可以在VPS上安装一个Google Authenticator(谷歌身份验证器),这样我们登录VPS的时候,不仅需要密码正确,而且还要你输入正确的动态验证码才能登录进去,这样安全性就高了不少,这里就说下CentOS、Debian、Ubuntu的使用。
呵,上次手痒,两台H1F免费VPS都关了。 今天又能申请了,又申请了一台,还是当做采集驱动和SSH来用吧。 自己装系统是不会的了。 还是照着爱玩C的文章来吧,真简单啊: 一、debian6-32位系统 首先将系统重装成必须是debian6-32位的 然后: wget http://iwanc.googlecode.com/svn/trunk/vd/vagex_debian32.sh sh vagex_debian32.sh 就搞定了,十来分钟吧。 当然,中间会让你输入VNC的密码的,2次。 原文地址: h
简单记录,自用CentOS7.4虚拟机与ALiYunVPS,在配置ssh登录身份验证时碰到的问题。
服务系统:CentOS6.X 仅支持64位系统 (支持蜂巢Centos 6.7) 推荐宽带:10M 以上 更新时间:2016-05-31(累计修复以往的BUG,优化脚本) 常规VPS脚本:适用于腾讯云、阿里云等正规VPS使用,内置SQ防扫验证,高效稳定,支持开机自启 网易蜂巢脚本:适用于网易蜂巢CentOS6.7容器服务,完美适配容器环境,不支持开机自启
HTTP/2 是 HTTP 网络协议的主要修订版本,其专注于 HTTP 协议的性能改进。HTTP/2 协议的目标是减少延迟,并且允许在 Web 浏览器和服务器之间的一个连接上并行发起多个请求,因此 Web 应用程序会更快。在本篇教程中,我们将像你展示如何在安装有 Ubuntu 或 CentOS 作为操作系统的 Linux VPS 上使用开启 Nginx 的 HTTP/2 协议。
HTTP/2 是 HTTP 网络协议的主要修订版本,其专注于 HTTP 协议的性能改进。HTTP/2 协议的目标是减少延迟,并且允许在 Web 浏览器和服务器之间的一个连接上并行发起多个请求,因此 Web 应用程序会更快。在本篇教程中,我们将像你展示如何在安装有 Ubuntu 或 CentOS 作为操作系统的 Linux VPS 上使用开启 Nginx 的 HTTP/2 协议。如果你使用 Apache,你可以查看我们的另一篇教程:如何在 Ubuntu 上开启 Apache 的 HTTP/2 协议。
前天发现一台VPS的端口转发功能突然失效了。然后登录VPS重新设置,发现NAT模块好像无法使用了,iptables设置转发时提示错误:
当我们使用 Vultr Snapshots 创建快照之后,把你的 VPS 做成镜像备份,对于同时配置多台机器的人,这个功能非常实用的。那么怎么使用vultr 快照恢复(snapshots)功能呢?下面
LNMP一键安装包 V1.5 已经在Vultr、遨游主机、搬瓦工、LocVPS、Linode、vps2ez、DiaHosting、OneAsiaHost、DigitalOcean、KVMLA、景文互联、RamNode、BuyVM、快易互联、80VPS、阿里云等众多VPS的CentOS 6-7、RHEL 6-7、Fedora 21-28、Debian 7-9、Ubuntu 10.04-18.04的32位和64位系统上测试通过(CentOS 5,Debian 6及之前版本其官网已经结束支持无法使用,Debian9上Apache需选2.4.26版本以上。
Xshell安装使用教程:如何通过Xshell连接管理linux服务器,在Windows系统下安装Xshell后通过SSH连接管理Linux系统图文教程。 Xshell是一款优秀的连接ssh服务器软件,能在Windows下远程访问管理我们的Linux VPS云服务器,支持SSH1, SSH2协议。从而达到远程控制终端的目的。这里以我们通过Xshell6.0连接Centos系统为例。 使用xshell连接到Linux服务器需要有VPS主机的:ip地址、端口号、用户名、密码。
其实这是新的vps主机测试,原来的那个空间目前为备份(感谢小白童鞋的推荐)。测试一个月之后决定是否要继续使用该vps(由于数据库是昨天的,所以有的评论可能已经丢失了)。
前面使用windows VPS 安装 php 网站是让你先熟悉一下 vps 的搭建、环境配置、安全性和网站建设,在头脑中先有个概念。PHP 程序和 linux 系统是天生的绝配,可以发挥出二者最大的性
Let’s Encrypt免费 SSL 证书已经受到了包括 FireFox、Chrome 在内的众多主流浏览器的兼容和支持,目前国内的应用主要是提现在各大电商网站和门户网站上,可以提高访问和交易安全性。很多外贸公司网站也使用是因为 google 已经明确表示有提供 SSL 证书将会是一个加分因素。那么对于我们广大站长来说,也许将来某一天你的网站就需要添加这么一个 SSL 证书。 给网站添加 SSL 证书的方式有很多,老魏以后会分别写教程。今天魏艾斯博客(www.vpsss.net)说一下Let’s Encr
在今天的数字时代,虚拟专用服务器(VPS服务器)已经成为许多人和企业进行在线活动的关键工具。无论是托管网站、应用程序还是进行数据备份,VPS服务器提供了强大的性能和灵活性。如果你是一个新手,可能会对VPS服务器的概念感到困惑。不要担心,本文将从零开始,为你介绍如何快速掌握VPS服务器的使用技巧与窍门!
初学 Linux VPS 建站的用户,面对自己编译环境或者一键安装包的命令行还是很困难的。平时还是更多使用各种面板管理网站,比如魏艾斯博客之前文章中提到的 AMH 面板和宝塔面板。所以说如果你是刚开始使用 VPS 建议还是使用面板更直观一些。 相对于前文提到的AMH4.2 面板安装和宝塔服务器管理助手 Linux 面版-安装教程,WDCP 面板的用户群体更多一些。目前 WDCP 面板有 V3.0 版本,算是一款比较成熟的面板,想安装的可以参考本文的步骤。 WDCP 面板有两种不同的安装方式。 RPM 包安装
linux一键dd脚本支持Debian 9/10/11、Ubuntu 16.04/18.04/20.04、CentOS 7/8、RockyLinux 8和AlmaLinux 8系统的网络重装,自动适配境内境外系统源,适用于 GigsGigsCloud、AkkoCloud、GreenCloud、Virmach和腾讯云等vps和云服务器。
现在网络扫描和攻击越来越多,很多黑客用程序在不停的扫描网络服务器常用的端口,所以我们一定要给自己的 linux VPS 做好基础的安全措施,今天先来说一下如何修改 centOS 默认端口。 默认的 centOS 默认端口是 22,时间久了你会找到很多日志文件,这是扫描攻击留下的错误日志。那么今天我们要做的就是改成只有自己知道的数字,这样降低了被扫描到的几率,也就等于提高了安全性。 1、登陆 SSH 修改配置文件,输入如下命令 vi /etc/ssh/sshd_config 会出现如下提示,大家能够看到#po
前言: 等了3个月期待已久的橡皮鸭终于到货了,在hack5上面买的https://hakshop.com ;44.99美元。(真是心疼啊)。托朋友买的,因为淘宝上的更贵要880好像。 📷 鸭子到手以后的包装还是比较寒掺的,就一个纸袋;里面有优盘的壳子、minSD读卡器、橡皮鸭、minSD卡、一个usb口转换器(这些东西感觉20块就能做出来,简直是暴利啊!!) 下面上图: 📷 📷 0.1: 开搞之前先来说说什么是橡皮鸭和需要的一些准备工作。 0.1:什么是橡皮鸭(有借鉴)
Google 在 2016年9月份开源了他们的优化网络拥堵算法BBR,最新版本的 Linux内核(4.9-rc8)中已经集成了该算法。 对于TCP单边加速,并非所有人都很熟悉,不过有另外一个大名鼎鼎的商业软件“锐速”,相信很多人都清楚。特别是对于使用国外服务器或者VPS的人来说,效果更佳。 网上有很多在 Debian 和 Ubuntu 系统下启用 BBR 的教程,我就不粘贴了,我自己一直用的是 CentOS,本文介绍一下在 64位 CentOS 7 系统下开启BBR的方法。 升级内核 第一步首先是升级内核到
前面说到了如何下载安装使用 SSH 软件,魏艾斯博客常用的是 Xshell。今天我们来说说在 linux VPS centOS 系统中如何下载安装 lnmp 环境。 首先我们还是用 Xshell 远程登陆到 vps 上面,国内普遍使用军哥 lnmp 一键安装包,在 Xshell 里面输入命令远程下载 LNMP 一键安装包(注意命令中间的空格): wget https://soft7.vpser.net/lnmp/lnmp1.3-full.tar.gz 懒人可以复制上面这段命令,到 Xshell 的界面右键
1、修改端口 使用xshell或者putty登录VPS,默认的VPS一般是22端口
在本教程中,我们将向您展示如何在CentOS 7上安装Nagios.Nagios是一款功能强大的开源企业级软件,可监控网络基础架构,服务器和应用程序。 它可用于监视Linux和Windows服务器以及Web应用程序,Linux和Unix应用程序以及Windows应用程序。 其中一些功能包括:并行服务检查,插件系统,通过电子邮件发送通知,寻呼机或用户定义服务,用于查看状态的Web界面,日志文件,问题历史记录和通知等等。 本指南也适用于其他Linux VPS系统,但已针对CentOS 7 VPS进行了测试和编写。
Rclone可以挂载OneDrive/Google Drive/Amazon Drive等云存储,同时还支持全平台,您可以在Windows、Mac OS、Linux上进行使用。这篇文章主要分享CentOS使用Rclone挂载OneDrive的过程,其它系统或者挂载其它网盘原理和方法大致相同。
在 Centos 8 上,默认安装的 mariadb 服务器版本为:MariaDB Community Server 10.3
本篇教程针对的是对服务器的操作系统Liunx不太懂的建站小白或是一部分未接触过Liunx的史蒂夫,大佬请自行绕过本章 Linux.png 本章只是初步认识Liunx,非专业知识讲解! 看头图:Liunx的吉祥物:企鹅🐧一个 Liunx:一个服务器上常用的命令行操作系统 你还记得Liunx 你第一次接触到是在什么时候? 是在腾讯云的后台重装系统页看到了其他除Windows之外的你连名字也读不上来的? 还是大学学习时因学习编程等所需要经老师推荐/要求使用的? 对上方的操作系统定义补充——Liunx系统是一种类
新购买VPS云服务器后常用VPS测试脚本代码:跑分看看你的VPS综合性能。综合测试VPS硬件信息、CPU,核cores,CPU性能跑分,内存,硬盘大小,硬盘I/O speed、speedtest,国内国外下载速度Download Speed和网络延迟,Trace去程回程路由,一键开启BBR等等的测试脚本。测试完之后大家就会对自己的VPS小鸡有个底呢,知道是个什么样的货色。 测试脚本用到的软件:Xshell安装使用教程
当魏艾斯博客写教程的时候,有时候需要 Python2.7 版本来实现环境搭建,而很多网友还在使用默认的 CentOS5/6 版本,对应的是 Python2.4/2.6 版本的。为了让这部分网友能够顺利
2020-01-29 13:58
phpMyBackupPro:一款备份MySQL数据库的脚本,适用于CentOS VPS。
echo 'hello world' | mail -s "Subject" -t yanggang@ithomer.com,yanggang_2050@163.com -a From:463103470@qq.com
Linode在国内站长圈中是数一数二的 VPS 商家,提供的日本 TK1 线路早已经成为“传家宝”被大家长期收藏。今天我们来写一下开通Linode 日本 TK2 机房线路体验及速度性能评测的过程。希望对初次接触 Linode 的朋友有所帮助,这也是老魏写博客一直坚持的想法。 相关阅读: Linode 5 美元新方案 1G 内存/1CPU/20G SSD Linode-国外最稳定的 VPS 注册付款教程 Linode 收费扣费方式解释 一、Linode 官方网址 点我打开 Linode 官方网站 初次注册付款
我所使用的VPS主机商是俄罗斯justhost,使用了半年时间,价格便宜网络稳定,我决定升级一下配置长期使用。 我之前使用的配置是:
或许大家都用过网上或者购买过光盘那些坑爹的Ghost盗版系统,内置各种辣鸡、流氓软件,新系统?纯净版Ghost系统?不存在的~
Utopia 是您安全即时通讯、加密电子邮件通讯、匿名支付及私密网络浏览的多合一工具包。
继续接着"腾讯云服务器建站系列 - 腾讯云CVM选择以及系统安装篇"这篇文章,我们已经将服务器安装好Linux系统,这里我就直接指定一个安装CentOS6.9 64bit,当然我们也可以安装其他的,因为下面安装面板的时候不同的系统是不同的脚本安装,需要对应,要不我们又晕了。
Vultr VPS 提供的日本机房相对于国内 VPS 来说,配置高、流量大、价格低、稳定性也不错,同时支持 paypal 和信用卡付款,深受国人喜欢。有好多网友苦于对 Vultr VPS 的英文网页不太感冒,很多设置看不懂,买了 Vultr VPS 也不知道该如何操作,而且网上很多 VPS 评测网写的都是旧版本的中文对照,而 Vultr 现在改版了,所以魏艾斯博客给新版本做了一个中文详细介绍,帮助大家更顺利的使用这个性价比高的 VPS。 我们就按照平时登陆使用的步骤一步步的来说一下吧。打开 vultr 的首
领取专属 10元无门槛券
手把手带您无忧上云