I need php < then 5.3 becouse software I inherited use mssql library. SO I have set up linux, and apache (working fine via localhost or ip) then: I get libxml in version below 2.9 (otherwise make php will not work – compiler will lack some older libraries I belive) So I have libxml instaled and go with php same
Tag: ubuntu
In Python, how do I get user’s remote IP (their last hop) if they’re connected over SSH?
I want to detect if the user is connected over SSH. In a term, the “env” command shows SSH_CONNECTION line. Accessed in Python in one of two ways: But, if the user has ran my program using SUDO (as they will need to), env$ dooesn’t show SSH_CONNECTION. So Python can’t see it: The aim is to achieve the following: How
Why I have to “source vitrualenvwrapper.sh” every time I open a new Terminal?
I use Zsh as my shell and I want to use vitrualenvwrapper. But when I close a terminal then open a new one, I have to “source virtualenvwrapper.sh” again then I can use virtualenvwrapper. Answer You need to put your script source-ing in some shell session initialization file e.g. /etc/zsh/zshrc (global) or ~/.zshrc (user-specific) will be read by zsh upon
Starting supervisorctl gives ERROR (spawn error) on laravel queue worker process
So i have installed supervisor and it appears to be running. I have placed my config file for the queue worker in /etc/supervisor/conf.d/laravel-worker.conf And it looks like this And my supervisord.conf looks like this I am getting the error – ERROR (spawn error) when i attempt to start the processes. When i look at the log file it shows –
What starts this docker process on my laptop?
Every time I boot up my Lubuntu 16.04 laptop I can see I have a running docker container: It serves a Jenkins application on the port 80 and requesting localhost/ in the browser redirects to http://localhost/login?from=%2F and shows a Jenkins warning page: A wget request shows: How can I know which service is firing up this docker process ? I
Pass bash script arguments to ansible command in script
I’m trying to run this command from a bash script and pass the extra-vars from the bash arguments. I run the script like below and get this error: I even tried escaping the quotes but it didn’t work. How can I get this to run? Answer Or, you can change your script to use $*:
PC bootstrap process step by step
The bootstrapping process is a bit confusing, I hope I understand it correctly. I will try to describe my understandings and hopefully can be corrected. As this is an extremely important and I want to dive into the small details. BIOS: It sets up an interrupt descriptor table and initializes various devices. After initializing all the important devices the BIOS
How to connect to Samba SMB2/SMB3 with domain authentication from Ubuntu 16.04 using GUI?
I can’t connect to samba after blocking SMB1 protocol. Early, I just click in Nautilus to “Connect to Server” and inputted smb://mySambaHost/. Now, I can get connected with this way. Unhandled error message: Failed to retrieve share list from server: Connection timed out I tried installing smbclient, but I can only connect to server whith no-friendly command (for me): /usr/bin/smbclient
Android Emulator does not start at hardware acceleration, linux/ubuntu
i recently reninstalled ubuntu, now i have 17.04 version and android emulator with hardware graphic performance doesnt start. after starting there is a loading with “starting avd…” but nothing happens. when i switch graphic performance to software emulator run succesfully but is really slow. before reinstall everything was fine. things i have tried: i have virtualization in bios enabled i
Helpp for install cstore_fdw
I’m actually trying to install sctore_fdw but I just have a little question for the installation. I follow a tutorial and it is asking to do this : you need to include the pg_config directory path in your make command This is my pg_config path: I have some difficulty with Linux and specifically with the make command, so what i’m