{"id":263,"date":"2023-03-05T15:47:28","date_gmt":"2023-03-05T14:47:28","guid":{"rendered":"https:\/\/blog.wofuer.com\/?p=263"},"modified":"2023-03-12T00:13:18","modified_gmt":"2023-03-11T23:13:18","slug":"virtual-machine-setup","status":"publish","type":"post","link":"https:\/\/blog.wofuer.com\/?p=263","title":{"rendered":"Virtual Machine Setup"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">VM Virtual Box<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"490\" src=\"https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image.png\" alt=\"\" class=\"wp-image-264\" srcset=\"https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image.png 708w, https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image-300x208.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Debian 11<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Graphical Install without much to add<\/li>\n\n\n\n<li>GNOME Desktop Environment<\/li>\n\n\n\n<li>Change Screen to 1920&#215;1200 &amp; Timezone<\/li>\n\n\n\n<li>Add user &#8220;wolfgang&#8221; to sudoers<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>su -\nusermod -aG sudo wolfgang\ngetent group sudo\nsu - wolfgang<\/code><\/pre>\n\n\n\n<p>Restart<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Working Environment<\/h2>\n\n\n\n<p>&#8230; install the HTTPS support for apt to get packages from Microsoft and other repositories:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y curl apt-transport-https<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Surface<\/h3>\n\n\n\n<p>&#8230; make a folder for the themes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ~\/.themes<\/code><\/pre>\n\n\n\n<p>&#8230; enable user themes in the tweak tool:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1003\" height=\"700\" src=\"https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image-1.png\" alt=\"\" class=\"wp-image-274\" srcset=\"https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image-1.png 1003w, https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image-1-300x209.png 300w, https:\/\/blog.wofuer.com\/wp-content\/uploads\/2023\/03\/image-1-768x536.png 768w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Owncloud-Client<\/h3>\n\n\n\n<p>&#8230; download and add the repositories key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -nv https:\/\/download.owncloud.com\/desktop\/ownCloud\/stable\/latest\/linux\/Debian_11\/Release.key -O - | gpg --dearmor | sudo tee \/etc\/apt\/trusted.gpg.d\/owncloud.gpg &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p>&#8230; add repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'deb https:\/\/download.owncloud.com\/desktop\/ownCloud\/stable\/latest\/linux\/Debian_11\/ \/' | sudo tee -a \/etc\/apt\/sources.list.d\/owncloud.list<\/code><\/pre>\n\n\n\n<p>&#8230; update the repository list and install:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install owncloud-client<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Chrome<\/h3>\n\n\n\n<p>&#8230; download and add the repositories key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sSL https:\/\/dl.google.com\/linux\/linux_signing_key.pub | sudo gpg --dearmor -o \/usr\/share\/keyrings\/googlechrome-linux-keyring.gpg<\/code><\/pre>\n\n\n\n<p>&#8230; add repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=amd64 signed-by=\/usr\/share\/keyrings\/googlechrome-linux-keyring.gpg] http:\/\/dl.google.com\/linux\/chrome\/deb\/ stable main\" | sudo tee \/etc\/apt\/sources.list.d\/google-chrome.list<\/code><\/pre>\n\n\n\n<p>&#8230; update the repository list and install:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install -y google-chrome-stable<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Visual Code<\/h3>\n\n\n\n<p>&#8230; download and import the Microsoft signing GPG key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sSL https:\/\/packages.microsoft.com\/keys\/microsoft.asc | sudo gpg --dearmor -o \/usr\/share\/keyrings\/ms-vscode-keyring.gpg<\/code><\/pre>\n\n\n\n<p>&#8230; add repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=amd64 signed-by=\/usr\/share\/keyrings\/ms-vscode-keyring.gpg] https:\/\/packages.microsoft.com\/repos\/vscode stable main\" | sudo tee \/etc\/apt\/sources.list.d\/vscode.list<\/code><\/pre>\n\n\n\n<p>&#8230; update the repository list and install:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install -y code<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">MySQL Workbench<\/h3>\n\n\n\n<p>&#8230; unfortunately only with snap:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install snapd &amp;&amp; snap install mysql-workbench-community<\/code><\/pre>\n\n\n\n<p>&#8230; connect the snap-sandbox and the password-manager-service to store the passwords:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service<\/code><\/pre>\n\n\n\n<p>&#8230; connect the snap-sandbox and the ssh-keys to store the ssh connections:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo snap connect mysql-workbench-community:ssh-keys :ssh-keys<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Container Environment<\/h2>\n\n\n\n<p>&#8230; install required Docker dependencies:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common<\/code><\/pre>\n\n\n\n<p>&#8230; download and import the Docker signing GPG key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/download.docker.com\/linux\/debian\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg<\/code><\/pre>\n\n\n\n<p>&#8230; add repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=amd64 signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/debian $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list<\/code><\/pre>\n\n\n\n<p>&#8230; install the latest version of the Docker engine and container:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update &amp;&amp; sudo apt install docker-ce docker-ce-cli containerd.io<\/pre>\n\n\n\n<p>&#8230; check version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker \u2013version<\/code><\/pre>\n\n\n\n<p>&#8230; check service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status docker<\/code><\/pre>\n\n\n\n<p>&#8230; add the docker user with a docker-home directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo useradd -m -g docker docker<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>VM Virtual Box Debian 11 Restart Working Environment &#8230; install the HTTPS support for apt to get packages from Microsoft and other repositories: Surface &#8230; make a folder for the themes: &#8230; enable user themes in the tweak tool: Owncloud-Client &#8230; download and add the repositories key: &#8230; add repository: &#8230; update the repository list &#8230; <a title=\"Virtual Machine Setup\" class=\"read-more\" href=\"https:\/\/blog.wofuer.com\/?p=263\" aria-label=\"Read more about Virtual Machine Setup\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,9],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-idea","tag-debian","tag-linux"],"_links":{"self":[{"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263"}],"version-history":[{"count":18,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wofuer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}