Tag Info

New answers tagged

0

try to enable your GUI of virtual box as reported in this post Vagrant stuck connection timeout and follow steps in comments. if it doesn't work try to add this modification to your vagrantfile: create a file named "script.sh" that contains the following commands: mkdir /home/vagrant/.ssh wget --no-check-certificate -O authorized_keys ...


0

I experienced a similar issue. Here is what I did. Enabled virtualization in BIOS Ran ssh-add ~/.vagrant.d/insecure_private_key Added config.vm.boot_timeout = 600 to my ~/Homestead/Vagrantfile It's working fine now.


0

Hey this may be a little late....but I had the exact same problem and solved it with this shortcut! http://askubuntu.com/questions/66195/what-is-a-tty-and-how-do-i-access-a-tty as soon as I pressed it it opened up a shell for me (mind you I am running ubuntu server and not desktop so you might want to use the "7" option)


3

Below is link to a great article that will help determine the right settings for the mpm_prefork_module. The idea is to run a script that will show you how much memory is consumed by each Apache process, then using that information to configure the settings. http://cloudinservice.com/tune-apache-performance-using-mpm-prefork-module/ Script: ...


2

This is because you have alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases The hash: means, that you must have a database file containing the hashes, as described in Postfix lookup table types: An indexed file type based on hashing. This is available only on systems with support for Berkeley DB databases. Public database files are ...


1

In your example the variables ($HOME, $USER, ...) are interpreted before the sudo command is executed. This, in contrast, should work as you'd expect it: sudo -u johnny -i env | grep HOME


7

Try this: 1) Create a file /usr/sbin/policy-rc.d with following content: #!/bin/sh exit 101 2) Make it executable: chmod +x /usr/sbin/policy-rc.d After this, all packages will be installed but the services will not start. Once you are done, you can remove the file: rm -f /usr/sbin/policy-rc.d


4

Lots of options: Move the closed source content out of /var/www Change the permissions on that content such that the apache user cannot read it Iptables to stop port 80/443 traffic Pass a runlevel environment variable to apt-get: sudo RUNLEVEL=1 apt-get install apache2


0

So I re-installed the linux-image-generic package, which apparently fixed the problem, I don't think it got properly installed because of the lack of disk space on the /boot drive. sudo dpkg -r linux-generic linux-image-generic sudo apt-get install linux-generic linux-image-generic


0

Check, which version you are actually running with uname -a. If it is NOT 3.2.0.79.93 you should be able to remove the problematic packages with: dpkg --force-depends --purge linux*3.2.0.79.93* apt-get install -f


2

You can enable IP forwarding and then do forwarding of the traffic at the IP level (see http://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/ for an example). I believe this has a benefit over proxying because you maintain the IP address of who is connecting to the website and that's logged properly.


4

There is no such mechanism. This is because it is the way DNS and its caching mechanisms work. This is usually handled before the migration by setting the TTL for the A record to the minimum value possible, so that DNS servers keep the IP address cached for the least possible time. However, only in rare cases you can set the TTL to zero, which would ...


4

Update: As of March 2015 truncate is no longer available in Homebrew as a standalone formula. As truncate is part of GNU Coreutils you should install it on OS X with the following command: > brew install coreutils After installation truncate will be available under the name gtruncate. Note that all programs from Coreutils will be available with the ...



Top 50 recent answers are included