- Homebrew on the Remote Mac (if not, just install it via SSH)
# ssh to the remote Mac machine, then:
brew install caskroom/cask/brew-cask
brew cask install teamviewer
# TN START GZIP COMPRESSION | |
<IfModule mod_gzip.c> | |
mod_gzip_on Yes | |
mod_gzip_dechunk Yes | |
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ | |
mod_gzip_item_include handler ^cgi-script$ | |
mod_gzip_item_include mime ^text/.* | |
mod_gzip_item_include mime ^application/x-javascript.* | |
mod_gzip_item_exclude mime ^image/.* | |
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* |
1) Check in /etc/vsftpd/vsftpd.conf | |
pam_service_name=??? | |
2) Check pam config in /etc/pam.d/??? | |
Eg: | |
auth required /usr/lib64/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login | |
account required /usr/lib64/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login | |
3) Check user config to set home directory at /etc/vsftpd/vsftpd.conf | |
user_config_dir=/etc/vsftpd/vsftpd_user_conf/ |
1) Config check | |
apachectl -t | |
2) Restart apache | |
apachectl graceful | |
OR | |
apachectl -k graceful |
<meta http-equiv=Content-Type content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"> |
CREATE USER 'new_user'@'%' IDENTIFIED BY 'new_password'; | |
GRANT ALL PRIVILEGES ON your_database.* TO new_user@'%' IDENTIFIED BY 'new_password'; |
1) Create 2048bit key | |
openssl genrsa -out file_name.key 2048 | |
2) Create CSR | |
openssl req -new -key file_name.key -out file_name.csr |
openssl x509 -inform DER -in certificate.cer -out certificate.crt | |
# if error, try this: | |
openssl x509 -inform PEM -in certificate.cer -out certificate.crt | |
# With nginx SSL setting, it only uses .key and .pem | |
# build this .pem file with .crt and then append .cer (SSL chain) into it | |
cat your_file.crt your_file.cer > your_file.pem |
# CentOS 6 | |
############################# | |
# Accept port 60006 | |
iptables -I INPUT -p tcp -m tcp --dport 60006 -j ACCEPT | |
# Save current rules | |
service iptables save | |
# Clear input chain | |
sudo iptables -F INPUT |
Tip, if you’e using @appcelerator #Titanium and getting: | |
“Unable to find any non-expired Ad Hoc or Enterprise Ad Hoc provisioning profiles that match the app id” | |
Check your ~/.titanium/config.json and ensure you haven’t set a default cert in the iOS section. |