cd /tmp; wget https://bootstrap.pypa.io/get-pip.py; cd
или
cd /tmp; curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py; cd
--no-setuptools
--no-wheel
python get-pip.py --no-setuptools
sudo
$ # Install the latest version of pip
$ curl https://bootstrap.pypa.io/get-pip.py | python
$ # Install the latest version of pip, supported by a legacy Python
$ curl https://bootstrap.pypa.io/3.2/get-pip.py | python3.2
$ # Install a specific version of pip
$ curl https://bootstrap.pypa.io/get-pip.py | python - 'pip==8.0.0'
cd /tmp; wget https://bootstrap.pypa.io/get-pip.py; sudo python get-pip.py; cd
sudo apt install python-pip
pip install -U pip
sudo apt-get autoremove tesseract-ocr
""autoremove tesseract-ocr
- вот это особливо шедеврально!!!remove tesseract-ocr
- правильно!!!sudo apt autoremove
- эт вообще-то системная команда удаления ненужных локальных данных и очистки системы. Также включает в себя и проверку на различные «мусорные» файлы, которые остаются при установке программ. command=python3.8 /root/besik.py
command=/usr/bin/python3 /root/besik.py
startsecs = 30
startretries=10
stopasgroup = true
priority = 999 (приоритет очерёдности загрузки процессов. По умолчанию 999 - авто)
stdout_logfile_maxbytes = 50MB - размер лог-файла (у меня 50, вы можете, как вам нужно), иначе будет писать файл, раздувая его до бесконечности и когда-нибудь увидите сообщение, что места нет!
sudo sh -c 'echo_supervisord_conf > /etc/supervisor/supervisord.conf'
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP
- не обязательно. Можно закомментить - ;nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200
user=
user=root
;user=root
уже была, но была закомментена, то снять коммент - ;sudo supervisorctl reread; sudo supervisorctl update; sudo systemctl restart supervisor.service
cd ~
dd if=/windows.iso of=/dev/sdX
sudo dd if=/windows.iso of=/dev/sdX
sudo apt install geany geany-plugins
sudo npm install --global verdaccio
sudo apt install supervisor
sudo sh -c 'echo_supervisord_conf > /etc/supervisor/supervisord.conf'
; supervisor config file
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
; The [include] section can just contain the "files" setting. This
; setting can list multiple files (separated by whitespace or
; newlines). It can also contain wildcards. The filenames are
; interpreted as relative to this file. Included files *cannot*
; include files themselves.
[include]
files = /etc/supervisor/conf.d/*.conf
sudo netplan apply