Technical References: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 38: Line 38:
: (http://ubuntuforums.org/showthread.php?t=822084) http://stackoverflow.com/questions/2783313/how-can-i-get-around-mysql-errcode-13-with-select-into-outfile
: (http://ubuntuforums.org/showthread.php?t=822084) http://stackoverflow.com/questions/2783313/how-can-i-get-around-mysql-errcode-13-with-select-into-outfile
: http://stackoverflow.com/questions/23262403/phpmyadmin-saying-the-used-command-is-not-allowed-with-this-mysql-version
: http://stackoverflow.com/questions/23262403/phpmyadmin-saying-the-used-command-is-not-allowed-with-this-mysql-version
; Setup iptables for To
: 2/13/2017
My solution was to add
  iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080
to a boot script (generally along with something to run the server) and start that through cron.
; VPN setup
: 11/30/2017
* https://www.bestvpnz.com/how-to-set-up-l2tp-ipsec-vpn-on-linux-networkmanager-strongswan/
** Look at the comments, the instructions are out of date.
* https://askubuntu.com/questions/934350/connect-to-l2tp-over-ipsec
; Brother printer setup
: 2/6/2018
: http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as&os=128
; Read-only USB stick
: 3/13/2018
: https://askubuntu.com/questions/563764/usb-devices-showing-as-read-only
; Out of Space on linux server
: 7/24/2018
: http://wisercoder.com/ubuntu-apt-get-f-fails-no-space-left-on-device-apt-get-autoremove-doesnt-work/
  dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs dpkg --remove
; gopls not working
: 1/19/21
: GO111MODULE=auto go get golang.org/x/tools/gopls
: https://github.com/golang/go/issues/33011


== Also See ==
== Also See ==

Latest revision as of 12:09, 19 January 2021

I saw the Matt Mercica does this and I liked it. When ever he uses a technical reference he writes down what it was, when he used and if it worked.

Keywords: documentation, documentations, resources

Mount FTP as File System
4/13/2013
http://www.ubuntugeek.com/how-to-mount-ftp-folder-to-local-directory-in-ubuntu.html
It worked but I ended up using "curlftpfs#adamcolt:PASSWORD@ftp.adamcolton.net /home/adam/dot5 fuse allow_other,uid=adam,gid=0 0 0" rather than the one from the article
htaccess config
5/20/2013
https://www.digitalocean.com/community/articles/how-to-use-the-htaccess-file
wget
5/28/2013
http://superuser.com/questions/389168/wget-download-all-files-but-not-preceding-folders
sudo wget -l 20 -np -nH -r --cut-dirs 3 "ftp://user:password@host.tld/dir1/dir2/dir3"
-l 20 sets the max depth to 20, by default it is 5, not high enough for many frameworks (such as Wordpress)
unable to resolve host
7/23/2014
https://forums.aws.amazon.com/thread.jspa?threadID=104765
add "127.0.1.1 ip-123-45-6-78" to host file
Rinstall Grub
9/8/2014
http://community.linuxmint.com/tutorial/view/245
Enable mod_rewrite
9/22/2014
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04
For Sub-domain
http://stackoverflow.com/questions/12448912/apache-mod-rewrite-for-laravel
Add "AllowOverride All" to the directive
Enable INFILE for mysql
5/27/2015
(http://ubuntuforums.org/showthread.php?t=822084) http://stackoverflow.com/questions/2783313/how-can-i-get-around-mysql-errcode-13-with-select-into-outfile
http://stackoverflow.com/questions/23262403/phpmyadmin-saying-the-used-command-is-not-allowed-with-this-mysql-version
Setup iptables for To
2/13/2017

My solution was to add

 iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080

to a boot script (generally along with something to run the server) and start that through cron.

VPN setup
11/30/2017
Brother printer setup
2/6/2018
http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as&os=128
Read-only USB stick
3/13/2018
https://askubuntu.com/questions/563764/usb-devices-showing-as-read-only
Out of Space on linux server
7/24/2018
http://wisercoder.com/ubuntu-apt-get-f-fails-no-space-left-on-device-apt-get-autoremove-doesnt-work/
 dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs dpkg --remove
gopls not working
1/19/21
GO111MODULE=auto go get golang.org/x/tools/gopls
https://github.com/golang/go/issues/33011

Also See