vps

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

穿精又带淫゛_ 提交于 2019-12-02 03:52:05
used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps on ruby 2.0 , so I added 2.0 to rvm : ruby-1.9.2-p320 [ i686 ] ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] =* ruby-2.0.0-p247 [ i686 ] installed passenger and passenger-apache-module , instructions says to add these lines: LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p247/gems/passenger-4.0.19/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby

VPS 安装MySQL

自古美人都是妖i 提交于 2019-12-02 03:33:19
目前Centos下默认支持的数据库是MariaDB,MariaDB是mysql的增强版本,由于mysql被Oracle收购之后,mysql之父担心之后mysql会变成闭源的软件,就又开发了这个版本,支持mysql的所有功能,还增加了一些mysql没有的功能,只是和mysql相比,有些操作稍微不同。 我们来安装 MariaDB ``` yum install -y mariadb-server ``` 安装完成后,执行命令来启动 MariaDB ``` systemctl start mariadb.service systemctl enable mariadb.service ``` 启动 MySQL 成功后,我们来配置 MySQL 的安全安装 ``` mysql_secure_installation 照着命令的说明,一步步执行下去。 最后测试 mysql -uroot -p 输入密码 show databases; exit; ———————————————— 参考链接: https://blog.csdn.net/qq_34691713/article/details/83896662 yum install -y mariadb-server 来源: https://www.cnblogs.com/anloveslife/p/11729163.html

Windows Server 2008 r2 + IIS7: .mp4 files can not be played

那年仲夏 提交于 2019-12-02 03:00:58
I have the strange trouble.Folder of web application in my server (IIS7.5, Windows Server 2008 R2). Web application has Video player. <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <video src='<%# ResolveUrl(GetVideoHandler(Eval("id"))) %>' width="900" height="400" controls="" preload=""></video> </ItemTemplate> </asp:Repeater> It can play .mp4 on my local System, but it don't play on live server when i accessing a video on other system.i have a Value gettong in ResolveUrl(GetVideoHandler(Eval("id"))) VideoFolder/VideoName.mp4 for playing video. Its working fine on my loaclHost

VPS安装Virtualmin面板

梦想与她 提交于 2019-12-02 02:47:21
什么是Virtualmin面板 对一些Linxu操作不太熟悉的用户可以在VPS上安装web控制面板来简化添加网站或数据库等操作,常用的有cPanel、DirectAdmin、Virtualmin/Webmin、Kloxo这几种web控制面板,但是cPanel、DirectAdmin、Kloxo都是收费的控制面板,并且比较占用系统内存和资源,一般被空间销售商用作虚拟空间的销售;Virtualmin/Webmin是一款免费并且占用系统资源比较小的web控制面板,非常适合在VPS上安装。Hi-VPS强烈建议安装Virtualmin/Webmin作为VPS上的web控制面板. Virtualmin面板和Webmin的区别 Virtualmin是在Webmin基础上的一个网站管理组建.如果只安装Webmin的话,用户就可以通过Webmin来手工添加apahce虚拟网站或者添加数据库,添加FTP用户等,但是要完整的完成添加一个网站需要很多用户创建,权限管理等繁琐的操作,极其容易操作失误导致失败.Virtualmin是在Webmin基础上自动化添加网站的组建,只要简单的输入需要添加的域名后,Virtualmin能够自动的创建数据库,添加FTP用户等,用户直接按照创建的FTP用户名上传网站文件到对应的目录中后即可. 如何在Hi-VPS的VPS上安装Virtualmin面板 目前Hi

VPS安装Virtualmin面板

∥☆過路亽.° 提交于 2019-12-02 02:47:09
什么是Virtualmin面板 对一些Linxu操作不太熟悉的用户可以在VPS上安装web控制面板来简化添加网站或数据库等操作,常用的有cPanel、DirectAdmin、Virtualmin/Webmin、Kloxo这几种web控制面板,但是cPanel、DirectAdmin、Kloxo都是收费的控制面板,并且比较占用系统内存和资源,一般被空间销售商用作虚拟空间的销售;Virtualmin/Webmin是一款免费并且占用系统资源比较小的web控制面板,非常适合在VPS上安装。Hi-VPS强烈建议安装Virtualmin/Webmin作为VPS上的web控制面板. Virtualmin面板和Webmin的区别 Virtualmin是在Webmin基础上的一个网站管理组建.如果只安装Webmin的话,用户就可以通过Webmin来手工添加apahce虚拟网站或者添加数据库,添加FTP用户等,但是要完整的完成添加一个网站需要很多用户创建,权限管理等繁琐的操作,极其容易操作失误导致失败.Virtualmin是在Webmin基础上自动化添加网站的组建,只要简单的输入需要添加的域名后,Virtualmin能够自动的创建数据库,添加FTP用户等,用户直接按照创建的FTP用户名上传网站文件到对应的目录中后即可. 如何在Hi-VPS的VPS上安装Virtualmin面板 目前Hi

Ubiquity Motion VPS测评

纵饮孤独 提交于 2019-12-01 21:48:07
嗯 今天在Hostloc看到有人放出UBI机房的云服务优惠码 我就试试了 注册还算简单 输入全名和Email 密码是email发来的随机密码 填好Billing Address、信用卡后我就激活了优惠码 25BUCKS 拿到了25美刀 机房有New Ark芝加哥洛杉矶 三个机房 对于墙国人来说 西海岸LA机房是首选啦 东岸那个速度你懂的 控制面板: 大专栏 Ubiquity Motion VPS测评 PNG" alt=""/> wget测速: 挂SS看U2B的速度(没看TCP FAST OPEN和锐速) 这画质不忍直视 简直是XX画质 DD测试硬盘速度 结论:练手可以 投入生产还不如选择DigitalOcean 更实惠 更快 更靠谱 来源: https://www.cnblogs.com/sanxiandoupi/p/11717790.html

You don't have permission to access /wp-admin/post.php on this server. Wordpress

我与影子孤独终老i 提交于 2019-12-01 13:21:14
The question was edited 3 times and it now includes VPS and Centos tags, because i think there is something wrong with my VPS config file. Ok, first, I've looked through all the questions asked here, and there is no answer to the issue I have. The problem is that when I try to copy/paste and update or create WP post, I get this warning that says: "You don't have permission to access /wp-admin/post.php on this server." The strangest thing is that when I copy/paste it mostly crashes only if there are some special format like Italic or any symbol, but not every like (). So if I paste text, it

[经验分享] VPS安装爱快

蓝咒 提交于 2019-12-01 10:47:16
前言:本人是作VPN服务端用,配合域名分流,蛮好用。 参考 1.送一个阿里云腾讯云安装爱快3.X的文档 https://bbs.ikuai8.com/thread-97314-1-1.html VPS存在的问题: 1.提供的系统启动引导grub貌似存在问题,无法正常加载iso镜像 2.只有部分VPS方案有私网(注:CN2 GIA-E 机房和香港机房是支持的,其他机房暂时使用不了) 安装步骤: 1.DD纯净版Centos、Debian、Ubuntu到VPS。此可以解决提供的系统grub不正常情况。 DD可以参考: https://moeclub.org/2018/04/03/603/?spm=38.8 2.登陆VPS,查询并记录网关,子网掩码,上传爱快镜像到/root目录,可以更改文件名ik.iso 3.登陆VNC,重启vps,进入grub,按c,如图输入 <ignore_js_op> 4.安装爱快系统,接着设置wan地址(vps IP地址以及之前记录下来的网关,子网掩码),爱快3.2.5版本开始可以控制台设置掩码。 5.接着浏览器登陆就好了。 <ignore_js_op> 来源: https://www.cnblogs.com/ikuai/p/11682157.html

You don't have permission to access /wp-admin/post.php on this server. Wordpress

泪湿孤枕 提交于 2019-12-01 10:19:24
问题 The question was edited 3 times and it now includes VPS and Centos tags, because i think there is something wrong with my VPS config file. Ok, first, I've looked through all the questions asked here, and there is no answer to the issue I have. The problem is that when I try to copy/paste and update or create WP post, I get this warning that says: "You don't have permission to access /wp-admin/post.php on this server." The strangest thing is that when I copy/paste it mostly crashes only if

Permissions with Git Post-Receive

我是研究僧i 提交于 2019-12-01 09:06:50
I have setup git locally and on my server and created a 'post-receive' so that when I do a push to the live server it should then checkout to the virtual hosts directory of the website. #!/bin/sh GIT_WORK_TREE=/var/www/domainname/public_html/ git checkout -f However, when I try to do my push, it goes out the master successfully but I get permission denied errors when trying to create those files on my server web root. e.g. remote: error: unable to create file index.php (Permission denied) These errors actually make sense to me due to the way I have setup my server. I disabled root access and