В ~/.bashrc добавить:
case "$TERM" in
'xterm') TERM=xterm-256color;;
'screen') TERM=screen-256color;;
'tmux') TERM=tmux-256color;;
esacCode language: JavaScript (javascript)
Блог старого админа)
В ~/.bashrc добавить:
case "$TERM" in
'xterm') TERM=xterm-256color;;
'screen') TERM=screen-256color;;
'tmux') TERM=tmux-256color;;
esacCode language: JavaScript (javascript)
useradd — создание пользователя в системе, наиболее частые ключи:
useradd опции имя_пользователя
$ scp -P порт опции пользователь1@хост1:файл пользователь2@хост2:фай@corvin
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install openjdk-11-jdk для установки 11-й ветки
sudo apt install openjdk-8-jdk для установки 8-й ветки
Для переключения между ветками Java используем команду:update-alternatives --config java
This rare error message seems to mean there is a problem with the server’s OCSP response: OCSP «stapling» — inclusion of the verification of the non-revocation of the server’s certificate — is required but not provided.
When I load https://wiki.samba.org/index.php/Main_Page directly I don’t get an error.
Are you using a proxy? There was a reference on another site to an issue using Zscaler on that site: https://access.redhat.com/discussions/2408091 (June 30, 2016).
Does it make any difference if you toggle this setting:
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.
(2) In the search box above the list, type or paste ocsp and pause while the list is filtered
(3) Double-click the security.ssl.enable_ocsp_must_staple preference to switch the value from true to false
Then try the site again, bypassing the cache (e.g., Ctrl+Shift+r when you reload). Any difference?
Терминал:
sudo update-alternatives --config x-terminal-emulator
Версия JAVA:
sudo update-alternatives --config java
Заходим в домашнюю директорию:
username@pc002:~$ cd ~/
Смотрим есть-ли в ней папка .ssh и если нет, создаем:
username@pc002:~$ ls -la | grep ssh
drwxrwxr-x 2 username username 4096 мар 17 08:49 .ssh
Если вывод предыдущей команды пустой,значит папка отсутствует и её нужно создать:
username@pc002:~$ mkdir .ssh
Создаем открытый и закрытый ключ нашего компьютера:
username@pc002:~$ ssh-keygen -t rsa -q -N '' -f ~/.ssh/id_rsa
Копируем полученный публичный ключ на удаленную систему:
username@pc002:~$ ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote.system.com
Установка:
sudo apt install sshfs
Монтирование ресурса:
sshfs username@server:/home/user/folder /media/server -p 22 -o uid=1000,gid=1000
Где:
username — Имя пользователя на сервере
server — Адрес сервера (ip или домен)
/home/user/folder — Нужная папка на сервере, к которой производить подключение
/media/server — Папка на вашем компьютере, к которой будет происходить монтирование
-p 22 порт sshd сервиса на сервере
-o uid=1000,gid=1000 — Параметры подключения
Размонтирование ресурса:
fusermount -u /media/server
Данный фикс найден на https://community.linuxmint.com/software/view/whatsapp-desktop
To get it working again we must go to «/opt/whatsapp-desktop/resources/app» and edit the file «main.js» as root and look for the line that says: Читать далее «Ремонт WhatsApp works with Google Chrome 36+»