Skip to content

Instantly share code, notes, and snippets.

@jlukic
Last active June 2, 2021 22:31
Show Gist options
  • Save jlukic/da0b41477c8441d14720632c75bbaf16 to your computer and use it in GitHub Desktop.
Save jlukic/da0b41477c8441d14720632c75bbaf16 to your computer and use it in GitHub Desktop.
Ultimate VM setup guide
Samba
- Setup with user auth (saves issues with group/user being set to nobody)
LINUX SIDE
/etc/samba/smb.conf
# USE SMB3
max protocol = SMB3
# Fix Windows
ntlm auth = yes
Windows Side
Run > Secpol.msc
Local Policies > Security Options > Network Security: LAN Manager authentication level to 'Send NTLMv2 response only. Refuse LM & NTLM'
(Elevated command prompt enable SMB3)
https://support.microsoft.com/en-us/help/2696547/how-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and-windows-server
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb20 start= auto
If you get locked out due to credential caching - see this (windows)
https://www.top-password.com/blog/tag/clear-cached-credentials-windows-10/
Qualia Setup
cd cli2 && bundle install
./install
Paths
- Clone Qualia to /home/vagrant/src/qualia
- Symlink `/home/vagrant/src/qualia/` to `~/qualia`
- IF SYMLINK IS BACKWARDS YOU'LL GET ERROR ON `cd opt/app`
Dealing with
`meteor not found` error
1) Install meteor in user directory
2) Copy to share `cp ~/.meteor /home/vagrant/share/meteor -R`
Corrupt VM disk
fsck /dev/mapper/ubuntu--vg-root
Other install
- git ssh keys
- rvm & ruby 2.3
- node & npm
- docker CLI
Other bugs
Got permission denied while trying to connect to the Docker daemon socket
```
sudo usermod -a -G docker jack
```
add file in /home/vagrant/share/config.yml with your github token like
github_token: asdasdasdas
Upgrading to Meteor 1.11.1
1) sudo rm ~/.meteor -R
2) curl "https://install.meteor.com/?release=1.11.1" | sh
3) sudo rm /home/vagrant/share/meteor -R
4) sudo cp ~/.meteor /home/vagrant/share/meteor -R
If mongodb server not found
1) qualia reset --hard
2) sudo cp ~/.meteor /home/vagrant/share/meteor -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment