Tag Info

New answers tagged

0

Try the following server block server { listen 81 default_server; server_name _; root /usr/share/nginx/html; location / { index index.html; } } The underscore _ is a wildcard, Also the *:81 likely doesn't do what you expect, just use the port number. Then test your settings with nginx -t nginx: the ...


0

I am able to start / stop and execute MySQL commands. You should be able to get a clue then from whereis + a command name. This may be just /usr/bin, of course, but it also may have added to $PATH instead when installing. Run strace whatevercommand | grep '.cnf' on a command that uses these config files. This should give the path inside an open() ...


1

#locate my.cnf This command will help you to find the path of the file.


4

Besides InputClass there also exists a section called InputDevice which takes nearly the exact same options as InputClass. Of course you cannot use the Match* operators but have to give the device's path explicitly: Section "InputDevice" Identifier "touchpad" Driver "synaptics"   Option "Device" "/dev/input/event<X>" Option ...


6

Use uname: uname -i For more information, see man uname If you get x86, it means you have 32 bit Linux OS and if you get x86_64, it means you have 64 bit Linux.


2

you can use this command: cat /etc/issue; cat /proc/cpuinfo ; uname -a


2

Whenever you run make menuconfig, make xconfig, make XXX_defconfig, make oldconfig, make localmodconfig or any of the other make XXXconfig targets in the Linux kernel source tree, this creates (if successful) a file called .config. This file is used during the compilation of the kernel and is not erased unless you erase it manually or run make mrproper. ...


1

Your new one is .config at the top level of your kernel source tree. It may also get installed to /boot/config-3.0.7 or similar, depending.


0

500 OOPS: vsftpd: refusing to run with writable root inside chroot() is a bug in version 2.3.5, it was fixed in 3.0 but it is not available in Wheezy. See workaround here ;


0

Put the new locations inside the top VirtualHost block: <VirtualHost *:80> ServerName test1.example.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://localhost:8080/ ProxyPassReverse / ...


0

It's very easy to use Ansible with a fresh Ubuntu machine. I'll assume you are on an Ubuntu box, your user on the remote machine is ubuntu, and your remote machine is REMOTE.COM (you can use an IP address as well). Take these steps: Copy your public ssh key to the remote machine so that you don't need to type your password to login. ssh-copy-id ...


1

You need to check under >Device Drivers that "Serial ATA and Parallel ATA drivers" is <*> and as said in Help Section, make sure that you know the name of your (S)ATA host adaptater because you will be asked for it (lspci is your friend).


1

The system logger is called syslog, although your Ubuntu may or may not be using a more complex variant called rsyslog. The easiest way to tell is via ls /etc | grep syslog. They both have their main configuration file there and probably also a .d directory from which further configuration is sourced. You can feed the system logger from an application ...



Top 50 recent answers are included