{"id":235,"date":"2019-07-12T05:59:23","date_gmt":"2019-07-12T03:59:23","guid":{"rendered":"http:\/\/yellotab.se\/x056\/?p=235"},"modified":"2019-07-13T21:28:07","modified_gmt":"2019-07-13T19:28:07","slug":"centos-7-minimal-install-on-virtualbox","status":"publish","type":"post","link":"https:\/\/yellotab.se\/x056\/2019\/07\/12\/centos-7-minimal-install-on-virtualbox\/","title":{"rendered":"CentOS 7 minimal install on VirtualBox"},"content":{"rendered":"<p>Device: VirtualBox | <a href=\"https:\/\/wiki.centos.org\/HowTos\/Virtualization\/VirtualBox\/CentOSguest\">Create VM<\/a> | <a href=\"https:\/\/www.centos.org\/download\/\">CentOS 7 iso<\/a> | <a href=\"https:\/\/www.tecmint.com\/centos-7-initial-server-setup-and-configuration\/\">General Setup CentOS<\/a> | Snipeit Install | <a href=\"https:\/\/aruljohn.com\/info\/virtualbox-access-guest-from-host-nat\/\">networking VM<\/a> |<\/p>\n<p><em>Create a <strong>New<\/strong> Virtual Machine (VM) with the Virtual Machine Wizard, choosing <strong>Linux<\/strong> for the OS Type and <strong>Red Hat<\/strong> or <strong>Red Hat (64 bit)<\/strong> for the Operating System. Memory should be at least 768MB for a graphical install to work. Next the virtual hard disk wizard will start. The OS disk should be at least 8GB. For a relatively full install, allocate at least 15GB, otherwise use all the defaults. Additional disk[s] can be added later if desired.<\/em><\/p>\n<ul>\n<li>VM Redhat 64 | Disk 1<strong>0GB<\/strong> | minne <strong>1024m<\/strong>b | Video <strong>16mb<\/strong> |<\/li>\n<li>Ladda ner ISO<\/li>\n<li>S\u00e4tt CD till iso<\/li>\n<li>skapa root anv\u00e4ndare<\/li>\n<li>skapa anv\u00e4ndare (selindmarkl)<\/li>\n<li>installation klar och reboot<\/li>\n<\/ul>\n<pre>yum -y update<\/pre>\n<p>St\u00e4ll in\/kontrollera \u00a0n\u00e4tverk om det inte gjordes i setup<\/p>\n<p><strong>CentOS 7<\/strong> has a wide range of tools that can be used to configure and manage networking, from manually editing the network configuration file to using commands such as <a href=\"https:\/\/www.tecmint.com\/ip-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">ip<\/a>, <a href=\"https:\/\/www.tecmint.com\/ifconfig-command-examples\/\" target=\"_blank\" rel=\"noopener noreferrer\">ifconfig<\/a>, <strong>nmtui<\/strong>, <a href=\"https:\/\/www.tecmint.com\/configure-network-connections-using-nmcli-tool-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">nmcli<\/a> or <strong>route<\/strong>.<br \/>\nThe easiest utility a beginner can use to manage and change network configurations is <strong>nmtui<\/strong> graphical command line.<\/p>\n<pre><strong># yum -y install epel-release<\/strong><\/pre>\n<p><span style=\"color: #808080;\"># sed -i -e &#8221;s\/\\]$\/\\]\\npriority=5\/g&#8221; \/etc\/yum.repos.d\/epel.repo <\/span><br \/>\n<span style=\"color: #808080;\"># set [priority=5] # sed -i -e &#8221;s\/enabled=1\/enabled=0\/g&#8221; \/etc\/yum.repos.d\/epel.repo <\/span><br \/>\n<span style=\"color: #808080;\"># for another way, change to [enabled=0] and use it only when needed <\/span><br \/>\n<span style=\"color: #808080;\"># yum &#8211;enablerepo=epel install [Package] <\/span><br \/>\n<span style=\"color: #808080;\"># if [enabled=0], input a command to use the repository<\/span><\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/centos-7-initial-server-setup-and-configuration\/\">Installera utvecklingsverktyg<\/a><\/p>\n<pre>yum install nano wget curl net-tools lsof bash-completion<\/pre>\n<p><a href=\"https:\/\/github.com\/shawfdong\/hyades\/wiki\/DKMS-on-CentOS-7\">Installer DKMS<\/a><\/p>\n<pre>yum -y install dkms<\/pre>\n<h4>Snipe installer <a href=\"https:\/\/github.com\/snipe\/snipe-it\/blob\/master\/snipeit.sh\"><strong>(k\u00e4ll script )<\/strong><\/a><\/h4>\n<p>wget https:\/\/raw.githubusercontent.com\/snipe\/snipe-it\/master\/install.sh<br \/>\nchmod 744 install.sh<br \/>\n.\/install.sh<\/p>\n<p>Installerar snipeit med maria db, och s\u00e4tter upp allt.<\/p>\n<ul>\n<li>S\u00e4tter root pw Db<\/li>\n<li>s\u00e4tter snipeit pw Db<\/li>\n<li>Remove annonymous<\/li>\n<li>Enable remote login<\/li>\n<li>Tar bort testdatabas<\/li>\n<li>* Configuring firewall to allow HTTP traffic only.* Configuring SELinux.<\/li>\n<\/ul>\n<hr \/>\n<hr \/>\n<p>Optional: GUI<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/www.rootusers.com\/how-to-install-cinnamon-gui-in-centos-7-linux\/\">Installing Cinnamon Desktop Environment:<\/a><\/h3>\n<ol>\n<li>Install Cinnamon Desktop Environment on here.First Add the EPEL Repository (EPEL Repository which is provided from Fedora project.)<\/li>\n<\/ol>\n<h4>Installera Cinnamon desktop<\/h4>\n<pre>yum --enablerepo=epel -y install cinnamon*<\/pre>\n<h4>Starta Cinnamon desktop<\/h4>\n<pre><code class=\"\" data-line=\"\"><\/code><\/pre>\n<pre>echo \"exec \/usr\/bin\/cinnamon-session\" &gt;&gt; ~\/.xinitrc \r\nstartx<\/pre>\n<ol>\n<li><a href=\"https:\/\/fedoraproject.org\/wiki\/EPEL#Extra_Packages_for_Enterprise_Linux_.28EPEL.29\" rel=\"noreferrer\">Extra Packages for Enterprise Linux (EPEL)<\/a>\n<ul>\n<li><a href=\"https:\/\/unix.stackexchange.com\/questions\/181503\/how-to-install-desktop-environments-on-centos-7\">How to add EPEL Repository?<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<ul>\n<li><a href=\"https:\/\/snipe-it.readme.io\/docs\/downloading\">Download installer kr\u00e4ver EPEL\u00a0<\/a><\/li>\n<\/ul>\n<h4><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Installation och konfigurering av VM machine f\u00f6r CentOS7 p\u00e5 VirtualBox<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"single.php","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6],"tags":[13,18,15,19,14,9],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-virtual-machines","tag-centos-7","tag-installation","tag-mariadb","tag-set-up","tag-snipeit","tag-virtualbox"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":16,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/posts\/235\/revisions\/343"}],"wp:attachment":[{"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yellotab.se\/x056\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}