Skip to content
Advertisement

Tag: ubuntu

Ubuntu initial configuration script errors

I’m newbie to linux and I’m trying to make an initial configuration script for basic users passwords, SSH rules and system config of Hostname & timezone as below, But I’m getting below errors, I couldn’t figure it out. Anyone could help me plz Thanks, Answer I’ve found this out after long search. The problem is, executing the script with root

making a Hotel management system in BashScript

I am unable to correct the error. I have tried searching on Google but i can’t figure out what my output is referring to. Its giving a line number but the code is right there. “fi” is used at the end of IF statements in scriptfiles. This is my code I am attaching the output too Error while running the

Laravel images not shown in any browser while firefox throwing “Image x cannot be displayed because it contains errors” error

My laravel app’s images are not being shown in Firefox Chrome or Edge Firefox shows a more explicit error saying “The image [image] cannot be displayed because it contains errors” ie: the following image is not being shown: http://test-gestion.pedifacil.com/storage/app/public/1/logo_196_196.png but a txt in the same folder is being shown so it does not seem to be problem of wrong symlink

How to install Python package installer PIP on Ubuntu 20.04 Linux

Trying to install pip with Ubuntu version 20.04, Python version 3.8 on my Oracle virtual box. Tried everything to install pip but failed Steps tried Also tried Error both times python3-pip is not available but is being used by another candidate. This may mean that the package has been obsolete, has been missing or is only available from another source.

Deploying jar to unix server

Currently, in order to deploy my program to my ubuntu server, I have to do the following steps. 1. Compile the code using Gradle 2. Using FileZilla to move the jar to my server. 3. Connect to my server and find the process to kill it 4. restart the program. I am curious if there are any alternatives to this

Why docker exec command ingore bashrc inside docker container?

So. I have docker image with ubuntu (also creared container from this image). On my docker container I see this output: On my container on file ~/.bashrc (it is /root/.bashrc) I’m export some variables: When I try to execute command on docker container using “docker exec” I don’t see my variables from .bashrc file Why I don’t see my variables?

Advertisement