Hot answers tagged

5

Repeat after me: Running ANY permission command on / without knowing exactly what you're doing is a great way to break your system. Even if you know what you're doing, it's still probably the wrong thing to do. In your case, the command won't work because it's the wrong one to start. Secondly, groups are a very valid Linux construct of users, and blocking ...


2

If you have no physical access to the hardware, no web-based control panel, and there is no operating system whatsoever on the machine, then I don't know of any way to install an operating system on it remotely. If you were able to install an operating system on this computer over the internet, so would anyone in the world with its IP address -- and ...


2

The option ClientAliveInterval does exactly what you want, it basically sends pings in the specified interval (in seconds) and kills the connection if it doesn't receive an answer. To control how fast it kills the connection, you can use ClientAliveCountMax, which is the maximum number of pings to send without receiving a response before considering the ...


1

You must allow access to /files/html, with something like <Directory /files/html> Require all granted </Directory> By default, access is only granted to /var/www.


1

From the first glanse, your problem is obvious: 1) You are missing a private RSA (or DSA) key. Usually it is named id_rsa. To generate a pair of keys use ssh-keygen. A pharaphrase may be empty if you want to login without entering each time. 2) On remote host you must use a complimentary public RSA/DSA key, placed in ~/.ssh folder. Usually it is ...


1

The simplest solution would be to use NAT at the network edge. However, this is not a proxy solution. A firewall could route some traffic via NAT, and route other traffic to a transparent proxy. Proxy aware applications can as for a CONNECT which allow them to connect through the proxy. The proxy will transfer data without looking inside. Normally, it ...


1

According to your ifconfig, your relevant interface is p4p1. I suggest you amend your /etc/network/interfaces file to read: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network ...


1

I solved the problems: 1 - Server doesn't access to internet after connection with VPN. Solution: add Google DNS to /etc/resolv.conf (nameserver 8.8.8.8 and nameserver 8.8.4.4) 2 - I cannot access to server after this connect with VPN. Solution: redirect the VPN traffic to real IP: ip rule add from x.x.x.x table 128 ip route add table 128 to y.y.y.y/y dev ...


1

Make sure Apache has permissions to write to directory where you are trying to create a new directory. F.e. if your script is calling mkdir('/var/www/subdir/newdir'), run the following: Give apache ownership: sudo chown www-data:www-data /var/www/subdir Make directory writable: sudo chmod 770 /var/www/subdir


1

It is was a time limit of the page (30 sec) Just add the line set_time_limit(0); It will remove time limit at all . And now all work fine.


1

Start by downloading this: https://www.privateinternetaccess.com/openvpn/openvpn.zip and extract it somewhere. That archive contains 3 important files: ca.crt, crl.pem and YourServer.ovpn (e.g. Germany.ovpn), copy those to /etc/openvpn/. Rename the .ovpn file to .conf and add a line auth-user-pass secrets Create a new file /etc/openvpn/secrets with your PIA ...


1

To activate the snapshots, try adding "-K/--ignoreactivationskip" Someone decided the default for snapshots on thin volumes is for setactivationskip to be 'yes'. You can disable the skipping permanently by running "lvchange --setactivationskip n" on each new snapshot.


1

OVH puts a custom kernel on their Ubuntu servers (source). Here is how to install the generic one. I'm not sure what all the letters in the name mean, but probably, "grs" indicates support for Global Resource Serialization, "ipv6" indicates support for IPv6, and "64" indicates 64-bit. As for why ps -ef is giving you different outputs, I'm not sure exactly, ...


1

I get what you are asking. You want a browser based GUI without all the added stuff that a typical Desktop Environment provides; however, since it's still a GUI that you are looking for (you will be attaching a monitor and drawing graphics on it, aka a head) you can't call it headless. Maybe call it a "tiny-head" server ;-) A desktop environment (such as ...



Only top voted, non community-wiki answers of a minimum length are eligible