Category: Computer Technology
A variety of computer technology
Insert source code in Google Docs
First, you’d better disable the auto-capitilization as follow: go to Tools > Preferences and UN-check “Automatically capitalize words.” then, Google docs has many add-on. try to use the Code Pretty Reference
Linux: HowTo Identify Server ECC Memory Modules
You can get this information by visiting your BIOS setup menu. Another option is to use dmidecode command to dump bios memory information from a shell prompt: # dmidecode –type 16 # dmidecode 2.11 SMBIOS 2.5 present. Handle 0x0016, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Single-bit ECC Maximum Capacity: 64 GB Error Information Handle: Not Provided Number…
OwnCloud Change Data Directory
Stop your webserver Check if your config.php already contains a datadirectory entry. If it does, remember that location (let’s assume it’s ‘/var/www/owncloud/data’ for now). Change or create the “datadirectory” entry in config.php file, so that it points to wherever you want to have your data from now on. Assuming the directory you want to move the data folder to is ‘/media/usbdisk/ocdata’, your config.php should look like this after the change:…
How do I find out what ports are listening on?
sudo lsof -i -P | grep -i “listen”
OwnCloud cURL is using an outdated NSS version (NSS/3.19.1 Basic ECC)
Enable Web DAV nano /usr/local/apache/conf/httpd.conf #Include conf/extra/httpd-dav.conf (Uncomment This Line) #LoadModule dav_module modules/mod_dav.so (Uncomment This Line) #LoadModule dav_fs_module modules/mod_dav_fs.so (Uncomment This Line) #LoadModule auth_digest_module modules/mod_auth_digest.so (Uncomment This Line) nano /usr/local/apache/conf.d/owncloud.conf <Limit GET POST> order allow,deny allow from all </Limit> <Limit PUT DELETE> order allow,deny allow from all </Limit> Save and restart apache service httpd restart Upgrade CURL rpm -Uvh http://nervion.us.es/city-fan/yum-repo/rhel6/x86_64/city-fan.org-release-1-13.rhel6.noarch.rpm yum clean all yum install libcurl and then restart the…
OwnCloud Enable MS Office Online Edit Support
1. Previews currently are only supported on non-windows systems 2. LibreOffice/OpenOffice needs to be installed Ubuntu/Debian -> apt-get install –no-install-recommends libreoffice-writer CentOS -> http://diegolamonica.info/how-to-make-l … entos-6-3/ 3. The correct path to your libreoffice / openoffice binary needs to be configured (check the manual of your system how to find it) 4. Make sure that the user running your webserver/PHP process is allowed to execute this binary 5. The PHP functions…
WD MyCloud Install OwnCloud
echo deb http://ftp.us.debian.org/debian/14 jessie main >> /etc/apt/sources.listapt-get update apt-get install php5 php5-gd service apache2 restart apt-get install php5-mcrypt php5-imagick /etc/init.d/apache2 restart nano /etc/php5/apache2/php.ini Ctrl + w and type ‘timezone’ [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone5 date.timezone = Asia/Seoul —————————————————————————— and type like above Ctrl + O , enter, Ctrl + W /etc/init.d/apache2 restart > /etc/apt/sources.list echo deb http://ftp.us.debian.org/debian/ wheezy main…
FATAL: Module ip_tables not found.
FATAL: Module ip_tables not found. iptables v1.4.14: can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. first try Code: sudo apt-get update then Code: sudo apt-get upgrade Reference
letsencrypt
Download the Let’s Encrypt Client sudo yum install epel-release sudo yum install python-certbot-apache Set Up the SSL Certificate certbot –apache certonly Reorganizing your Virtual Hosts You can Set the following path in the /etc/httpd/conf.d/ssl.conf file: SSLCertificateFile /etc/letsencrypt/live/caock.net/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/caock.net/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/caock.net/chain.pem IF you are using VirtualHost, you can set it in your VirtualHost <VirtualHost *:443> ServerName caock.net DocumentRoot /var/www/caock.net ErrorLog /var/log/apache/caock.net/error.log CustomLog /var/log/apache/caock.net/access.log combined SSLEngine on SSLCertificateFile /etc/letsencrypt/live/caock.net/cert.pem SSLCertificateKeyFile…
Install and Update OpenSSL on CentOS 6 / CentOS 7
1. Get the current version with “openssl version” and “yum info openssl” command : # openssl version OpenSSL 1.0.1e-fips 11 Feb 2013 # yum info openssl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * Webmin: download.webmin.com * base: centos.netonboard.com * epel: ftp.cuhk.edu.hk * extras: centos.netonboard.com * updates: ossm.utm.my Installed Packages Name : openssl Arch : x86_64 Version : 1.0.1e Release : 30.el6_6.7 Size : 4.0 M Repo :…
- 1
- 2