31 changed files with 376 additions and 51 deletions
@ -0,0 +1,37 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
set -e # exit on error |
||||
|
set -o pipefail # exit on pipeline error |
||||
|
set -u # treat unset variable as error |
||||
|
|
||||
|
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" |
||||
|
|
||||
|
# install packages |
||||
|
if [ -f $SCRIPT_DIR/package.list ]; then |
||||
|
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ |
||||
|
$APT_CMD update >>$OUTPUT 2>&1 && |
||||
|
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ |
||||
|
$APT_CMD install $APT_OPTIONS \ |
||||
|
$(grep -vE "^\s*#" $SCRIPT_DIR/package.list | tr "\n" " ") >>$OUTPUT 2>&1 |
||||
|
fi |
||||
|
|
||||
|
cd /root |
||||
|
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 >>$OUTPUT 2>&1 |
||||
|
#echo "deb https://download.onlyoffice.com/repo/debian squeeze main" >/etc/apt/sources.list.d/onlyoffice.list >>$OUTPUT 2>&1 |
||||
|
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - >>$OUTPUT 2>&1 |
||||
|
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb >>$OUTPUT 2>&1 |
||||
|
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ |
||||
|
$APT_CMD update |
||||
|
#sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ |
||||
|
# $APT_CMD install $APT_OPTIONS onlyoffice-desktopeditors |
||||
|
sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ |
||||
|
$APT_CMD install $APT_OPTIONS /root/google-chrome-stable_current_amd64.deb /root/cts-4.0.0-104.ks1_amd64.deb >>$OUTPUT 2>&1 |
||||
|
|
||||
|
if [ -d /home/live ]; then |
||||
|
mkdir -p /home/live/.cts |
||||
|
cp /etc/skel/.cts/settings.conf /home/live/.cts/ |
||||
|
chmod 755 /home/live/.cts |
||||
|
chown live:live /home/live/.cts |
||||
|
chmod 644 /home/live/.cts/settings.conf |
||||
|
chown live:live /home/live/.cts/settings.conf |
||||
|
fi |
@ -0,0 +1,8 @@ |
|||||
|
open-vm-tools-desktop |
||||
|
#firefox |
||||
|
#firefox-locale-ru |
||||
|
remmina |
||||
|
parole |
||||
|
recordmydesktop |
||||
|
#compizconfig-settings-manager |
||||
|
#compiz-plugins |
@ -0,0 +1 @@ |
|||||
|
WebBrowser=google-chrome |
@ -0,0 +1,15 @@ |
|||||
|
[Desktop Entry] |
||||
|
Version=1.0 |
||||
|
Type=Application |
||||
|
Exec=exo-open --launch FileManager %u |
||||
|
Icon=system-file-manager |
||||
|
StartupNotify=true |
||||
|
Terminal=false |
||||
|
Categories=Utility;X-XFCE;X-Xfce-Toplevel; |
||||
|
OnlyShowIn=XFCE; |
||||
|
X-XFCE-MimeType=inode/directory;x-scheme-handler/trash; |
||||
|
Name=File Manager |
||||
|
Name[ru]=Файловый менеджер |
||||
|
Comment=Browse the file system |
||||
|
Comment[ru]=Просмотреть файловую систему |
||||
|
X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop |
@ -0,0 +1,16 @@ |
|||||
|
[Desktop Entry] |
||||
|
Version=1.0 |
||||
|
Type=Application |
||||
|
Exec=exo-open --launch WebBrowser %u |
||||
|
Icon=web-browser |
||||
|
StartupNotify=true |
||||
|
Terminal=false |
||||
|
Categories=Network;X-XFCE;X-Xfce-Toplevel; |
||||
|
OnlyShowIn=XFCE; |
||||
|
X-XFCE-MimeType=x-scheme-handler/http;x-scheme-handler/https; |
||||
|
Name=Web Browser |
||||
|
Name[ru]=Веб-браузер |
||||
|
Comment=Browse the web |
||||
|
Comment[ru]=Смотреть в Интернете |
||||
|
X-XFCE-Source=file:///usr/share/applications/exo-web-browser.desktop |
||||
|
Path= |
@ -0,0 +1,14 @@ |
|||||
|
[Desktop Entry] |
||||
|
Version=1.0 |
||||
|
Type=Application |
||||
|
Exec=exo-open --launch TerminalEmulator |
||||
|
Icon=utilities-terminal |
||||
|
StartupNotify=true |
||||
|
Terminal=false |
||||
|
Categories=Utility;X-XFCE;X-Xfce-Toplevel; |
||||
|
OnlyShowIn=XFCE; |
||||
|
Name=Terminal Emulator |
||||
|
Name[ru]=Эмулятор терминала |
||||
|
Comment=Use the command line |
||||
|
Comment[ru]=Использовать командную строку |
||||
|
X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop |
@ -0,0 +1,68 @@ |
|||||
|
favorites=RDWebAccess.desktop,RDWebClient.desktop,org.remmina.Remmina.desktop,ctsg.desktop,ctskeyimportg.desktop,ubiquity.desktop |
||||
|
recent= |
||||
|
button-title=Applications Menu |
||||
|
button-icon=MiniOS-white |
||||
|
button-single-row=false |
||||
|
show-button-title=false |
||||
|
show-button-icon=true |
||||
|
launcher-show-name=true |
||||
|
launcher-show-description=false |
||||
|
launcher-show-tooltip=true |
||||
|
item-icon-size=2 |
||||
|
hover-switch-category=false |
||||
|
category-show-name=true |
||||
|
category-icon-size=1 |
||||
|
load-hierarchy=true |
||||
|
recent-items-max=10 |
||||
|
favorites-in-recent=true |
||||
|
display-recent-default=false |
||||
|
position-search-alternate=true |
||||
|
position-commands-alternate=false |
||||
|
position-categories-alternate=false |
||||
|
menu-width=400 |
||||
|
menu-height=500 |
||||
|
menu-opacity=100 |
||||
|
command-settings=xfce4-settings-manager |
||||
|
show-command-settings=true |
||||
|
command-lockscreen=xflock4 |
||||
|
show-command-lockscreen=true |
||||
|
command-switchuser=dm-tool switch-to-greeter |
||||
|
show-command-switchuser=false |
||||
|
command-logout=xfce4-session-logout |
||||
|
show-command-logout=true |
||||
|
command-menueditor=menulibre |
||||
|
show-command-menueditor=true |
||||
|
command-profile=mugshot |
||||
|
show-command-profile=true |
||||
|
search-actions=5 |
||||
|
|
||||
|
[action0] |
||||
|
name=Man-страницы |
||||
|
pattern=# |
||||
|
command=exo-open --launch TerminalEmulator man %s |
||||
|
regex=false |
||||
|
|
||||
|
[action1] |
||||
|
name=Web-поиск |
||||
|
pattern=? |
||||
|
command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u |
||||
|
regex=false |
||||
|
|
||||
|
[action2] |
||||
|
name=Википедия |
||||
|
pattern=!w |
||||
|
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u |
||||
|
regex=false |
||||
|
|
||||
|
[action3] |
||||
|
name=Выполнить в терминале |
||||
|
pattern=! |
||||
|
command=exo-open --launch TerminalEmulator %s |
||||
|
regex=false |
||||
|
|
||||
|
[action4] |
||||
|
name=Открыть URI |
||||
|
pattern=^(file|http|https):\\/\\/(.*)$ |
||||
|
command=exo-open \\0 |
||||
|
regex=true |
||||
|
|
@ -0,0 +1,123 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
|
||||
|
<channel name="xfce4-panel" version="1.0"> |
||||
|
<property name="panels" type="uint" value="1"> |
||||
|
<property name="panel-0" type="empty"> |
||||
|
<property name="position" type="string" value="p=8;x=1109;y=1275"/> |
||||
|
<property name="length" type="uint" value="100"/> |
||||
|
<property name="position-locked" type="bool" value="true"/> |
||||
|
<property name="plugin-ids" type="array"> |
||||
|
<value type="int" value="1"/> |
||||
|
<value type="int" value="21"/> |
||||
|
<value type="int" value="23"/> |
||||
|
<value type="int" value="19"/> |
||||
|
<value type="int" value="24"/> |
||||
|
<value type="int" value="22"/> |
||||
|
<value type="int" value="2"/> |
||||
|
<value type="int" value="3"/> |
||||
|
<value type="int" value="5"/> |
||||
|
<value type="int" value="4"/> |
||||
|
<value type="int" value="7"/> |
||||
|
<value type="int" value="6"/> |
||||
|
<value type="int" value="9"/> |
||||
|
<value type="int" value="10"/> |
||||
|
<value type="int" value="11"/> |
||||
|
<value type="int" value="12"/> |
||||
|
</property> |
||||
|
<property name="background-style" type="uint" value="0"/> |
||||
|
<property name="background-alpha" type="uint" value="60"/> |
||||
|
<property name="size" type="uint" value="32"/> |
||||
|
<property name="length-adjust" type="bool" value="true"/> |
||||
|
<property name="span-monitors" type="bool" value="false"/> |
||||
|
<property name="enter-opacity" type="uint" value="100"/> |
||||
|
<property name="leave-opacity" type="uint" value="100"/> |
||||
|
<property name="mode" type="uint" value="0"/> |
||||
|
<property name="autohide-behavior" type="uint" value="0"/> |
||||
|
<property name="nrows" type="uint" value="1"/> |
||||
|
</property> |
||||
|
</property> |
||||
|
<property name="plugins" type="empty"> |
||||
|
<property name="plugin-1" type="string" value="whiskermenu"/> |
||||
|
<property name="plugin-2" type="string" value="tasklist"> |
||||
|
<property name="flat-buttons" type="bool" value="true"/> |
||||
|
<property name="show-handle" type="bool" value="false"/> |
||||
|
<property name="show-labels" type="bool" value="false"/> |
||||
|
</property> |
||||
|
<property name="plugin-3" type="string" value="separator"> |
||||
|
<property name="style" type="uint" value="0"/> |
||||
|
<property name="expand" type="bool" value="true"/> |
||||
|
</property> |
||||
|
<property name="plugin-4" type="string" value="systray"> |
||||
|
<property name="show-frame" type="bool" value="false"/> |
||||
|
<property name="size-max" type="uint" value="22"/> |
||||
|
<property name="names-visible" type="array"> |
||||
|
<value type="string" value="thunar"/> |
||||
|
<value type="string" value="ctsg"/> |
||||
|
</property> |
||||
|
<property name="names-hidden" type="array"> |
||||
|
<value type="string" value="network"/> |
||||
|
<value type="string" value="xfce4-power-manager"/> |
||||
|
<value type="string" value="сеть"/> |
||||
|
<value type="string" value="апплет networkmanager"/> |
||||
|
<value type="string" value="networkmanager applet"/> |
||||
|
<value type="string" value="remmina"/> |
||||
|
</property> |
||||
|
</property> |
||||
|
<property name="plugin-9" type="string" value="pulseaudio"> |
||||
|
<property name="enable-keyboard-shortcuts" type="bool" value="true"/> |
||||
|
<property name="enable-mpris" type="bool" value="true"/> |
||||
|
<property name="mixer-command" type="string" value="pavucontrol"/> |
||||
|
<property name="mpris-players" type="string" value="parole"/> |
||||
|
<property name="show-notifications" type="bool" value="true"/> |
||||
|
</property> |
||||
|
<property name="plugin-10" type="string" value="separator"> |
||||
|
<property name="style" type="uint" value="0"/> |
||||
|
<property name="expand" type="bool" value="false"/> |
||||
|
</property> |
||||
|
<property name="plugin-11" type="string" value="clock"> |
||||
|
<property name="digital-format" type="string" value="%d %b, %H:%M"/> |
||||
|
</property> |
||||
|
<property name="plugin-12" type="string" value="showdesktop"/> |
||||
|
<property name="plugin-19" type="string" value="launcher"> |
||||
|
<property name="items" type="array"> |
||||
|
<value type="string" value="16093657651.desktop"/> |
||||
|
</property> |
||||
|
</property> |
||||
|
<property name="plugin-21" type="string" value="separator"> |
||||
|
<property name="style" type="uint" value="0"/> |
||||
|
</property> |
||||
|
<property name="plugin-22" type="string" value="separator"> |
||||
|
<property name="style" type="uint" value="0"/> |
||||
|
</property> |
||||
|
<property name="plugin-23" type="string" value="launcher"> |
||||
|
<property name="items" type="array"> |
||||
|
<value type="string" value="16093659533.desktop"/> |
||||
|
</property> |
||||
|
<property name="show-label" type="bool" value="false"/> |
||||
|
<property name="disable-tooltips" type="bool" value="false"/> |
||||
|
</property> |
||||
|
<property name="plugin-24" type="string" value="launcher"> |
||||
|
<property name="items" type="array"> |
||||
|
<value type="string" value="16093659584.desktop"/> |
||||
|
</property> |
||||
|
</property> |
||||
|
<property name="plugin-5" type="string" value="xkb"> |
||||
|
<property name="display-scale" type="uint" value="50"/> |
||||
|
<property name="display-tooltip-icon" type="bool" value="true"/> |
||||
|
<property name="group-policy" type="uint" value="0"/> |
||||
|
<property name="display-type" type="uint" value="2"/> |
||||
|
<property name="display-name" type="uint" value="1"/> |
||||
|
</property> |
||||
|
<property name="plugin-7" type="string" value="statusnotifier"> |
||||
|
<property name="known-items" type="array"> |
||||
|
<value type="string" value="ctsg"/> |
||||
|
<value type="string" value="remmina-icon"/> |
||||
|
<value type="string" value="nm-applet"/> |
||||
|
</property> |
||||
|
<property name="hidden-items" type="array"> |
||||
|
</property> |
||||
|
</property> |
||||
|
<property name="plugin-6" type="string" value="power-manager-plugin"/> |
||||
|
</property> |
||||
|
<property name="configver" type="int" value="2"/> |
||||
|
</channel> |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,34 @@ |
|||||
|
version: "3.6" |
||||
|
services: |
||||
|
wg-gen-web: |
||||
|
image: vx3r/wg-gen-web:latest |
||||
|
container_name: wg-gen-web |
||||
|
restart: unless-stopped |
||||
|
expose: |
||||
|
- "8080/tcp" |
||||
|
environment: |
||||
|
- WG_CONF_DIR=/data |
||||
|
- WG_INTERFACE_NAME=wg0.conf |
||||
|
- SMTP_HOST=mail.crims0n.ru |
||||
|
- SMTP_PORT=587 |
||||
|
- SMTP_USERNAME=no-reply@crims0n.ru |
||||
|
- SMTP_PASSWORD=4ys4eUVNcVCuvJ |
||||
|
- SMTP_FROM=Wg Gen Web <no-reply@crims0n.ru> |
||||
|
- OAUTH2_PROVIDER_NAME=github |
||||
|
- OAUTH2_PROVIDER=https://github.com |
||||
|
- OAUTH2_CLIENT_ID=1347a6c5a942ca0a52ed |
||||
|
- OAUTH2_CLIENT_SECRET=2f1d162b2d8d82bc58f685660e6875d2544d059c |
||||
|
- OAUTH2_REDIRECT_URL=http://140.238.172.15:8080 |
||||
|
- WG_STATS_API=http://10.0.0.2:8182 |
||||
|
volumes: |
||||
|
- /etc/wireguard:/data |
||||
|
ports: |
||||
|
- 8080:8080 |
||||
|
wg-json-api: |
||||
|
image: james/wg-api:latest |
||||
|
container_name: wg-json-api |
||||
|
restart: unless-stopped |
||||
|
cap_add: |
||||
|
- NET_ADMIN |
||||
|
network_mode: "host" |
||||
|
command: wg-api --device wg0 --listen 0.0.0.0:8182 |
@ -1,4 +1,4 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
#docker run --rm -it --privileged -v /build:/build local/mlc |
docker run --rm -it --privileged -v /build:/build local/mlc |
||||
#docker run -it --name mlc --privileged -v /build:/build local/mlc |
#docker run -it --name mlc --privileged -v /build:/build local/mlc |
||||
docker run -d --name mlc --privileged -v /build:/build local/mlc |
#docker run -d --name mlc --privileged -v /build:/build local/mlc |
@ -1,8 +1,8 @@ |
|||||
open-vm-tools-desktop |
open-vm-tools-desktop |
||||
#firefox |
firefox |
||||
#firefox-locale-ru |
firefox-locale-ru |
||||
remmina |
remmina |
||||
parole |
parole |
||||
recordmydesktop |
recordmydesktop |
||||
compizconfig-settings-manager |
#compizconfig-settings-manager |
||||
compiz-plugins |
#compiz-plugins |
Loading…
Reference in new issue