I entered the output of phpinfo() func on xDebug wizard webpage and then followed all the steps as described in output. Everything looked fine. No errors. The only concern about suggested actions is that it tells - "Make sure that - zend_extension = /usr/lib/php/20200930/xdebug.so is below the line for OPcache." But my php.ini file only contain a string : ;zend_extension=opcache. And this string is commented out. All strings that mention OPcache in my php.ini are commented out as well with semicolon marks. I don't know how to describe my problem more clearly. Thanks in advance.
Alex Stelmakh's questions
I'm just trying to follow this tutorial and set up my environment. My system is WSL Ubuntu 18.04. Here is already an answer on my question, but I as an absolute novice in Linux/UNIX don't know which variant presented there more suitable for my goal. Do I need to add this string
export PATH="$PATH:/path/to/dir"
into my ~/.profile or ~/.bashrc file?
Or may I need to accomplish the second step from the answer?
cd /usr/bin
sudo ln -s /path/to/binary binary-name
And then run these commands?
source ~/.profile
or
source ~/.bashrc
I'm trying to launch Atom text editor from my WSL bash.exe. I found this manual
And did exactly as it advises, but it doesn't work. I also find in .bashrc file this comment:
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
Then I created file .bash_aliases and added this command in it
alias atom=’/mnt/c/Windows/System32/cmd.exe /c “atom”’
In both cases the call of the atom
alias produces this output:
grep: /etc/wsl.conf: No such file or directory
net.js:200
this._handle.open(options.fd);
^
Error: EINVAL: invalid argument, uv_pipe_open
at new Socket (net.js:200:18)
at createWritableStdioStream (internal/process/stdio.js:164:16)
at process.getStdout [as stdout] (internal/process/stdio.js:14:14)
at console.js:246:38
at NativeModule.compile (bootstrap_node.js:596:7)
at Function.NativeModule.require (bootstrap_node.js:541:18)
at setupGlobalConsole (bootstrap_node.js:310:41)
at startup (bootstrap_node.js:70:7)
at bootstrap_node.js:608:3
Being a completely newcomer in linux world, I'm trying to make some development using ubuntu features. I wanted to add some alias to .bashrc but couldn't find it. There is an answer on this qustion, but its not a duplicate, because while working on an older versions of windows on my 1803 system it's doesn't work.
I don't use any applications could use camera. I have fresh, recently installed Ubuntu 18.04 and only two programms I've installed were Chrome and Geany. I also ran two commands in terminal with granting root access:
sudo apt-get install python3-pip
sudo pip3 install virtualenv
Also I tried this command:
sudo lsof /dev/video* [sudo] password for nick_name: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete.
But I can't to figure out what does this output means.
it's pretty annoying and I suspice that somebody watching me. Am I paranoid?
I have installed virtualenv
:
pip3 install --user virtualenv
Then I was trying to create an environment for my folder with the next command:
folder_name$ python -m venv ll_env
But instead of the desired result I've got an error:
__The virtual environment was not created successfully because ensurepip is not available.
On Debian/Ubuntu systems, you need to install python3-venv package using the following command.
apt-get install python3-venv
You may need to use sudo with that command.
After installing the python3-venv package, recreate your virtual environment.__
However despite thr error virtualenv
folder named ll_env
created.
I have no idea why I receive this error. I'm new to Linux. I tried to check if virtualenv
exists on system with this command:
pip3 show virtualenv
And I got:
Name: virtualenv
Version: 16.0.0
Summary: Virtual Python Environment builder
Home-page: https://virtualenv.pypa.io/
Author: Ian Bicking
Author-email: [email protected]
License: MIT
Location: /home/just_maverick/.local/lib/python3.6/site-packages
Requires: