System Administration

Mount Network Drive Using Windows CMD

28 Jan , 2015  

This is the command for mounting network drive :
NET USE [drive_letter] [path_to_network_drive] /PERSISTENCE:[YES/NO]

  • Replace [drive_letter] to the assigned drive letter, for example Z:
  • Replace [path_to_network_drive] with the Fully Qualified Domain Name (FQDN) path, for example \\file.sgnugraha.com\codes
  • Choose between YES or NO for persistence option. If you choose YES, then the mount point will be kept after you log out. If you choose NO, the network drive will be disconnected when you log out.

With this command you can improvise to mount network drive on your client windows machines. For example you can create a batch file called sharedfolder.bat which contains:
NET USE Z: \\file.sgnugraha.com\codes /PERSISTENCE:YES
Then you just need to create a Group Policy Object (GPO) which run this script during user log in process.

, , , ,

System Administration

Network Configuration in Linux Terminal

24 Jul , 2014  

Networking is the basic thing to configure after installing a new operating system. Especially if you are a system administrator, in which case, almost never work on those computers directly. I only touch my computer hardware during OS installation, when network connection to the computer is lost or when I face hardware issue. Most of the time, management of those computers was done remotely. Therefore if you want to be able to manage it remotely, you must make sure those computers are configured to connect to the network and accessible from the network. I’ll show you how to configure networking using terminal in Debian/Ubuntu family of Linuxes. More…

System Administration

DHCP Windows Server 2012 R2 for VLANs

23 Jul , 2014  

DHCP-VLAN-featured

It has been quite sometime since the last time I write here. In fact, the last time I posted something here, I’m still a registered student of Informatics Engineering Department in Sepuluh Nopember Institue of Technology. Well, I got a lot of things going on in my life since then, shit happens, good things come to me and long story short, I’m now a sysadmin (yeaay!). I’ll share one of my experience at work when I have to configure a DHCP service for my client which has 3 different VLANs on its network and my DHCP server must provide IP address pool for all 3 VLANs. More…

, , , ,

System Administration

Linux and The Dream of Using Free Software Everywhere

26 Jun , 2013  

This is a fine evening of June 26 and I’ve been cruising around the web while listening some old sets from 2010 Electric Daisy Carnival. ¬†This is a very interesting evening actually, I’ve stumbled upon a quote from Stan Lee and a blog post about a recent riot that happened recently in connection to my country’s football. These things seems to be connected all the way to the root of many problems in here (I might write about them as well, who knows). But those are not the things I’m going to write about this time, this evening I also decided to check out the recent release of DistroWatch’s weekly issue. Usually I would check on them every Monday, right after they were released, but this week has been a busy week for me. In the miscellaneous news section, the news about PC-BSD moves of leaving i386 architecture behind from their future work caught my attention. More…

, , ,

System Administration

Web Server Set Up in Linux and Windows

24 Jun , 2013  

This is an easy to follow guide on how to set up your computer system as a web server in both Linux and Windows OS. First, we need to setup your system with a web server, MySQL database server and PHP support. here is how to install it in your machine. More…

, , , ,