This is a list of noteworthy directories and files on Windows-based operating systems. Note that locations might differ between versions of Windows.
C:\Windows\NTDS: On Windows 2008 R2, this is the default location for the Active Directory domain controller database and log files. The location can be on a FAT32 or NTFS partition.
C:\Windows\SYSVOL: On Windows 2008 R2, this is the default location for the Active Directory domain controller SYSVOL. Requires NTFS.
Install Oracle Virtualbox on Linux Mint 17
This is a quick tip on how to install the closed-source version of Virtualbox, currently at version 4.3.16, on a machine with Linux Mint 17.
This is a list of software tools that can be used to create presentations.
Set up an FTP Repository from RHEL DVD
RHEL can be installed from various different sources. One of them is over the network, from an FTP accessible repository. Here's how to create such a repository:
You will first need to install
vsftpdfrom the RHEL DVD. See Install packages from RHEL DVD with yum on how to do that.
After you have installed
vsftpd, enable it and start it:
chkconfig vsftpd on service vsftpd start
At this point, you should be able to open
ftp://localhost/from the same system on which you are working, which will show you the contents of the
/var/ftp/pubdirectory, the default FTP directory on RHEL.
Create a directory for the repository:
Copy all the files from the DVD to the repository. Assuming that either the DVD or the
.isoimage is mounted at
cp --recursive --archive /media/rhel/. /var/ftp/pub/rhel/
Change the SELinux context of the files in the repository:
chcon --recursive --reference=/var/ftp/pub/ /var/ftp/pub/rhel/
At this point the repository is only accessible from the system on which it runs, since
iptablesby default does not allow FTP traffic from other hosts. To open this access, edit your
/etc/sysconfig/iptablesand add these lines before the
-A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
...and reload the firewall:
service iptables reload
Alternatively, you can do from the command line:
iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT service iptables save
Change pptpd port on CentOS
I was testing Point-to-Point Tunneling today, between a CentOS 6 server running
pptpd, and some Mikrotik routers as
the clients, and I wanted to change the listening port on the
pptpd side. After searching and reading a bit of
documentation for a while, I was surprised to find that
pptpd respects the record for
pptp as defined in