Tag Info

New answers tagged

0

Update: I still don't know what the problem was, but rebooting fixed it.


2

You can improve performance a lot by getting rid of Apache. Process PHP with PHP-FPM and put the upstreams from nginx directly to PHP FPM. You should try PHP 5.5 with opcode caching enabled and also use some caching plugins for WP such as WP Super Cache.


1

I believe this domain name has expired. According to the whois for the domain - nserver: ns1.parniaweb.net nserver: ns2.parniaweb.net last-updated: 2014-04-07 expire-date: 2014-04-04 Interestingly the whois records show the nameservers as being ns[1,2].parniaweb.net, which are responding with an IP address, so the ISP is answering correctly for ...


0

Usually hosting providers have a javascript based shell. Login to the VPS using the webbased client and edit the sshd_config file.


1

You can use sticky bits to make sure that everything that is created under /var/www/ultrapress.co would be owned by www-data user/group. To do this, on the server set these permissions: chown ultrapress.co www-data:www-data chmod u+s ultrapress.co chmod g+s ultrapress.co Now whenever any user will make a new directory or file in this directory, it will ...


0

My usual approach when doing this sort of thing is to do rsync <options> www-data@remote-host I then use SSH-key authentication for www-data on the remote server. Personally I run the local script as www-data too, as I find that more logical.


1

You have 3 ways of doing this: Give SSH access to www-data and rsync using www-data user. This is highly not recommended but, if you do it with much care (block all SSH access except from your own IP, use an SSH key and remove the password for the www-data user), it may as well work. Create a user and group on your local PC with the same names and numeric ...


2

You just need to create 3 different A records in your DNS service pointing the domain or subdomains to the different ip addresses and then in apache create 3 different virtual hosts (one per domain/subdomain) bound each to its respective ip. A reason to do this would be to use https, otherwise it's not needed in general since you can serve multiple domains ...


4

You cannot run your own kernel on a VPS using OpenVZ. You would have to upgrade from OVH's VPS Classic service to their VPS Cloud service, which runs VMware and would allow you to run a customised kernel.


0

Try to run the process in 64bit mode by adding: -D64 to JVM startup flags. You can run pmap $JVMPID to see how the virtual memory is allocated. Run it before it crashes.


1

There are a few possibilities given what you've shared, for example: a leaky JNI library, or, a thread-creation leak, or leaky dynamic code proxies (perm-gen leak), but I can only make a guess because you didn't provide any log output, or indicate whether the JVM was throwing an OutOfMemoryException (OOM), or if some other fault was encountered. Nor did ...


0

I went through that exact task a few days ago. The steps I performed was essentially this: Create a bind mount of the root file system in a separate location on the source VPS. For example mount --bind / /mnt/servername Create a tar file containing all of /mnt/servername. For example tar -C /mnt -c servername | ssh user@newserver dd of=copy.tar Extract the ...


0

NFS is the most common way to accomplish this. In your case, the actual files would reside on server #1, and the uploads folder there would be exported (read-only) via NFS and then mounted to the same filesystem path on server #2. If you're on a private (trusted) network, then you can go with NFSv3 which is ridiculously easy to set up. If you don't trust ...


1

Try saving your iptables rule with service iptables save . Run that after you have entered the desired rule and see if that makes a difference


0

dsn=5.0.0, stat=Service unavailable This is generic error. It also indicates in the log that your message is relayed to root@localhost, so check it's mailbox for more information. I think your problem is that you have localhost set as your hostname. Set it to normal: Change your server's hostname from localhost to FQDN hostname; Update /etc/hosts and ...


2

Getting started with email is relatively easy, the hard part is the maintenance (fighting spam, configuring accounts etc), that's why many people decide to just outsource mail. The steps are a bit easier than what you outlined in my opinion, it looks like: install Postfix and Dovecot (apt-get or yum is enough) configure Postfix to accept your domain, add ...


3

This looks like behavior of OpenVZ VPS, where swap cannot be controlled (added/enabled/disabled) from within the VPS itself. Only from the Host machine, or via configuration controls exposed to VPS users from the host, ie from control panel. If you're using OpenVZ - speak with your hosting provider to increase your limits or add swap, or upgrade to a ...


0

The reason for this to happen comes from the fact that your virtualized environment has 287.62 MiB RAM free. This old release of G-WAN was not tuned for hypervisors (virtualization) and this leaded to an infinite loop in the memory manager (which assumed AMD64 servers would have more than 1 GB RAM). Yo resolve your problem you can either allocate 1 GB RAM ...


1

Currently Azure doesn't allow RDP hosts. This is purely a licensing issue. You can actually set one up, and it will work, they just don't allow it (again, at this time... there's been talk of this changing, but they've been talking since Azure was in beta). There is a QB Enterprise Hosted solution available, through Right Networks. It's exactly what you're ...


3

Ultimately you might be a little bit screwed here - you have to deal with Microsoft licensing to do what you want legally (you can stick your head in the sand and ignore the licensing considerations too -- many companies do that - but to keep it kosher you need to get the client licenses). The licensing issues are between you and Microsoft (we don't do that ...



Top 50 recent answers are included