My Friends: david, bangg___xx
My Blogs Next Page


david Let's Encrypt Closed Beta Invite - Subscribe
I've been waiting over 2 years for my invite to Let's Encrypt. However just a few minutes ago I received my invite!



Help and Known Issues

You can get help with the client and Let's Encrypt at:

https://community.letsencrypt.org/

Known issues with the Python client can be tracked here:

https://github.com/letsencrypt/letsencrypt/issues

Please search thoroughly for existing issues before filing a new report!

Renewals and Lifetimes

Certificates from Let's Encrypt are valid for 90 days. We recommend renewing them every 60 days to provide a nice margin of error. As a beta participant, you should be prepared to manually renew your certificates at that time. As we get closer to General Availability, we hope to have automatic renewal tested and working on more platforms, but for now, please play it safe and keep track.

Helpful Information

Let's Encrypt maintainence events are posted on https://letsencrypt.status.io/ and Twitter (@letsencrypt_ops). If you need help, both the Let's Encrypt community at https://community.letsencrypt.org/ and #letsencrypt on irc.freenode.org are excellent sources of assistance.

If there are updates for Beta program participants, they will be posted at the community site at:

https://community.letsencrypt.org/t/beta-program-announcements/1631.

Finally

On behalf of everyone involved in Let's Encrypt, welcome to the future of the encrypted web.

Note: Please do not respond to this email. This is a one-time notification about your acceptance into the Beta Program. You will not receive further emails about our Beta Program unless you send in another application.

https://letsencrypt.readthedocs.org/en/latest/using.html#installation-and-usage
0 Comments
Mood: tired
Music: No music

david php5 (5.4.45-0+deb7u2) wheezy-security; urgency=medium Nov 15th, 2015 6:51:46 pm - Subscribe
As if you didn't know by now... (Raspberry Pi Notice)



* PHP 5.4 has reached end-of-life on 14 Sep 2015 and as a result there
will be no more new upstream releases. The security support of PHP
5.4 in Debian will be best effort only and you are strongly advised
to upgrade to latest stable Debian release that includes PHP 5.6 that
will reach end of security support on 28 Aug 2017.

-- Ondřej Surý Sun, 04 Oct 2015 17:05:37 +0200
0 Comments
Mood: good
Music: No music

david Linux Bash - Command Editing Shortcuts Nov 15th, 2015 3:04:10 pm - Subscribe
Here are some linux bash shortcut commands that I plan on getting use to using daily. Some I already use every now and again, others I do not. This is a nice reference sheet for myself.

  • Ctrl + a – go to the start of the command line
  • Ctrl + e – go to the end of the command line
  • Ctrl + k – delete from cursor to the end of the command line
  • Ctrl + u – delete from cursor to the start of the command line
  • Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
  • Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
  • Ctrl + xx – move between start of command line and current cursor position (and back again)
  • Alt + b – move backward one word (or go to start of word the cursor is currently on)
  • Alt + f – move forward one word (or go to end of word the cursor is currently on)
  • Alt + d – delete to end of word starting at cursor (whole word if cursor is at the beginning of word)
  • Alt + c – capitalize to end of word starting at cursor (whole word if cursor is at the beginning of word)
  • Alt + u – make uppercase from cursor to end of word
  • Alt + l – make lowercase from cursor to end of word
  • Alt + t – swap current word with previous
  • Ctrl + f – move forward one character
  • Ctrl + b – move backward one character
  • Ctrl + d – delete character under the cursor
  • Ctrl + h – delete character before the cursor
  • Ctrl + t – swap character under cursor with the previous one

    Source:
    Bash Shortcuts For Maximum Productivity
  • 0 Comments
    Mood: good
    Music: No music

    david My Keyboard Shortcuts for Gmail Nov 15th, 2015 1:31:50 pm - Subscribe
    This is a reference for myself, these are the most used Gmail shortcuts that I use on a daily bases.



    Keyboard Shortcuts for Gmail
  • Keyboard key: c | Compose | Allows you to compose a new message. Shift + c allows you to compose a message in a new window.
  • Keyboard key: / | Search | Puts your cursor in the search box.
  • Keyboard key: k | Move to newer conversation | Opens or moves your cursor to a more recent conversation. You can hit Enter to expand a conversation.
  • Keyboard key: j | Move to older conversation | Opens or moves your cursor to the next oldest conversation. You can hit Enter to expand a conversation.
  • Keyboard key: n | Newer message | In 'Conversation view', moves your cursor to the newer message. You can hit Enter to expand or collapse a message.
  • Keyboard key: # | Delete | Moves the conversation to Trash.
  • Keyboard key: z | Undo | Reverses your previous action, if possible (works for actions with an 'undo' link)

    Source:
    Keyboard shortcuts for Gmail
  • 0 Comments
    Mood: Good
    Music: No Music

    david How to Unblock your Website from Facebook & Instagram Nov 9th, 2015 10:08:33 pm - Subscribe
    Has your website been blocked from Facebook or Instagram? Are you interested in getting your domain off the block list? Follow the instructions below.

    Good evening guys, I got a contact form request from davidpolanco.com that asked the social networking question:

    "Hey David, not sure if you can help me but my website has been blocked from Facebook and Instagram. I am pretty sure it's because of a virus/malware noticed that I received from Google Diagnostics regarding my site. Well anyways I wanted to know if you had any information on how I could remove my website from the block list on Facebook and Instagram, any information regarding this would be greatly appreciated."

    Facebook Blocked Website


    Hey there, yes you can unblock your website from Facebook however I am not sure about Instagram, but since Instagram is owned by Facebook I am pretty sure the 2 networks will communicate with each other. Once the virus/malware is removed head over to Facebook's Website or Content Blocked page. I have provided a link below. Filling out this form will notify Facebook and will begin the unblock process of your website. The form is fairly short, however I would be prepared to wait 7 to 10 business days to be delisted as a nefarious site.

    Facebook or Website Content Blocked:
    https://www.facebook.com/help/contact/244560538958131
    0 Comments
    Mood: good
    Music: DJ Doboy - Vocal Volume 3

    david Pluto TV Oct 18th, 2015 2:22:00 pm - Subscribe
    I found this little gem over the weekend, it basically aggregates the Internets video and movies and places them in to a nice channel line up.



    Pluto TV - offers over 100 channels of the best shows and videos on your desktop, mobile device or tablet. Watch sports clips, music videos, science, fashion and more!



    External Link:
    Pluto TV: Entertaining the planet.
    0 Comments
    Mood: good
    Music: none

    david Learning Git the Easy Way Jul 20th, 2015 12:23:58 pm - Subscribe
    This week in training we are learning Git.

    Currently I have my Mac Pro setup with Git, and so far I have 3 files in my Git repository.
  • file1
  • file2
  • file3

    I have gone as far as to make changes to them, commit them, and read the logs on my changes. Here are some helpful tools that we used to get started.

    1. Git Immersion - GIT IMMERSION IS A GUIDED TOUR THAT WALKS THROUGH THE FUNDAMENTALS OF GIT, INSPIRED BY THE PREMISE THAT TO KNOW A THING IS TO DO IT.

    2. Code School - Try Git - Got 15 minutes and want to learn Git?

    3. Git, What is Git? - Git Basics Episode 2
    4. Git - the simple guide - just a simple guide for getting started with git. no deep shit wink.gif
  • 0 Comments
    Mood: happy
    Music: No music

    david Reading Man Pages When Linux Server Goes Down Jul 12th, 2015 9:44:02 pm - Subscribe
    I can totally relate with this originally posted by NixCraft.

    "Me Reading man pages, when the Linux server is down and boss is asking to fix it ASAP LOL."
    0 Comments
    Mood: happy
    Music: No Music

    david IT Crowd on Supporting Internal Employees Jun 14th, 2015 9:52:29 pm - Subscribe
    If you are here, chances are it's because I have linked you. Enjoy!

    0 Comments
    Mood: awesome
    Music: Runawaydroid - Track 4

    david How to Configure VirtualBox with a Static IP in Linux Feb 18th, 2015 7:17:42 pm - Subscribe
    In this entry I will go over how to easily configure VirtualBox and assign your linux machine a static ip.

    I am using GNU/Linux CentOs 6.5 as my disto. you may be using something like Ubuntu and if so then that is ok. The main focus here is how to allow VirtualBox to communicate through your network interface card. Once that is completed you can configure your linux machine via it's GUI or the CLI.

    Let's get started!
    1. Open VirtualBox - I am going to assume that you have your distro already installed on VirtualBox.
    2. Click on Network or right click on your distro and go to settings and choose Network.
    3. Under Adapter 1 - Checkmark to enable adapter
    4. Attached to: Choose Bridge Adapter
    5. Name: Choose how you are connected to the internet, you will see a list of adapter names. If you are connected via ethernet (cable) chose that one, or if you are connected to the internet via wifi choose that one. (I am connected via en0: Wi-Fi (Air Port)
    6. Now click on the down arrow
    7. Adapter type: Choose MT Desktop
    8. Promiscuous mode: Choose Allow VM's
    9. Click Ok
    10. Start your VM

    Now you will need to configure your network setting on your Linux VM. I won't go into detail, but my commands are like this.

    $ vim /etc/sysconfig/network-scripts/ifconfig-eth0

    DEVICE=eth0
    BOOTPROTO=static
    IPADDR=192.168.1.88
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.1
    ONBOOT=yes
    DNS1=8.8.8.8
    DNS2=8.8.4.4

    Be sure to also check your DNS at /etc/resolv.conf

    $ vim /etc/resolv.conf

    DNS1=8.8.8.8
    DNS2=8.8.4.4

    That's pretty much it. If you need info on how to assign a static IP in a Debian based system such as Ubuntu follow this documentation and search for Static IP Address Assignment.
    0 Comments
    Mood: good
    Music: Study Music - Music To Make You Smarter

    david Advanced Renamer - Batch Rename Utility Feb 1st, 2015 2:45:41 pm - Subscribe
    A small entry and thank you to a freeware project for Windows.

    I have been working on a project for a client at work for a couple of months now, and one of the tasks was to rename a large amount (634 pdf files) from one name to another.

    I have used many renaming tools before, but none like Advanced Renamer. Advanced Renamer made the task on my Windows Machine so easy, so if you are in need of a truly free renaming tool check out the Advanced Renamer project.

    Source
    Advanced Renamer - Batch Rename Utility
    0 Comments
    Mood: good
    Music: No Music

    david How to Install Linux Screen for Remote Teaching Jan 5th, 2015 12:47:23 am - Subscribe
    This entry explains how to install the program on linux called screen. Screen can be used to help others via the command line in real time.

    So what is screen? Screen will allow you to to view what you are typing in real time. It allows one user to stop the other and ask why they are doing what they are doing in the CLI in real time.



    Step by Step Install and Configuration of Screen for CentOS 6.5

    1. yum -y install screen
    2. Edit /etc/screenrc
    3. Add the following snippet of lines to screenrc:

    ###Multi-user Mode###
    multiuser on
    acladd username
    aclchg username
    acldel username
    ###End Multi-user Mode###

    4. Setuid screen binary: chmod u+s /usr/bin/screen
    5. Create a user: useradd david
    6. Change the password: passwd david
    7. Share the username "david" and password with your friend or person assisting you.
    8. Via the CLI type: screen
    9. Have your friend / assistant type: screen
    10. FYI: If you need help type: screen --help
    11. Now list the screens: screen -ls
    12. Finally have your friend attach to your pid & username. Example: screen -x david/1705.pts-0.dpolanco
    13. Complete!

    Source:
    A Basic Understanding Of screen On Centos
    0 Comments
    Mood: tired

    david 10 Daily Habits That Will Change Your Life -Challenge Accepted Nov 12th, 2014 5:02:20 pm - Subscribe
    Here are a list of things that I will be doing for the next 2 weeks. Most of this list I do already, but I am going to follow Ben Rodrigue input and do them all.

    1. Wake up an hour earlier than you have to.
    2. Quiet your mind for 10 minutes.
    3. An attitude of gratitude.
    4. Write in a Journal.
    5. Write a list
    6. Exercise
    7. Do Affirmations
    8. Do something nice
    9. Take on a big task
    10. Share these ideas with other people

    Read more about each one of these on Ben's Blog below, and leave a comment if you have questions or comments.

    Source: 10 Daily Habits that will change your life. -seriously
    0 Comments
    Mood: good
    Music: di.fm

    david What is lsof Command in Linux? Oct 21st, 2014 10:48:15 pm - Subscribe
    This entry explains the user] of the lsof command which stands for, List of Open Files...this can be really useful if you would like to see what files are currently running for the instance of a particular user.

    When running lsof it is always a good idea to specify what you are actually looking for, simply running lsof will give you a slew of data much of it will not be useful to you, especially if you are trying to stop a command that is you to properly administer your linux system.

    If you can remember I created an entry called Lost Disk Space on Linux Due to Stop Command. In which I was backing up some critical web dev files, not realizing that I was going to be running out of disk. Take a look at that entry, it gives resolution along with the proper use of the lsof command when things go wrong.

    Here are a couple of lsof commands that you can use that will help you make heads or tales of what process is doing what, at what time, and at what location.

  • What process is running on what port: lsof -i tcp:80
    quote:
    Output
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    apache2 2493 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    apache2 2586 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    apache2 2587 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    apache2 13376 root 5u IPv6 2015771 0t0 TCP *:http (LISTEN)


  • List all network connections that are listening and established: lsof -i
    quote:
    Output
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    rpcbind 1495 root 6u IPv4 2196 0t0 UDP *:sunrpc
    rpcbind 1495 root 7u IPv4 2199 0t0 UDP *:820
    rpcbind 1495 root 8u IPv4 2200 0t0 TCP *:sunrpc (LISTEN)
    rpcbind 1495 root 9u IPv6 2203 0t0 UDP *:sunrpc
    rpcbind 1495 root 10u IPv6 2217 0t0 UDP *:820
    rpcbind 1495 root 11u IPv6 2218 0t0 TCP *:sunrpc (LISTEN)
    rpc.statd 1527 statd 4u IPv4 2263 0t0 UDP localhost:855
    rpc.statd 1527 statd 7u IPv4 2272 0t0 UDP *:45172
    rpc.statd 1527 statd 8u IPv4 2276 0t0 TCP *:34261 (LISTEN)
    rpc.statd 1527 statd 9u IPv6 2280 0t0 UDP *:39721
    rpc.statd 1527 statd 10u IPv6 2284 0t0 TCP *:58694 (LISTEN)
    sshd 2322 root 3u IPv4 2461758 0t0 TCP 192.168.1.111:ssh->192.171.117.210:60932 (ESTABLISHED)
    apache2 2493 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    ntpd 2574 ntp 16u IPv4 3329 0t0 UDP *:ntp
    ntpd 2574 ntp 17u IPv6 3330 0t0 UDP *:ntp
    ntpd 2574 ntp 18u IPv4 3337 0t0 UDP localhost:ntp
    ntpd 2574 ntp 19u IPv4 3338 0t0 UDP 192.168.1.111:ntp
    ntpd 2574 ntp 20u IPv6 3339 0t0 UDP ip6-localhost:ntp
    ntpd 2574 ntp 21u IPv6 3340 0t0 UDP [fd08:46b3:7999:0:ba27:ebff:fe98:69d7]:ntp
    ntpd 2574 ntp 22u IPv6 3341 0t0 UDP [2605:6000:170c:400b:ba27:ebff:fe98:69d7]:ntp
    ntpd 2574 ntp 23u IPv6 3342 0t0 UDP [fe80::ba27:ebff:fe98:69d7]:ntp
    apache2 2586 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    apache2 2586 www-data 25u IPv6 2470006 0t0 TCP 192.168.1.111:http->c-98-204-186-50.hsd1.md.comcast.net:62561 (FIN_WAIT2)
    apache2 2587 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    miniserv. 2675 root 6u IPv4 156038 0t0 TCP *:55500 (LISTEN)
    miniserv. 2675 root 7u IPv4 156039 0t0 UDP *:55500
    master 2776 root 12u IPv4 3758 0t0 TCP *:smtp (LISTEN)
    master 2776 root 13u IPv6 3760 0t0 TCP *:smtp (LISTEN)
    apache2 13376 root 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    mysqld 19639 mysql 4u IPv4 501203 0t0 TCP localhost:mysql (LISTEN)
    sshd 21336 root 3u IPv4 502704 0t0 TCP *:ssh (LISTEN)
    sshd 21336 root 4u IPv6 502706 0t0 TCP *:ssh (LISTEN)
    sshd 32495 root 3u IPv4 2288516 0t0 TCP 192.168.1.111:ssh->192.168.1.102:56131 (ESTABLISHED)


  • What user is viewing a specific command or file: lsof -i -u david
    quote:
    Output
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    rpcbind 1495 root 6u IPv4 2196 0t0 UDP *:sunrpc
    rpcbind 1495 root 7u IPv4 2199 0t0 UDP *:820
    rpcbind 1495 root 8u IPv4 2200 0t0 TCP *:sunrpc (LISTEN)
    rpcbind 1495 root 9u IPv6 2203 0t0 UDP *:sunrpc
    rpcbind 1495 root 10u IPv6 2217 0t0 UDP *:820
    rpcbind 1495 root 11u IPv6 2218 0t0 TCP *:sunrpc (LISTEN)
    rpc.statd 1527 statd 4u IPv4 2263 0t0 UDP localhost:855
    rpc.statd 1527 statd 7u IPv4 2272 0t0 UDP *:45172
    rpc.statd 1527 statd 8u IPv4 2276 0t0 TCP *:34261 (LISTEN)
    rpc.statd 1527 statd 9u IPv6 2280 0t0 UDP *:39721
    rpc.statd 1527 statd 10u IPv6 2284 0t0 TCP *:58694 (LISTEN)
    sshd 2322 root 3u IPv4 2461758 0t0 TCP 192.168.1.111:ssh->192.171.117.210:60932 (ESTABLISHED)
    apache2 2493 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    ntpd 2574 ntp 16u IPv4 3329 0t0 UDP *:ntp
    ntpd 2574 ntp 17u IPv6 3330 0t0 UDP *:ntp
    ntpd 2574 ntp 18u IPv4 3337 0t0 UDP localhost:ntp
    ntpd 2574 ntp 19u IPv4 3338 0t0 UDP 192.168.1.111:ntp
    ntpd 2574 ntp 20u IPv6 3339 0t0 UDP ip6-localhost:ntp
    ntpd 2574 ntp 21u IPv6 3340 0t0 UDP [fd08:46b3:7999:0:ba27:ebff:fe98:69d7]:ntp
    ntpd 2574 ntp 22u IPv6 3341 0t0 UDP [2605:6000:170c:400b:ba27:ebff:fe98:69d7]:ntp
    ntpd 2574 ntp 23u IPv6 3342 0t0 UDP [fe80::ba27:ebff:fe98:69d7]:ntp
    apache2 2586 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    apache2 2587 www-data 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    miniserv. 2675 root 6u IPv4 156038 0t0 TCP *:55500 (LISTEN)
    miniserv. 2675 root 7u IPv4 156039 0t0 UDP *:55500
    master 2776 root 12u IPv4 3758 0t0 TCP *:smtp (LISTEN)
    master 2776 root 13u IPv6 3760 0t0 TCP *:smtp (LISTEN)
    apache2 13376 root 5u IPv6 2015771 0t0 TCP *:http (LISTEN)
    mysqld 19639 mysql 4u IPv4 501203 0t0 TCP localhost:mysql (LISTEN)
    sshd 21336 root 3u IPv4 502704 0t0 TCP *:ssh (LISTEN)
    sshd 21336 root 4u IPv6 502706 0t0 TCP *:ssh (LISTEN)
    sshd 32495 root 3u IPv4 2288516 0t0 TCP 192.168.1.111:ssh->192.168.1.102:56131 (ESTABLISHED)


    Well I hope this brief snippet of information shows you how useful the lsof command can be, if you have any commands that you would like to share, leave a comment below.
  • 0 Comments
    Mood: spazzy

    david How to Create And Mount A Disk Partition in Linux Oct 5th, 2014 9:29:59 pm - Subscribe
    This short entry explains how to create a mount a disk partition in linux. I will show you how to mount a peripheral such as a USB stick, External Drive, or anything else that can be easily remove from your Linux machine. Let’s get started.

    What you will need:
  • Linux operating system
  • USB stick or external drive
  • Approximately 5 to 10 mins of time

    Basics
  • Begin by logging into your linux system as su
  • Su - (this will give you uninterrupted access to run commands)
  • Navigate to /home/{yourusername} by typing in cd /home/{yourusername}
  • Create a directory called mount: mkdir mount

    Peripherals
  • Navigate to the dev directory on your linux system: cd /dev
  • Now we need to list the files in the /dev directory by executing the command: ls
  • Plug in your usb stick / external drive to your linux system (depending on size this may take a few seconds for the machine to fully recognize your device)
  • Now type the list command: ls
  • Do you notice a new device listed? For example mine is called xvdj your’s will be called something different.
  • Once you have located the name of the device {xvdj} we need to mount it to our /home/{yourusername} directory

    Specify a File System
    In linux there are many types of file systems, but we will talk about. ext2, ext3, ext4. ext2 is the native file system on your linux machine, if you do not specify ext2 your linux system will default to this. ext3 is much like ext2, but that it allows journaling. Journaling does exactly that, it will log the commands and actions that you do. This will allow you recover a file / directory should it be accidently deleted. (this is in no way to be used as a backup utility) ext4 will allow you to create a file system that is up to: 32TB large and will support a file up to: 2TB big. So now that you no some of the differences, lets specify.

  • Begin by enter the command, be sure to change {xvdj} to your device name that your system has given it: mkfs -t ext3 /dev/{xvdj} Keep in mind that running this command can either go fast or slow so be patient. Once it completes, your disk volume will now be formatted with the file system: ext3
  • Optional: You have the ability in the command above to pass the -m {#} flag to change the reserve disk space (this prevents a system crash when the director is full), and the -c flag will add a bad block check, which means every sector on the partition of the device will be checked to see if it can be trusted to reliability hold data. (good for old drives)

    Mounting
  • Navigate back to our /home/{username} by typing cd /home/{yourusername}
  • You will notice if you run the ls command that our mount directory is here. So what we are going to do is mount our /dev/{xvdj} to /home/{username}/mount this will give us the ability to see our devices content in our users mount directory.
  • To mount the device we will enter: mount /dev/{xvdj} /home/{yourusername}/mount now hit enter.
  • If you received an error stating: mount: you must specify the file system type. Then go back to Specify a File Systems in the list above.
  • You're done! You have now mounted a device to your linux file system.

    Unmounting
    If you wish to unmount the device/peripheral from your linux system enter the following command.

  • umount /home/{yourusername}/mount (be sure that you are not in the directory when running this, or the device is not running a process when executing the command) If it is you will get an error that says: umount: /home/{yourusername}/mount: device is busy

    Notice
    Just a heads up that mounting a device in this manner will disconnect upon reboot...see my next post on how to prevent that from happening.
  • 0 Comments
    Mood: introspective
    Music: Reggie and the Full Effect - Sundae Booty Sundae

    david mkfs.ext3: Permission denied while trying to determine filesystem size Oct 4th, 2014 9:33:27 pm - Subscribe
    While trying to mkfs I received an error: Permission denied while trying to determine filesystem size.
    mkfs.ext3: Permission denied while trying to determine filesystem size

    This is a quick entry, I wanted to mount a device to my Linux system, but I received the error:

    Error
    mkfs.ext3: Permission denied while trying to determine filesystem size

    I was sure why this was outside of the obvious permission denied, but my focus was on the filesystem size part of this error. Why was it taking so long to determine the filesystem size I thought?

    Well, it does NOT have to do with the file system size of the device, but it on the first two words of the error. Permission denied. I solved this problem by not being an end user with no permissions to the system, I became a super user by executing su -. I then tried my command again:

    Make File System ext3 on Device
    mkfs -t ext3 /dev/xvdj

    Success! The out was:

    My lesson learned here was not to assume always that you have access to everything. You are not always a super user and you should never run as root in production.
    0 Comments
    Mood: tired
    Music: No Music

    david Remove Banned IP from Fail2Ban on Ubuntu / Raspberry Pi Sep 27th, 2014 10:10:12 pm - Subscribe
    If you have never used Fail2Ban on your Linux distro. I would greatly recommended it, especially if you seeing a lot of traffic trying to brute force your standard SSH connection.

    Good practice:
    1. Do not SSH on port 22
    2. Do not use root
    3. Disable root

    But this entry is not on good practices on SSH connections, but rather how to remove a ban that Fail2Ban may have done to block you, a client, or a connection that was not intended to be blocked.



    Begin by doing the following:
    1. iptables -L (Do you see your ip in this list?)
    2. iptables -D fail2ban-ssh -s xxx.xxx.xxx.xxx -j DROP
    3. Where you see xxx.xxx.xxx.xxx add the IP that is banned.
    4. Now verify that your IP is no longer in the list: iptables -L



    That's it! Your IP should now be removed! To prevent this from happening again, navigate to the follow path and add your IP address to the safe list:

    1. cd /etc/fail2ban
    2. vi fail.conf
    3. Now locate: # "ignoreip" can be an IP address, a CIDR mask or a DNS host
    4. Add your IP address to this list
    5. Now save with a :x

    I hope this helps you, if you have questions drop me a comment below.
    0 Comments
    Mood: Studying
    Music: No music

    david How to Remove Flash from Adobe PDF Document Sep 24th, 2014 10:02:53 am - Subscribe
    This entry explains how to extract Adobe Flash PDF file to a common Adobe PDF file that does not have flash.

    If you have come across this issues, it may be due to a notification that states that Adobe Flash is required to open this Adobe PDF file. Well naturally your thinking a potential virus or malware infection right? Well you should, but I won't get into that.



    So if you do receive a message that states that you need to upgrade your version of Acrobat to view the Adobe Flash PDF I would like you to do the following steps, to avoid having to upgrade.

    1. Begin by opening the Adobe PDF file.
    2. Highlight ALL documents by pressing CTRL+A
    3. Go to: File > Extract from Portfolio
    4. Now fine a destination to save the files.
    5. Once done, hit ok and the files will begin converting to PDF (with NO flash)



    This will save you a call to your IT help desk, and prevent others from having to upgrade they're Acrobat / PDF Readers.
    0 Comments
    Mood: good
    Music: No Music

    david Cisco ASA 5505 UL-BUN-K9 Sec+ Firewall Sep 8th, 2014 6:56:40 pm - Subscribe
    This afternoon I purchased myself a Cisco ASA 5505 (EOL) for my home network. My quest is to become a proficient system administrator, and perhaps one day a full stack admin...so I figured it would be a good idea to get some of the gear.

    Now then, I have worked on the Cisco ASA 5510 & 5505, but the changes that I have made to it we're fairly easy to do. Open ports, edit ip addressing, and manage traffic But there is so much more to the ASA that I am interested in knowing so I figured I would jump in feet first by screwing up my own network and not someone elses. Here is a little background on the purchase.



    Cisco ASA 5505-UL-BUN-K9 Security Plus Firewall Unlimited Users 25 SSL/IPSec VPN
    quote:
    Firewall is in perfect working order, no scratches on chassis.
    ASA 5505
    2 Power supplies and cords
    Console cable
    Ethernet cable

    Cisco Adaptive Security Appliance Software Version 8.4(2)
    Device Manager Version 6.4(5)

    Hardware: ASA5505, 512 MB RAM, CPU Geode 500 MHz
    Internal ATA Compact Flash, 128MB
    BIOS Flash M50FW016 @ 0xfff00000, 2048KB

    Licensed features for this platform:
    Maximum Physical Interfaces : 8 perpetual
    VLANs : 20 DMZ Unrestricted
    Dual ISPs : Enabled perpetual
    VLAN Trunk Ports : 8 perpetual
    Inside Hosts : Unlimited perpetual
    Failover : Active/Standby perpetual
    VPN-DES : Enabled perpetual
    VPN-3DES-AES : Enabled perpetual
    AnyConnect Premium Peers : 2 perpetual
    AnyConnect Essentials : Disabled perpetual
    Other VPN Peers : 25 perpetual
    Total VPN Peers : 25 perpetual
    Shared License : Disabled perpetual
    AnyConnect for Mobile : Disabled perpetual
    AnyConnect for Cisco VPN Phone : Disabled perpetual
    Advanced Endpoint Assessment : Disabled perpetual
    UC Phone Proxy Sessions : 2 perpetual
    Total UC Proxy Sessions : 2 perpetual
    Botnet Traffic Filter : Disabled perpetual
    Intercompany Media Engine : Disabled perpetual

    This platform has an ASA 5505 Security Plus license.

    Serial Number:
    Running Permanent Activation Key:
    Configuration register is 0x1
    Configuration has not been modified since last system restart.
    ASA#

    Have one? Or have any suggestions for me? Leave me a comment.
    0 Comments
    Mood: good
    Music: Final Fantasy IV Piano Collection

    david If It Scares You: Cisco ASA 5510 Aug 31st, 2014 12:37:34 am - Subscribe
    This is a new type of entry, much like my Linux postings that I have recently been doing, but in these blogs I will be posting about things that made me uncomfortable, but I did them anyways. Success's & failures.

    Well most of you know me as a web developer, but I do other things than web dev. In this past year I have taken myself outside of my comfort level and broaden my knowledge in other areas.


    "If it scares you, you should probably do it."


    This week I was asked to open a specific port on an Cisco ASA 5510, and also configure a Windows Server to adhere to that port on the ASA. I am unable to get into specifics but I can tell you that this was outside of my scope, but I welcomed it.

    Success
    That day (Thursday) I successfully con figured the server to listen to the non-traditional port and also configured the router allow the broadcasting of it. After a reboot of the server and an outside internet connection I was able to establish a connection. SUCCESS!

    Issues
    The next day I received notice that certain users were not able to connect to certain shares on the server. To top it off one of them was in a upper level position. EEK!

    Solution
    After finding the issue, and finding the solution I relayed my concerns to my sysadmin and he was able to get the disk share re-established. At which point I simply remapped my end users on the client ends. (not all had to be remapped)

    I guess in the end, the configuration issues that I made to the Cisco ASA 5510 (router) and the reboot of the server was not my doing, but the fact that I was able to get the connection re-established was.

    I embrace change, tasks like this regurgitate me. In the mean time I plan on continuing my knowledge with the ASA and seek other tasks as received. It is in my hopes to one day be a full stack administrator, in the mean time...let's all get out of our comfort level, and do something that scares us.

    If it scares you, you should probably do it.
    0 Comments
    Mood: good
    Music: FF IV Orchestra