This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
workgroup = WORKGROUP | |
server string = %h server (Samba) | |
map to guest = Bad User | |
obey pam restrictions = Yes | |
pam password change = Yes | |
passwd program = /usr/bin/passwd %u | |
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . | |
unix password sync = Yes | |
syslog = 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen [::]:80; | |
server_name "" localhost 127.0.0.1; | |
access_log /var/log/nginx/test.access.log; | |
root /home/crowdpark/test/htdocs; | |
location / { | |
index index.php index.html; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function test_setup () { | |
PASS=1 | |
for b in \ | |
/usr/bin/ruby \ | |
/usr/bin/make \ | |
/usr/bin/gcc | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
join_buffer_size = 4M | |
character-set-server = utf8 | |
table_cache = 512 | |
table_definition_cache = 2048 | |
table_open_cache = 2048 | |
innodb_file_per_table | |
innodb_additional_mem_pool_size = 2M | |
skip-ssl | |
innodb = ON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
daemon=beanstalkd | |
executable=/usr/local/bin/$daemon | |
port=11300 | |
waldir=/usr/local/var/beanstalkd | |
logfile=/usr/local/var/log/beanstalkd.log | |
interface="127.0.0.1" | |
params="-l $interface -p $port -b $waldir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vim /etc/postfix/main.cf | |
myhostname = local.yourdomain.tld | |
mydomain = yourdomain.tld | |
myorigin = $mydomain | |
relayhost = [smtp.your-isp.tld]:587 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 0.0.0.0:80; | |
server_name servername.domain.tld; | |
root /home/project/htdocs; | |
location / { | |
index index.php index.html; | |
try_files $uri $uri/ /index.php; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Which SSL certs are uploaded to Amazon: | |
$ iam-servercertlistbypath | |
Which LBs are running: | |
$ elb-describe-lbs --region eu-west-1 | |
Now update the LB: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
unix charset = UTF8 | |
workgroup = XXX | |
netbios name = XXX | |
server string = %h server (Samba, Ubuntu) | |
interfaces = lo eth0 | |
bind interfaces only = Yes | |
security = SHARE | |
obey pam restrictions = Yes | |
guest account = www-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
unix charset = UTF8 | |
workgroup = XXX | |
netbios name = XXX | |
server string = %h server (Samba, Ubuntu) | |
interfaces = lo, eth2, 192.168.42.17/24 | |
bind interfaces only = Yes | |
security = USER | |
Map to guest = Bad User | |
obey pam restrictions = Yes |
OlderNewer