bash script mysql reset pass

It seems that this code is not working I tried using it on my debian 7 machine and the password it gives me is wrong. # Please confirm that you want to reset the MySQL passwords CONFIRM=”n” echo -n “Please confirm MySQL password reset. Continue? (y/N): ” read -n 1 CONFIRM_INPUT if [ -n “$CONFIRM_INPUT” … Read more

having 2 ip’s on a debian 7 box [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 9 years ago. Improve this question I just installed Debian Wheezy on my homeserver. I want to assign 2 ip’s to it on the same network interface, 1 static … Read more

Installing ngx_pagespeed with nginx 1.6.2 (Backport) on debian 7 (wheezy)

I am struggling to install nginx 1.6.2 with module ngx_pagespeed 1.9.32.1-beta Can anyone please help me to install this on my debian 7. Any working tutorial i have tried https://www.digitalocean.com/community/tutorials/how-to-add-ngx_pagespeed-module-to-nginx-in-debian-wheezy Adding PageSpeed Module to installed nginx but no luck. Please help Answer Instead of manually compiling Nginx with pagespeed, it will be a lot easier … Read more

When to use resolv.conf? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question I understand resolv.conf file is used by Linux to resolve DNS lookup but I cant figure if I need to edit this file … Read more

Install ruby by rvm

I try to install ruby 2.1.1 by RVM and I receive following error: vmamaev@vmamaev:~$ rvm install ruby-2.1.1 ruby-2.1.1 – #removing src. Searching for binary rubies, this might take some time. No binary rubies available for: debian/7/i386/ruby-2.1.1. Continuing with compilation. Please read ‘rvm help mount’ to get more information on binary rubies. Checking requirements for debian. … Read more

Apache & mod_proxy – What’s wrong?

I am limited to one external IP on my server thus to run a mail server alongside with other Apache instance for web hosting, I believe I am forced to use mod_proxy. I tried using mod_proxy in the past but I recall only to get it to work within my internal network, but I need … Read more