dreamhost

Is there a way to limit the amount of memory that “git gc” uses?

折月煮酒 提交于 2019-12-17 07:12:01
问题 I'm hosting a git repo on a shared host. My repo necessarily has a couple of very large files in it, and every time I try to run "git gc" on the repo now, my process gets killed by the shared hosting provider for using too much memory. Is there a way to limit the amount of memory that git gc can consume? My hope would be that it can trade memory usage for speed and just take a little longer to do its work. 回答1: Yes, have a look at the help page for git config and look at the pack.* options,

getting 500 internal server error with django on dreamhost

爷,独闯天下 提交于 2019-12-13 02:25:56
问题 so i'm not sure what exactly is going on here, i'm a bit of a newbie. so i'm going to walk you through what i've done so far. i set up a django project using the automated dreamhost django setup script. then, following a tutorial, i created an app in the parent directory of my project, and then created a few models (names and etc are different than the actual tutorial models but that doesnt matter). they validated fine when i ran manage.py validate so i figure that means the syntax is fine

Rack Error with DreamHost, Passenger, and Rails 3.0.0.rc

℡╲_俬逩灬. 提交于 2019-12-12 08:54:42
问题 Background: I have viewed this question as well as this one - sadly, to no avail. Error Message (Passenger): You have already activated rack 1.1.0, but your Gemfile requires rack 1.2.1. Consider using bundle exec. my Gemfile: source 'http://rubygems.org' gem 'rails', '3.0.0.rc' gem 'nifty-generators' gem 'nokogiri' group :after_initialize do gem 'feedzirra' end my Gemfile.lock has this line: rack (1.2.1) my environment.rb has this line at the top: ENV['GEM_PATH'] = File.expand_path('~/.gems')

SSH key on dreamhost

久未见 提交于 2019-12-12 08:49:47
问题 I am trying to setup an SSH key pairing with dreamhost and my local machine. I'm using git bash as my terminal (which uses mingw32) I can ssh myusername@mysharedserver.com and I'm asked for my password. I have already created RSA keys on both my local and the shared dreamhost server. Here are the steps I take on my git terminal: $ scp ~/.ssh/id_rsa.pub myusername@mysharedserver.com:~/ $ ssh myusername@mysharedserver.com myusername@mysharedserver.com's password: ***** $ (ls shows my local's id

Codeigniter + GoCart CMS + Dreamhost (Shared Hosting) says “Unable to locate the model you have specified…”

浪子不回头ぞ 提交于 2019-12-12 05:20:39
问题 I have been working on a site locally (WAMP) and it's worked 100%. Now I'm trying to put it online on the client's Dreamhost server and it's been giving me 5 days of problems. However, on the index.php page, it reads: An Error Was Encountered Unable to locate the model you have specified: Settings The structure of the server is: home user domain1.com application/ system/ index.php domain2.com .htaccess: Options +FollowSymLinks AuthType Basic AuthName "Restricted Access" AuthUserFile "/home

Getting a 'Not Found' error on my website?

痞子三分冷 提交于 2019-12-11 20:43:34
问题 I'm trying to upload files to my domain that I'm hosting with Dreamhost. I connected to the server with FileZilla and I'm pretty sure I put the files in the right spot. Their tutorial says to create a directory with your domain name like this: 'mydomain.com' and put your files in there. I put an index.html, p.css, register.php, login.php, and logout.php file in there. However, when I navigate to mydomain.com in Google Chrome, all I see is this: Does anybody know what could be causing this?

Dreamhost - Latest version of PEAR

て烟熏妆下的殇ゞ 提交于 2019-12-11 12:15:10
问题 I'm on SSH on my Dreamhost account. I need to install the HTTP_Request2 PHP library via pear pear install HTTP_Request2 gives the following error pear/HTTP_Request2 requires PEAR Installer (version >= 1.9.2), installed version is 1.9.1 Here's the output of pear -V PEAR Version: 1.9.1 I tried forcing an upgrade on the Dreamhost server pear upgrade --force http://pear.php.net/get/PEAR-1.9.2 and even pear install PEAR-1.9.4 but this errors out to: pear/PEAR is already installed and is the same

Deploying a Rails app on dreamhost issue

一世执手 提交于 2019-12-11 09:08:57
问题 So I'm at a loss with this one. My error is: Missing these required gems: jrails You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.6 at /home/ryann/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run rake gems:install to install the missing gems. I have unpacked jrails in my vendor directory and frozen my local rails environment. Everything works fine on my local machine. I am using config.gem 'jrails' in my environment.rb file. My trace is (sorry for the mess): 0 /home/ryann/intercomhq

Installing WKHTMLtoPDF 0.12.x 64 bit on Ubuntu 12.04.5 (Dreamhost VPS)

孤者浪人 提交于 2019-12-11 03:07:58
问题 I'm trying to install WKHTMLtoPDf 0.12.x on a Dreamhost VPS running Ubuntu 12.04.5. I found a realatively new resource and it seems like it should be pretty straight forward: sudo add-apt-repository ppa:pov/wkhtmltopdf sudo apt-get update sudo apt-get install wkhtmltopdf But, it tells me the user I'm SSH'd in with using Putty is not in the Sudoers file, and the incident will be reported. Is this the right way to install wkhtmltopdf on the Dreamhost VPS? and if so how do you add a user to the

calling pdftotext from python script not working when I change from local machine to my webhosting

£可爱£侵袭症+ 提交于 2019-12-10 15:39:47
问题 I wrote a small python script to parse/extract info from a PDF. I tested it on my local machine, I have python 2.6.2 and pdftotext version 0.12.4. I am trying to run this on my webhosting server (dreamhost). It has python version 2.5.2 and pdftotext version 3.02. But when I try to run the script I get the following error at the pdftotext line ( I have checked it with a simple throw away script as well) "Error: Couldn't open file '-'" def ConvertPDFToText(currentPDF): pdfData = currentPDF.read