Archive

Posts Tagged ‘Install’

Installing modules is easy – Azure and Office365


This little post is to get you up and running with Azure PowerShell so that you can manage your Azure subscriptions and Office365 tenants in 10 minutes after booting up an fresh install of Windows 10.

I have tested this in the following Windows builds:
10586 (1511 build – Windows 10)
10586(TP4 build – Windows Server 2016)
14328 (insider build – Windows 10)

Simply start PowerShell in Elevated mode (right click on PowerShell and start in Admin mode.

type these 3 lines – one at a time.

“Install-Module AzureRM -force:$true”
“Install-Module Azure -force:$true”
“Install-Module MSOnline -force:$true”

When the installation is finished you need to set the execution policy to “Unrestricted” to be able to connect to Office365 tenants.

“Set-ExecutionPolicy Unrestricted”

You are good to go! 🙂
Good luck playing around with Azure and Office365

 

 

Create a Windows Bootable usb pendrive (windows Vista, 7, 8, 8.1, 10, Server 2008, 2008R2, 2012 and 2012R2)


This procedure lets you install Windows from a usb pendrive. Works from Vista/2008 and later

First you need

* Usb pendrive of at least 4GB (Content will be erased)

* Windows installation medium or iso. Windows Vista or later

Prepare usb pendrive

* Insert the pendrive in an available port and copy any data you need to preserve to another locaiton

* Open an elevated commandprompt (“run as administrator”)

* Write “diskpart” and press enter

* Inside diskpart write “list disk” and identify the number for the pendrive.

* Enter the following command, in the example below the pendrive is disk 1 in diskpart.

SELECT DISK 1
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT FS=NTFS QUICK
ASSIGN
EXIT

* Copy the content of the Installation medium to the pendrive or extract the iso-file using 7-zip or similar program

Then you should be all set, remember the boot order in BIOS when you want to boot from the pendrive.

Tags: , ,

VSftpd


apt-get install vsftpd

edit the VSftpd config at /etc/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
idle_session_timeout=600
ftpd_banner=Welcome to “what you want” FTP service.
secure_chroot_dir=/usr/local/share/vsftpd/empty
listen=YES
background=YES
passwd_chroot_enable=YES
chroot_local_user=YES

 

 

Tags: , ,

vmware tools install Linux


The first steps are performed on the host, within Workstation menus:

1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools. 

Choose VM > Install VMware Tools.

The remaining steps take place inside the virtual machine.

3. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

mount /dev/cdrom /mnt/cdrom

cd /tmp

Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
/tmp/vmware-tools-distrib.

4. Untar the VMware Tools tar file:

tar zxf /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.tar.gz

umount /dev/cdrom

Where <xxxx> is the build/revision number of the VMware Workstation release.

5. Run the .tar VMware Tools installer:
cd vmware-tools-distrib
./vmware-install.pl

Respond to the configuration questions on the screen. Press Enter to accept the default value.

6. Log off of the root account.
exit

%d bloggers like this: