back soft

مطالب مرتبط با «in linux» در back soft | نویسنده: استخدام کار

Connect to local Ollama Server from n8n Docker Container on Linux Arch

Caot get through my docker container and coect to my local ollama server. Ollama server is up and ruing : http://localhost:11434 retus "Ollama is ruing" When adding n8n credentials for ollama, I get the following : Couldn't coect with these settings ECOREFUSED Here's my n8n credentials config : Base URL : http://host.docker.inteal:11434 API Key : not needed for local install and ruing models (?!) Allowed HTTP Request Domains : All According to what I've found, looks like...

ادامه مطلب

How to run Django Web app on port 443 and 80 linux - Ubuntu or Raspberry PI?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Linux scripting duration with minutes and seconds

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Linux application over RDP (FreeRDP, XRDP) / Apache Guacamole

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How to get deep knowledege in penetration testing with kali linux and

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

how to wrtie a Linux command in a Dockfile

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

JavaFX build Windows Self-Contained Application Package under Linux with maven

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Reversing the IP address in Linux using perl

Vote count: 1 I have a job where I need to do nslookup on an IP address. If it matches then I need to print the name of the host. The problem is that the IP address comes reversed when ruing the command. nslookup 10.11.12.13 13.12.11.10.in-addr.arpa I tried to use reverse but that reversed everything which is not what I want. my $ip...

ادامه مطلب

npm + 7zip - linux/windows mismatch (electron-builder dependency)

Vote count:
 0I'm trying to build an electron app in an ubuntu 14.04 docker container. I get the following error:root@container:/work# npm install npm WA optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@^1.0.1 (node_modules/7zip-bin/node_modules/7zip-bin-mac): npm WA notsup SKIPPI...

ادامه مطلب

Can't install aiohttp==2.0.6 on Alpine Linux v3.5

Vote count:
 0I'm using a fresh install of Alpine Linux v3.5 with edge/main reposThese are the commands I'm ruing:$ echo "http://mirror.yandex.ru/mirrors/alpine/edge/main" > /etc/apk/repositories $ apk update $ apk add python3 $ pip3 install aiohttp==2.0.6 And that's the error that...

ادامه مطلب

where to config database in production in laravel?

Vote count: 0 after laravel is deployed to a server. Somehow even I configured root/config/database.php 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'changed to my db name'), 'useame' => env('DB_USEAME', 'changed useame'), 'password' => env('DB_PASSWORD', 'changed password'), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, ], I changed the three fields above. Shouldn't that the only config need to be done in order to setup the database in production? Is there anything that I am missing about laravel 5.3? asked 51 secs agoDora Let's block ad...

ادامه مطلب

C++ compilation error in linux unqualified-id before

Vote count: 0 I am very new to C++ programming and anytime I try to compile even a very simple program this error appears. even for something as simple as #include using namespace std; int main() { cout...

ادامه مطلب

Opening image in Gallery app programatically shows low resolution

Vote count: 0 I download and save an image on button click in my app. This works fine. If I view this image via the Gallery app (or any other way) it looks fine. However, if I try to open the image with: Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(imageFile), "image/*"); startActivity(intent); It prompts me what app I want to open the file with (Gallery or Photos). If I select Gallery, the image opens but is very low resolution. As the photo contains a lot of text, it makes it so you can't zoom in and read. If I select "Photos", it looks fine. Is there anything I can do to make it work fine in Gallery? asked 43 secs agoRHok Let's blo...

ادامه مطلب

C/C++ program to run Linux commands

Vote count: 0 Tech Gurus, I have a requirement to run Linux commands through C/C++ program. The program should take an argument and should retu the value that is given by the Linux command. I tried searching through the available data and couldn't find anything matching to my need. Given that I do not know C/C++ programming having difficulty in writing this myself. Any help would be really timely. asked 1 min agoKarthik Kumar Let's block ads!...

ادامه مطلب

Tomcat server setting with Intellij

Vote count: 0 I searched about how to set Tomcat as my project's server but still haven't figured out so let me ask you why. I have Tomcat but get error message which say "the selected directory is not a valid Tomcat home" could you tell me why I get this message?enter image description here Thanks in advance. asked 36 secs agoMasanari Miyazaki Let's block ads!...

ادامه مطلب

What's stack's default template?

Vote count: 0 When you don't specify the template, what is the default? i.e. when ruing the command stack new foo. asked 24 secs agoSteven Shaw Let's block ads!...

ادامه مطلب

bash script running correctly in linux machine but not when executed via jenkins from a windows machine

Vote count: 0 I have a bash script as below: ------------------------------ #!/bin/bash VAR_A=$(echo "cat //artifact/fileName" | xmllint --shell BuildResult.xml | sed '/^/ >/d' | sed 's/]*.//g' | tr -d 'n' | awk -F"-------" '{print $3}') echo $VAR_A ------------------------------ I have jenkins installed on a windows machine and via cygwin openssh, I am coecting to the suse linux machine in which this script is residing. When I am calling the above script via an ANT sshexec command configured in Jenkins, it is ruing ok but no output. On the other hand, when I am ruing the same script from within the SUSE Linux system, it is echoing current result. I am not able to figure...

ادامه مطلب

Using Python in NetBeans 8.1

Vote count: 0 I'm trying to add Python functionality to NetBeans 8.1. I downloaded Python from the Python website here. (I'm using Windows 10, by the way.) I also downloaded the NetBeans plugins "Python" and "Jython Distribution" (required by the former). Now I have two questions: 1. When I create a new Python project, I have these options: Based on the description for the "Setuptools" choice, I'm guessing that I shouldn't use that one since it's not for Windows. So am I correct in choosing "Python Project - Ant"? 2. The P...

ادامه مطلب

How to compile Netcat from source on Eclipse without getting 10 billion errors?

Vote count: 0 OK, maybe not 10 billion. But I'm new to Eclipse and everytime I resolve an error (such as: make: *** No rule to make targetall'. Stop.), a new error pops up (such as:***No rule to make target 'clean'`). Here's what I have: an Eclipse IDE and Netcat 0.7.1 source code from http://sourceforge.mirrorservice.org/n/ne/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz I unzipped the tar and clicked 'Import' in Eclipse to import 'Existing code as Makefile Project'. Next, I gave the project a name and pointed 'src' in the netcat folder as the 'Existing code location'. Now the files are imported in Eclipse. Next I click on 'netcat.c' and h...

ادامه مطلب

Enhancing data shown by cgroups on linux

Vote count: 0 I would like to have a way with cgroups to see which threads in a cgroup are in WAIT state and which are not (basically keeps the tasks file, just "adding" another two files "tasks_wait" and "tasks_nowait") I know this data is exposed from /proc and available in the keel, I was wondering weather I can write some c code and load it into the keel to make this data available for me. Thanks asked 1 min agoItamarBe Let's block ads!...

ادامه مطلب