Re: Problem Running Python with Apache2 on Debian
> Look at the original mail: they want tu execute a CGI. You are right. I stopped reading when I saw the tkinter import.
Re: Problem Running Python with Apache2 on Debian
On 7/22/22 12:10 PM, ldmko...@yahoo.com wrote: > > I cannot get a python file to execute from html in Apache2 running on Debian > 11. I will attempt to provide enough information: Sorry, but this isn't possible to do. Firefox is treating your .py as a download. If you want a browser-based application, you need to look into using a web framework like django or flask instead of desktop-based frameworks like tkinter.
Re: google account say it will no longer deliver email
> There will be always volunteers for learning/perfectioning a mailserver. > > Donations for the best mailserver in the world for example. As a sysadmin of a mailserver, I can tell you this would never be able to compete on uptime, security, and features of gmail.
Re: Firewall blocking my new Debian 11 server ports 80 and 443
On 5/30/22 09:41, Greg Wooledge wrote: > On Mon, May 30, 2022 at 07:13:54AM -0500, Tom Browder wrote: >> No worries. All those responses about the subject IP now are the norm for a >> bare-iron server ready for use by a customer, yours truly. It is the same >> server I messed up the firewall with and locked myself out of. The OS has >> been reinstalled and is ready for me to use again. > Why are you installing a firewall on a web server *at all*? Because it prevents accidental port exposure. It's not uncommon to be running some other service other than the web server, and accidental configurations happen all the time. A firewall is a simple security measure to contain such problems.
Re: How should learning to program in c++ be approached, if learning objectives are sought to be customised?
On 5/30/22 15:58, Joe wrote: > You pick the programming language (and OS, and > hardware platform) to suit the job to be done, not the other way > around. Absolutely spot on! If you want to write a device driver, you need to look at the operating system the driver will run on and see what programming language the documentation suggests. On linux, that will be either C or in a few new cases Rust. A driver for Windows would most likely be written in C++. I'm not familiar with programming Mac or mobile platforms, but I know they have their preferred languages as well. If you are writing a user-space tool or program, you probably want to look in a different direction than C++.
Re: Permanent email address?
On 5/17/22 07:43, Greg Wooledge wrote: > On Tue, May 17, 2022 at 07:29:51AM -0400, Edwin Zimmerman wrote: >> I would not recommend running an MTA on a dynamic IP address. I can >> absolutely guarantee you that emails sent from such a system will not reach >> the recipient. Most email servers block emails from MTAs with dynamic IP >> addresses. When running an MTA, IP address reputation is a huge factor in >> whether or not your emails land in spam or not. If you want to run your own >> MTA, you need a static IP that is not on any blocklists. > An excellent point, if you plan to send outgoing mail as well as receive > incoming mail. > > If you can't get a static IP address for your home computer, consider > running your mail server on a cheap VPS (Virtual Private Server). This > may be cheaper than a static IP address for your home, depending on > your ISP. > Don't host your email on just any old cheap VPS. Many VPS providers have bad reputations for not policing spam senders, and as a consequence large email services like gmail often block whole ip ranges that belong to these VPS providers.
Re: Permanent email address?
> I'm guessing I could use one of those services (and > software) that lets you use a dynamic IP address (by doing something like > updating you if your IP address changes. I would not recommend running an MTA on a dynamic IP address. I can absolutely guarantee you that emails sent from such a system will not reach the recipient. Most email servers block emails from MTAs with dynamic IP addresses. When running an MTA, IP address reputation is a huge factor in whether or not your emails land in spam or not. If you want to run your own MTA, you need a static IP that is not on any blocklists.