I installed Samba during the initital server installtion's tasksel-like dialog.
apt install ntp ntpdate winbind libnss-winbind libpam-winbind krb5-config krb5-locales krb5-user
vim /etc/ntp.conf
Set pool = ada.example.com
$topcon_controlsPath = "FULL_PATH" | |
$i = 1; | |
$dirs = Get-ChildItem -Directory $topcon_controlsPath | Select-Object -ExpandProperty Name | ForEach-Object { [Int]$_ } | Sort-Object | |
foreach ($d in $dirs) | |
{ | |
$currentPathName = $topcon_controlsPath + "\" + $d | |
$newPathName = $topcon_controlsPath + "\Maestro" + $i | |
#Read-Host -Prompt "Press Enter to rename $currentPathName to $newPathName" |
sudo /Applications/IBM/SPSS/Statistics/23/SPSS\ Statistics\ License\ Authorization\ Wizard.app/Contents/MacOS/SPSS\ Statistics\ License\ Authorization\ Wizard |
# minimum size of USB stick 5.29GB | |
# Set here the path of your ISO file | |
$iso = 'C:\Users\localuser\Downloads\en_windows_server_2016_x64_dvd_9327751.iso' | |
# Clean ! will clear any plugged-in USB stick!! | |
Get-Disk | Where BusType -eq 'USB' | | |
Clear-Disk -RemoveData -Confirm:$true -PassThru | |
# Convert GPT |
choco feature enable -n=allowGlobalConfirmation | |
cinst googlechrome | |
cinst 7zip | |
cinst sublimetext3 | |
cinst github | |
cinst sysinternals | |
cinst putty | |
cinst cgwyn | |
cinst curl |
choco feature enable -n=allowGlobalConfirmation | |
cinst googlechrome 7zip sublimetext3 libreoffice authy-desktop | |
cinst putty cgwyn curl wget cyberduck filezilla winscp | |
cinst steam origin utorrent mpc-hc | |
cinst sysinternals procexp gpu-z cpu-z coretemp partitionmaster | |
cinst wireshark fiddler postman | |
cinst virtualmachineconverter vmwarevsphereclient |
#/bin/bash | |
systemctl stop smbd.service winbind.service nmbd.service | |
net cache flush | |
rm -rf /var/lib/samba/*.tdb | |
rm -rf /var/lib/samba/group_mapping.ldb | |
systemctl start smbd.service winbind.service nmbd.service |
# added by Anaconda3 5.3.0 installer | |
# >>> conda init >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$(CONDA_REPORT_ERRORS=false '/opt/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
\eval "$__conda_setup" | |
else | |
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then | |
. "/opt/anaconda3/etc/profile.d/conda.sh" | |
CONDA_CHANGEPS1=false conda activate base |
#FREESURFER SETUP | |
export FREESURFER_HOME=/usr/local/freesurfer | |
source $FREESURFER_HOME/SetUpFreeSurfer.sh | |
export R_LIBS=$HOME/R/x86_64-pc-linux-gnu-library/3.5 | |
#END FREESURFER SETUP |
#SETUP AFNI and SUMA | |
export PATH=$PATH:/opt/afni | |
if [ ! -f ~/.afnirc ]; then | |
cp /opt/afni/AFNI.afnirc ~/.afnirc | |
fi | |
#END AFNI/SUMA SETUP |