Skip to content

Instantly share code, notes, and snippets.

View amolkhanorkar's full-sized avatar

Amol Khanorkar amolkhanorkar

View GitHub Profile
Start and stop the server on Windows
Start and stop the server on Linux
Start and stop Apache
Start and stop the server on Windows
Start the server from the Start menu
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Adobe Flash Media Server 4.5.
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Flash Media Administration Server 4.5.
Stop the server from the Start menu
Start and stop the server on Windows
Start and stop the server on Linux
Start and stop Apache
Start and stop the server on Windows
Start the server from the Start menu
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Adobe Flash Media Server 4.5.
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Flash Media Administration Server 4.5.
Stop the server from the Start menu
#### VSFTPD Installation Steps ####
1) Install vsftpd package.
sudo apt-get install vsftpd
2) Open up the configuration file.
vim /etc/vsftpd.conf
@vparihar01
vparihar01 / setting_hostname_sendmail_in_ubuntu.md
Created June 27, 2013 11:55
For changing the mail hosts name from your local machine name to domain name.Setting the hostname in sendmail.

If you need to change the hostname that Sendmail announces itself as, just add the following to sendmail.mc:

define(`confDOMAIN_NAME', `mail.yourdomain.com')dnl

For example-: Your domain name is www.xyz.com, then

define(`confDOMAIN_NAME', `www.xyz.com')dnl
@n1shantshrivastava
n1shantshrivastava / readme.md
Last active August 13, 2021 19:56
Send Mail Configuration : Disable Local Delivery

What I did to disable local delivery. I'll be using the example.com domain.

Requirements:

  • example.com A entry pointing to IP address assigned to one of the eth interfaces.
  • /etc/hosts defining example.com assigned to the very same IP address as above
  • example.com MX records pointing to Google servers (ASPMX.L.GOOGLE.COM, etc)
  • default sendmail installation (mine was on Ubuntu)
@amolkhanorkar
amolkhanorkar / Installation Of GitLab On Ubuntu 12.04
Last active December 22, 2015 07:18
Installation Of GitLab On Ubuntu 12.04
#Installation Of GitLab On Ubuntu/Debian
This installation guide was created for and tested on Debian/Ubuntu operating systems. Please read doc/install/requirements.md for hardware and operating system requirements.
This is the official installation guide to set up a production server. To set up a development installation or for many other installation options please consult the installation section in the readme.
The following steps have been known to work. Please use caution when you deviate from this guide. Make sure you don't violate any assumptions GitLab makes about its environment. For example many people run into permission problems because they changed the location of directories or run services as the wrong user.
If you find a bug/error in this guide please submit a pull request following the contributing guide.
Overview
The GitLab installation consists of setting up the following components:
1. Packages / Dependencies
Install Flash Media Server
wget http://download.macromedia.com/pub/flashmediaserver/updates/4_5_1/Linux_64/FlashMediaServer4.5_x64.tar.gz
tar xvf FlashMediaServer4.5_x64.tar.gz
cd FMS_4_5_1_r484/
sudo ./installFMS
If you got the error of libcap is not installed, then
ln -s /lib/x86_64-linux-gnu/libcap.so.2 libcap.so.1
Installing the Cacti Server Monitor on Ubuntu 12.04 Cloud Server
inShare
What the Red Means
The lines that the user needs to enter or customize will be in red in this tutorial!
The rest should mostly be copy-and-pastable.
Introduction
Cacti is a network monitoring tool that creates customized graphs of server performance. It is accessed and managed through a web front-end. Cacti can be used to log and graph multiple cloud servers from a single, unified interface.
Table of Contents
I got the error while I am trying to send mail using postfix on ubuntu 12.04 LTS server.
I checked the mail logs, below are the logs:
Sep 26 02:02:12 git postfix/qmgr[17117]: 85F4E56C1E10: removed
Sep 26 02:17:23 git postfix/master[17113]: terminating on signal 15
Sep 26 02:17:23 git postfix/master[17271]: daemon started -- version 2.9.6, configuration /etc/postfix
Sep 26 02:17:44 git postfix/pickup[17274]: 5758F56C1E0F: uid=1000 from=<git@weboniselab.com>
Sep 26 02:17:44 git postfix/cleanup[17280]: 5758F56C1E0F: message-id=<5243d1884f8d3_18943f8eb79cde7c7042@git.mail>
Sep 26 02:17:44 git postfix/qmgr[17275]: 5758F56C1E0F: from=<>, size=885, nrcpt=1 (queue active)
Sep 26 02:17:44 git postfix/local[17282]: 5758F56C1E0F: to=<>, relay=local, delay=0.25, delays=0.01/0/0/0.24, dsn=5.1.1, status=bounced (unknown user: "")
Nagios check nrpe error could not complete ssl handshake
When you are tying to connect remote host from nagios server using check_nrpe you may get following error.
$ /usr/lib/nagios/plugins/check_nrpe -H remotehostIP
Output:
check_nrpe error could not complete ssl handshake