Category: UNIX Shell Scripts
Mac OSX Terminal – Turn off system sleep
If you use a Mac whether true server or a Mac Mini for a server this script below is very helpful to prevent the Mac from falling asleep and preventing the machine from being a server. If all of this still does not do it you can try to caffeinate…
Mac OSX Terminal – Get System Details
If you only have SSH access to a Mac OSX server and need some details on the machine you can use these commands to help. System_Profiler can get you a lot of the information you are likely looking for but it pulls a lot of information so initially you may…
RedHat – WordPress Install
These steps are based on RedHat Server 64-bit Download RedHat Install RedHat Configure RedHat Install WordPress Configure WordPress Backup/Restore MySQL Database
Ubuntu – Install GUI Desktop From Terminal
Make sure that you do the chown command otherwise you may not be able to login. Example would be this for username demo
Mac OS X – Show Desktop Image Path
Ever wonder where the image displayed on your desktop is located? Open Terminal and then run the first command to show the image path, then to hide the path again run the second command. Reference: http://osxdaily.com/2011/11/20/show-the-location-path-of-current-wallpaper-in-mac-os-x/
Mac OS X – Remove Users In Terminal/SSH
Recently I had to remove users from a Mac that was on a network only with SSH available. In this document I use the user name “administrator” as the account that I do the work in and would like to keep, your user name may be different. First we need…
TeamCity – Mac Agent Install
This is a work in progress at the moment. Start by opening Terminal If your network has a problem with SSL certificates you can try this command to download without checking the SSL certification. This is typically not suggested. Move the tar file to /tmp and Extract
WordPress – Backup & Restore
I have this in these two posts (CentOS – WordPress Install and Ubuntu – WordPress Install) but thought it may be best to create a separate post to help focus on this process. After writing this post I came across a site that I do not have SSH/CLI access to…
CentOS – WordPress Install
These steps are based on CentOS Server 64-bit Download CentOS Install CentOS Configure CentOS Install WordPress Configure WordPress Backup/Restore MySQL Database Download CentOS First we must download the CentOS DVD image, it is recommended to download straight from the official CentOS site (https://www.centos.org/download/). For this document we will use CentOS…
You must be logged in to post a comment.