Tag: linux

  • Locating crontab scheduled tasks in *nix

    If you need a list of all users crontab tasks, run this as root: for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done   will loop over each user name listing out their crontab. The crontabs are owned by the respective users so you won’t be able to see another user’s…

  • Find Symbolic Links in *nix

    Find all symbolic links on a linux OS: find / -type l -exec ls -l {} \; Or if you want to output it to a file: find / -type l -exec ls -l {} \; > /home/admin/symbolic_link_list.txt

  • SCP for practical uses

    A basic example: scp filename user@host.com:/path/where/you/want/it SCP The scp command allows you to copy files over ssh connections. This is pretty useful if you want to transport files between computers, for example to backup something. The scp command uses the ssh command and they are very much alike. However, there are some important differences. The…

  • Installing ColdFusion 11 Under cPanel

    First, you need your installation defaults, find the installer.properties example below: INSTALLER_UI=SILENT SILENT_LICENSE_MODE=full SILENT_SERIAL_NUMBER= SILENT_PREV_SERIAL_NUMBER= SILENT_INSTALLER_TYPE=standalone SILENT_INSTALL_ODBC=false SILENT_INSTALL_JNBRIDGE=false SILENT_INSTALL_ADMIN=false SILENT_INSTALL_SOLR=true SILENT_INSTALL_PDFG=true SILENT_INSTALL_FOLDER=/opt/coldfusion11 SILENT_ENABLE_PROD_SECURE_PROFILE=true SILENT_ENABLE_PROD_DEFAULT_PROFILE=false SILENT_ENABLE_DEV_PROFILE=false SILENT_ADMIN_IP=127.0.0.1 SILENT_JETTY_IP= SILENT_ADMIN_USERNAME=admin SILENT_ADMIN_PASSWORD=Adm1n$12 SILENT_ENABLE_RDS=false SILENT_RDS_PASSWORD=Adm1n$12 SILENT_JETTY_USERNAME=admin SILENT_JETTY_PASSWORD=Adm1n$12 SILENT_CONTEXT_ROOT= SILENT_AUTO_ENABLE_UPDATES=true SILENT_MIGRATE_COLDFUSION=false SILENT_PREV_CF_MIGR_DIR=/opt/coldfusion10 ENABLE_RDS=false ENABLE_WSRP=false ENABLE_JSDEBUG=false ENABLE_CFR=false ENABLE_CFSWF=false ENABLE_CFFORMS=false With this file, you can install ColdFusion 11 with the following: ./ColdFusion_11_WWEJ_linux64.bin…

  • ColdFusion 11 init.d script

    I recently installed ColdFusion 11 on RHEL, but the cfinit script did not exist. I then pulled up a ColdFusion 10 init script, updated the CF10-CF11 bits, corrected the coding error for the CFSTATUS section particular to my OS and have the script below: #!/bin/bash # chkconfig: 345 90 14 # description: starts the ColdFusion…

  • Common (RHEL Red Hat, Ubuntu Server, and CentOS) Network Interface Configuration Locations and Basic Format

    Red Hat Enterprise Linux Server release 5.3 (Tikanga) File found in: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=%IP Address% NETMASK=%Netmask% GATEWAY=%Gateway% ONBOOT=yes Ubuntu Server 10.04 LTS File found in: /etc/network/interfaces auto eth0 iface eth0 inet static address %IP Address% netmask %Netmask% gateway %Gateway% CentOS release 5.8 (Final) File found in: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=%IP Address% NETMASK=%Netmask% GATEWAY=%Gateway% ONBOOT=yes