Recording and Checking the disk read write speed of a python program
I have created a simple python program using the pypcie package on Linux(Ubuntu) so that I can access a 1GB DDR3 memory on an fpga board through pcie. I want to test the throughput of my program when...
View ArticleDocker: Error response from daemon: failed to create endpoint...
I'm running an ubuntu server 21.10 on RasberryPi4.Docker version 20.10.7, build 20.10.7 0ubuntu5. I tried docker prune and to reinstall docker fully and even reinstall ubuntu, but nothing seems to...
View ArticleInstalling venv for python3 in WSL (Ubuntu)
I am trying to configure venv on Windows Subsystem for Linux with Ubuntu.What I have tried:1) Installing venv through pip (pip3, to be exact)pip3 install venvI get the following errorERROR: Could not...
View ArticleUbuntu installation error: "*/*" is an invalid MIME type [closed]
Installing VSCode on Ubuntu 20.04 shows an error through dpkg command.$ sudo dpkg -i code_1.87.2-1709912201_amd64.deb[sudo] password for mnaderan:Selecting previously unselected package code.(Reading...
View ArticleExecute python script in console via bash script with double-click [duplicate]
I have a python script, that runs fine if i run in on the console with python3 script.py. For some reason, the script should be executed via a bash-script "start.sh". A MWE would be#!/bin/bash python3...
View ArticleHow to update-alternatives everything
There are many questions on update-alternatives, e.g., this,but I cannot find how to do it for everything:I need to make -12 a default version on 22.04.4 (instead of -11 version).Do I need to manually...
View ArticleVirtualBox: Unable to access Jenkins URL [Guest OS: Ubuntu] from Host...
I would be requiring your expertise in resolving the connection between HOST (Window11) and Guest Machine(Ubuntu).Virtual Box Configuration[Guest Port...
View Articlel2tp/ipsec vpn connection in windows and linux
i have problem in creating l2tp/ipsec vpn connection in ubuntu .the administrator of vpn server gives me IP, Username, Password and PSK and i connect with these parameters really easy in windows but...
View ArticleComand "mongod --auth --bind_ip_all" running infinitely and consuming too...
I have this comand mongod --auth --bind_ip_all running infinitely and consuming too much RAM in my server, what does mean? And what i can do to fix it? I'm running mongo on docker in Ubuntu.When i run...
View Articlefree(): invalid pointer Aborted (code dumped) (ubuntu C)
I have a big project in C that has somewhere around 2 thousand lines of code.I have in this project a linked list that I am using to store data of the program, at the end of the program I am calling a...
View ArticleTrying to migrate a WordPress site AWAY from AWS Lightsail, can't install a...
The admin of the site has no clue and can't seem to get me credentials on how to install a migration plugin without asking for FTP creds, which they don't know how to provide.Any ideas? They gave me...
View Articleapache2: Syntax error on line 80 of /etc/apache2/apache2.conf:...
I installed apache2 in my ubutu server 20.04, but when i troubleshoot the syntax by sudo apache2 -t, it gives me the following errro:[Sun Apr 17 08:43:12.116347 2022] [core:warn] [pid 34462] AH00111:...
View ArticleCannot connect on PostgreSQL From remote
I installed postgresql on my ubuntu 23.04 hosted on OVH, and I want to configure it to be accessible from remote.This is my postgresql.confAnd this is my pg_hba.confAnd here are all of the ports...
View ArticleSSL Provider: [error:0A000086:SSL routines::certificate verify...
I am facing this error when I run this command in my ubuntu_22.04 terminalcommand: sqlcmd -S localhost -U SAError Message:Microsoft ODBC Driver 18 for SQL Server : SSL Provider: [error:0A000086:SSL...
View ArticleHow to use database globally? [closed]
I installed apache, php, phpmyadmin, mysql on ubuntu 22.04 on VirtualBox, it works.Problem is, I want to add something to databse fe. from school, running php code there, or other location - doesn't...
View ArticleHow I can load a font file with PIL.ImageFont.truetype without specifying the...
When I write the code in Windows, this code can load the font file just fine:ImageFont.truetype(filename='msyhbd.ttf', size=30);I guess the font location is registered in Windows registry.But when I...
View ArticleHow to fix this problem?I couldn't find the firefox logo in my vmware's...
enter image description hereHow to fix this problem?I couldn't find the firefox logo in my vmware's ubuntu 20.04, and I tried deleting it and reinstalling, but it didn't work. When I wrote some prompts...
View ArticleStore website username/password on Elinks for Ubuntu
I'm using Elinks 0.12pre6 on Ubuntu 16.04.2 LTS. Yes, I know it's old. This is an old computer that I use for a couple of specific purposes and it works great. It's not my main computer.I use Elinks to...
View Article40F72633DA770000:error:0A0000BF:SSL routines:tls_setup_handshake:no protocols...
在使用kafka配置ssl协议时使用openssl s_client -debug -connect localhost:9093 -tls1命令验证时报错不知道如何解决有没有大神可以指点一下.......................................................................目前Kafka可以正常启动,但是用不了enter image...
View Articlenginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
All of a sudden I am getting the below nginx error * Restarting nginx * Stopping nginx nginx ...done. * Starting nginx nginxnginx: [emerg] bind() to [::]:80 failed (98: Address already in use)nginx:...
View Article