пятница, 8 ноября 2019 г.

lxd debian 10

Настройка языка и региональных стандартов в Ubuntu Server/Debian
Install GUI on Ubuntu Server 18.04 Bionic Beaver

$ lxc image list images: > 1.txt
$ lxc launch images:debian/10 deb01
$ lxc list
$ lxc config set deb01 security.privileged true
$ lxc restart deb01
$ lxc exec deb01 /bin/bash
# passwd
# adduser user
# usermod -aG sudo user

# apt update
# apt upgrade
# apt install mc samba sudo
# locale-gen ru_RU.UTF-8
# timedatectl set-timezone Europe/Moscow
# service cron restart
# nano /etc/hosts
127.0.0.1 localhost test
Сохранить.
# apt install ssh
# exit
$ lxc restart deb01

по ssh

$ sudo apt -y install task-xfce-desktop xrdp



$ lxc launch ubuntu:18.04 u01
$ lxc config set u01 security.privileged true
$ lxc restart u01
$ lxc exec u01 /bin/bash
# passwd
# adduser user
# usermod -aG sudo user
# apt update
# apt upgrade
# apt install mc samba
# locale-gen ru_RU.UTF-8
# timedatectl set-timezone Europe/Moscow
# service cron restart
# dpkg-reconfigure console-setup
# dpkg-reconfigure keyboard-configuration
# nano /etc/hosts
127.0.0.1 localhost test
Сохранить.
# nano /etc/ssh/sshd_config
PasswordAuthentication yes
Сохранить.
# systemctl reload sshd
# exit
$ lxc stop u01
$ lxc cp u01


по ssh

$ sudo apt install xfce4 slim
$ sudo reboot
$ sudo service slim start
$ sudo apt install xrdp
$ sudo reboot

по ssh

$ sudo apt install ttf-mscorefonts-installer
$ sudo  fc-cache -fv
$ sudo apt install libfreetype6 libgsf-1-common unixodbc glib2.0 
$ tar xvzf deb64_8_3_15_1700.tar.gz
$ tar xvzf client_8_3_15_1700.deb64.tar.gz

$ sudo dpkg -i 1c-enterprise83-common_8.3.15-1700_amd64.deb
$ sudo dpkg -i 1c-enterprise83-server_8.3.15-1700_amd64.deb
$ sudo dpkg -i 1c-enterprise83-client_8.3.15-1700_amd64.deb
$ sudo apt install -f 
$ sudo chown -R usr1cv8:grp1cv8 /opt/1C

$ sudo nano /etc/hosts
192.168.0.161 test

Комментариев нет:

Отправить комментарий