Skip to content

Instantly share code, notes, and snippets.

@iamdeuterium
iamdeuterium / ubuntu_18_04_server_setup.sh
Last active June 4, 2020 22:43 — forked from phoenixweiss/ubuntu_22_04_server_setup.sh
Настраиваем площадку под Ruby on Rails / Sinatra на базе Ubuntu 18.04
# !!!Все что ниже делаем от имени пользователя root!!!
# Проверяем что раскомментировано в файле /etc/locale.gen
# Раскомментируем или добавляем локаль ru_RU.UTF-8 UTF-8 и выполняем команду
locale-gen
# Открываем ручками /etc/hosts и добавляем туда имя нашего сервера, его же дублируем в /etc/hostname
# Выполняем для очистки кэша пакетов, апдейтим источники, обновляем все что можно, чистим мусор
apt-get clean
apt-get update
@iamdeuterium
iamdeuterium / doc.adoc
Created September 25, 2019 18:32 — forked from KrustyHack/doc.adoc
proxmox-ubuntu-cloud-howto

Cloud-Init Support

Cloud-Init is the defacto multi-distribution package that handles early initialization of a virtual machine instance. Using Cloud-Init, one can configure network

@iamdeuterium
iamdeuterium / screenshare
Last active October 21, 2016 17:55 — forked from Saicheg/screenshare
Share screenshots on Ubuntu using Dropbox
#!/bin/bash
################
# Description:
# This script will take screenshot and
# copy it to /Dropbox/Public/screenshots/ with uniq name
# and save path to clipboard.
# default: selection
# -f fullscreen
# -w active window
#################