Related cards:
Setup Pentaho ETL server Linux
Todo
- rotate logs
- startup script for carte server
Software
- Setup centos 6.5
- set hostname in /etc/hosts
- start sshd
- turn off iptables
- add EPEL repo
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release...
Add MongoDB 2.4 user
Following good practice we put user credentials into the non-replicated admin
database. Note the empty role array for admin
.
$ use admin
$ db.auth('root','***')
$ db.addUser({user:'new_user',pwd:'***',otherDBRoles: { peachy_prod: ['read']...
Grep lines not starting with ; or [ first ^ for start, second ^ for "not"
grep "^[^;[]" /etc/php.ini | less
Rsync tips
rsync --partial --progress --rsh=ssh user@host:remote_file local_file
https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps
Using the Job Control of bash to send the process into the background
- Ctrl+Z to stop (pause) the program and get back to the shell
-
bg
to run it in the background. -
disown -h [job-spec]
where [job-spec] is the job number (like %1 for the first running job; find about your number with the jobs command) so ...
Posted by Andreas Wagner to Toolbox Cash on Go's deck (2015-06-15 13:45)