Questions tagged as 'ubuntu'

1
answer

How to run this script in a more sophisticated way?

Good morning. I am using this code to update the firmware of my company's servers. However, I wanted to use this same code to update a list of servers, not just one. Follow the original code: #!/usr/bin/python from paramiko import SS...
asked by 06.09.2018 / 11:23
1
answer

What is the correct way to install LAMPP?

I started using Linux (Ubuntu 18.04) recently and I've come across many difficulties. So I tried sometimes to install the lampp stack on Ubuntu and was not successful. There was always some mistake. And I want to know the correct way to insta...
asked by 25.09.2018 / 02:44
1
answer

Fix permissions on linux root [closed]

I made a mess here in my linux, I did this: sudo chown -Rf www-data.www-data /* And I gave a ctrl+c after 4 seconds ... because I saw the stupid thing that had done. It was supposed to be this: sudo chown -Rf www-data.www-data ....
asked by 12.05.2016 / 22:54
1
answer

I can not connect to mysql on the web server

You are experiencing the following error:    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE [HY000] [2003] Can not connect to MySQL server on' IPservidorweb '(111)' in app / class_universo.php: 59   Stack trace: # 0 app...
asked by 02.06.2016 / 01:33
1
answer

Compile error with Pycharm: do not find libraries of python 3.6

Operating System: Ubuntu 16.04 64-bit Python 3.6 installed via apt-get When compiling a program in the terminal using: python3.6 programa.py No error is displayed. When running the same program with the python or Wing Python IDE, with...
asked by 28.08.2018 / 17:13
1
answer

FTP alias from / home to / www

Live, I created ubuntu all the necessary configuration to access by FTP, but at some point I encountered a problem: I restrict each user to only access his / home / $ USER folder, but I want each user to access the / www / $ DOMAIN Is i...
asked by 22.11.2014 / 16:50
2
answers

Filter and Execution in Shell Script

I have a problem in Shell Script , where: Need to report a file; Check if it is a .C , .JAVA file or both If it is one of the two, compile as chosen and execute; (I do not understand much of Shell and I had this doubt) #!/bin/...
asked by 16.06.2016 / 14:06
1
answer

How to create a message in Zenity for all users logged into Ubuntu?

I use a script that is run by cron every 1 hour to find updates and update the system. I wanted the user to be warned that he started the update so that he would not turn off the computer, and when he finished updating another message, he war...
asked by 14.12.2018 / 16:06
1
answer

I used the command "chmod 700 / usr", now what? [closed]

I no longer have access to my documents and I can not log in as root to undo this bullshit. I use Ubuntu 18.04.     
asked by 08.12.2018 / 22:31
1
answer

Apache does not read subfolders or other files

Recently, I formatted my computer and installed Ubuntu 14.04 and as always, I changed the apache document root to: / home / user / workspace / web. Inside this folder I've cloned a project of mine done in CakePHP 2.4, but my project is just o...
asked by 12.05.2014 / 22:56