Device: VirtualBox | Create VM | CentOS 7 iso | General Setup CentOS | Snipeit Install | networking VM |
Create a New Virtual Machine (VM) with the Virtual Machine Wizard, choosing Linux for the OS Type and Red Hat or Red Hat (64 bit) 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.
- VM Redhat 64 | Disk 10GB | minne 1024mb | Video 16mb |
- Ladda ner ISO
- Sätt CD till iso
- skapa root användare
- skapa användare (selindmarkl)
- installation klar och reboot
yum -y update
Ställ in/kontrollera nätverk om det inte gjordes i setup
CentOS 7 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 ip, ifconfig, nmtui, nmcli or route.
The easiest utility a beginner can use to manage and change network configurations is nmtui graphical command line.
# yum -y install epel-release
# sed -i -e ”s/\]$/\]\npriority=5/g” /etc/yum.repos.d/epel.repo
# set [priority=5] # sed -i -e ”s/enabled=1/enabled=0/g” /etc/yum.repos.d/epel.repo
# for another way, change to [enabled=0] and use it only when needed
# yum –enablerepo=epel install [Package]
# if [enabled=0], input a command to use the repository
yum install nano wget curl net-tools lsof bash-completion
yum -y install dkms
Snipe installer (käll script )
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.sh
Installerar snipeit med maria db, och sätter upp allt.
- Sätter root pw Db
- sätter snipeit pw Db
- Remove annonymous
- Enable remote login
- Tar bort testdatabas
- * Configuring firewall to allow HTTP traffic only.* Configuring SELinux.
Optional: GUI
Installing Cinnamon Desktop Environment:
- Install Cinnamon Desktop Environment on here.First Add the EPEL Repository (EPEL Repository which is provided from Fedora project.)
Installera Cinnamon desktop
yum --enablerepo=epel -y install cinnamon*
Starta Cinnamon desktop
echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc startx