Posts

Showing posts from November, 2022

Managing Windows Services - Delete/Add

 First things first, lets delete cause that's super easy and before I delete anything I make sure to create backups. What I'm looking to do is expand a system like topshelf where it can just manage it remotely for me but using devops can be tricky. //delete command sc.exe delete <service name> or Ps way Remove-Service -Name "TestService" Note: curious about the registry but its better to use sc.exe. Now for adding sc create asperacentral binPath= "C:\Program Files\Aspera\Enterprise Server\bin\Debug\asperacentral.exe" DisplayName= "Aspera Central" start= auto

Ubuntu Server: Cmd line Network Shared folder for Windows

Image
 Got tired of using filezila to do everything so this morning I set things up with Samba to allow me to share. Just a few notes along with this video that I think might be helpful for other devs. commands sudo apt-get install -y samba sudo ufw allow 139 sudo ufw allow 445 sudo service smbd status sudo vi /etc/samba/smb.conf sudo chmod 777 shared_folder/ [guest] # This share allows anonymous (guest) access # without authentication! path = /shared_folder read only = no guest ok = yes guest only = yes I used the folder path at the root and probably will later add a user for security but for now I have what I need to get running. Doesnt seem as fast as filezilla but thats not a big deal. 

Popular posts from this blog

Aspetcore: NLog with Postgresql

Mongodb Cheatsheet

Installing Windows on Acer chromebook 15 cb3-532