Find large files from the command line
To find large files on the command line: find / -type f -size +10240k -exec ls -lh {} \; | awk ‘{ print size $5 “, location ” $9}’ This […]
To find large files on the command line: find / -type f -size +10240k -exec ls -lh {} \; | awk ‘{ print size $5 “, location ” $9}’ This […]
I use a few Font Awesome icons in my Atom editor, so I have a global install on my desktop sudo apt-get install fonts-font-awesome
If you want to execute a command in DOS and then continue without waiting on results of the call, use: start command-or-filename You can create a single batch file that calls […]
Ubuntu 14.04 provided modapache2_mod_proxy_html as an option to pass requests to Apache through to something like NodeJS running on a different port. However, this package does not exist for 16.04! […]
To resolve the mbstring extension not found error with phpMyAdmin, enable the extension. Open your php.ini file and ensure that extensions are enabled, and pointing to the correct directory: extension_dir […]
When installing PHP on Windows, I used the manual install method. After installing, there are two sample php.ini files in the install directory. If you want a global PHP configuration […]
When installing PHP on Windows Server, I set up a simple ECHO page to test the install. It worked fine. I tried a simple phpinfo() file, and got a 500 […]
Grab the installer: 64 bit: wget https://downloads.plex.tv/plex-media-server/1.3.4.3285-b46e0ea/plexmediaserver_1.3.4.3285-b46e0ea_amd64.deb 32 bit: wget https://downloads.plex.tv/plex-media-server/1.3.4.3285-b46e0ea/plexmediaserver_1.3.4.3285-b46e0ea_i386.deb Then install manually sudo dpkg -i {the filename} The application should be available at http://{IP ADDRESS / DNS name}:32400/manage/index.html Restart the […]
I manage some headless (command line) servers, so I need a way to remove old kernels without a GUI. I haven’t written a script to do it yet, since I […]
Edit the wp-config.php file and add: define(‘FS_METHOD’, ‘direct’) Changing the owner will stop the prompt, but will sometimes break customization and previews. DO NOT do: cd /var/www/html/siteFolder sudo chown -R […]