Postagens

Mostrando postagens de novembro, 2017

SharePoint - ADD Solution

To add soluiton to your website, do: # ADD Solution - Command Line "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o addsolution -filename c:\temp\solution.wsp # ADD Solution - Powershell Add-SPSolution "c:\temp\solution.wsp" Install-SPSolution -Identity solution.wsp -Force -GACDeployment -AllWebApplications

SharePoint Backup & Restore Command Line

Backup & Restore Command Line # Backup Sharepoint Site "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o backup -url http://site:port/ -filename "\\server\share\Backup_Site.bak" # Restore Sharepoint Site "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o restore -url http://server:port/ -filename "\\server\share\Backup_Site.bak" The "-filename" can be put to local disk "c:\temp\Backup_Site.bak"

Zabbix 3.0 Proxy Install

 To install Zabbix Proxy do: $ sudo apt install zabbix-proxy-sqlite3 $ sudo vi /etc/zabbix/zabbix_proxy.conf    Server=<Zabbix Server IP>    Hostaname=<name>   ->  same in the Zabbix Server    DBName=<Name of SQLite Database Name> $ sudo service zabbix-proxy restart $ sudo systemctl enable zabbix-proxy

Install SharePoint with local account

To install a SharePoint without using domain account (AD), close the wizard and in the powershell type the command: # New-SPConfigurationDatabase

Zabbix 3.0 Agent Install

Install Zabbix 3.0 Agent # Add Zabbix Repository on Ubuntu $ wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-2+trusty_all.deb $ sudo dpkg -i zabbix-release_3.0-2+trusty_all.deb $ sudo apt update # Install Zabbix agent $ sudo apt install zabbix-agent # Config Zabbix agent $ sudo vi /etc/zabbix/zabbix_agentd.conf Server=IP ServerActive=IP-do-Servidor   -> If Agent is Active mode Hostname=NomedoServidor   -> If Agent is Active mode $ sudo service zabbix-agent restart