How to get public/private key from cacert.pem [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 8 years ago. Improve this question i has download cacert.pem from internet, but how to get cacert.key ? How to get public/private key from cacert.pem ? Answer Based on … Read more

Deleted part of /usr/bin [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago. I was navigating on my Ubuntu 12.10 64bit … Read more

IPv6 Address Switch

I have IPv6 addresses on a Linux based server. How can I switch the current address to a new one? Is there a way to do it using shell commands? How about using Python? Thanks. Answer Easy: ip -6 address add 2001:dead:beef::2/64 dev eth0. The same goes for removal: ip -6 address delete 2001:dead:beef::1/64 dev … Read more

Run Python and Php under same server

I am trying to run python on main domain and a wordpress blog in sub-directory. Is it possible to do so? Currently the they are running good in sub-domains i.e http://main-domain.com and blog.main-domain.com but i read that from SEOs point of view it is better to have it like http://main-domain.com/blog I am using nginx as … Read more

How can i point my home server(dynamic ip) to my custom domain [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 have the online linux centos server. IN my home i ahve the dynamic ip address. Is there any way that i can … Read more

Can I use a .py file as a stylesheet for html5 [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 8 years ago. Improve this question I have python generating my stylesheets in my html4 site (random background). Now I’m wanting to convert to html5 and I’m wondering if … Read more

Bjoern is 4x faster than Nginx – how to tweak Nginx to handle Bjoern proxy_requests without performance loss? [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 was trying to put Bjoern behind Nginx for easy load-balancing and DoS/DDoS attack mitigation. To my dismay I not only discovered that … Read more

Nginx Internal Server Error

I am new to NGINX and uwsgi and Im deploying my first python web application. Having tried numerous times, I get an internal server error. There may be something wrong with my configurations but i can’t see what! I have posted the contents of my configurations: /etc/uwsgi/apps-available/uwsgi.ini: [uwsgi] chdir = /srv/www/searcular/venv/ uid = www-data gid … Read more

MYSQL : Connecting to mysql from : 127.0.0.1 + telling ip tables to allow only 127.0.0.1 for mysql port : Logic vs Common Sense

if i make 1 billion or 1 trillion queries to MYSQL database.. from 127.0.0.1 via port 3306.. vs.. if i make same amount of queries to MYSQL database also from 127.0.0.1 via port 3306.. but with 1 difference.. in this case i would have this in the iptables.. -A INPUT -m state –state NEW -m … Read more

How to find out reason of python script stop working in background?

I’ve bought a VDS server some days ago just to have some Telegram Bots working 24/7. I can’t keep shell always open, so I’ve decided to use this “hack”: 1. In Python script add #!/usr/bin/python3.4 2. sudo chmod u+x mybot.py sudo nohup ./mybot.py & Script successfully starts and works fine, however, in 8-10 hours it … Read more