12 February 2013

Sharepoint 2013 Prerequisite Install - AppFabric Error

If you get an error when installing the AppFabric prerequisite with the prerequisiteinstaller.exe provided on the Sharepoint 2013 DVD, check your PSModulePath environment variable. There could be a trailing double-quote :
> C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules"
 Delete it and re-run the installer.

#1

08 February 2013

Configure virt manager (Virtual Machine Manager) to connect to remote server using your rsa key


First, you have to generate a private / public key pair and publish your public key on the host server running the virtual machines.
Information about it can easily be found on the web.

After, simply write your private key in the file id_rsa in the .ssh folder located in your home folder.
If the folder .ssh doesn't exist you can create it.

Ensure that only your user has the right to read that id_rsa file, or the key will be ignored when connecting to ssh :
> chmod 600 id_rsa
In the Add Connection form of the Virtual Machine Manager, select SSH method and root username (or any other user on the remote server where is published your public key)


Enjoy !

04 February 2013

Allow root user to connect to build-in sftp on a synology

Since DSM 4.1, support for sftp has been added natively in DSM.
To activate the service, go in Control Panel > FTP.

By default, you do NOT have an access to sftp with the root account.
You can allow the the root user to connect through sftp by editing the file /etc/ftpusers and commenting out the line beginning with root :
#root
lp
smmsp
nobody
guest
Sadly, you will get only access to the home folder of root, and nothing else.

You can obtain a wider access to your system using the account admin but you can only browse shared folders.

 #1