Update system packages -- will migrate system forward to CentOS 5.10. (Optional?)
$ sudo yum updateInstall the EPEL Repo:
| <!-- Support for Twitter's New API --> | |
| <div id="comments"> | |
| <a class="twitter-timeline" width="100%" height="300" href="https://twitter.com/search?q=<?php echo urlencode($post_link) ?>" data-widget-id="NEW_TWITTER_WIDGET_ID" data-chrome="transparent noborders">Comments:</a> | |
| <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
| </div> |
| user@lubuntubox:~$ sudo apt-get remove firefox | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following extra packages will be installed: | |
| thunderbird <----------------------- WHAT???? | |
| Suggested packages: | |
| thunderbird-gnome-support ttf-lyx | |
| The following packages will be REMOVED: | |
| firefox |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| /** | |
| * @OnlyCurrentDoc Limits the script to only accessing the current document. | |
| */ | |
| var now_date = new Date(); | |
| // Menu Titles | |
| var title = [ | |
| Utilities.formatDate(now_date, "GMT", "MM/dd/yyyy"), | |
| Utilities.formatDate(now_date, "GMT", "yyyy-MM-dd"), |
| server { | |
| listen 80; | |
| root /var/www/YOUR_DIRECTORY; | |
| index index.php index.html index.htm; | |
| ################################################### | |
| # Change "yoururl.com" to your host name | |
| server_name yoururl.com; |
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |
| #!/bin/sh | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis.pid |