Advertisements

Linux

  • July 31, 2013

    Setup Second Network Card OSSIM

    Advertisements
  • February 22, 2013

    Ubuntu For Tablet

    Ubuntu has announced an operating system for tablets dubbed ‘Ubuntu for Tablet’ that is says will work on tablets of any size.  The OS will work on both entry level tablets as well as high-end tablets with enterprise specifications, the operating system offers multitasking, safer sharing, instant launch of applications through the menu bar on the left, effortless switching between applications among other features.  Canonical has put out specifications of the tablets that would be required for an entry level consumer Ubuntu tablet experience as well as High-end Ubuntu enterprise tablet experience. For entry level experience, Ubuntu for tablet requires a minimum of Dual Core Cortex A15 processor and 2GB of RAM. The tablet can be of any screen size from 7 to 10 inches and should have at least 8GB of storage. For high-end tablet experience users need to go for a tablet that has at least a Quad-core A15 or Intel x86 processor and is loaded with 4GB of RAM. With 8GB minimum flash storage, the recommended screen size is anywhere between 10-12 inch. The Ubuntu for tablet is loaded with both native as well as web applications. The operating system also supports cloud based applications for both consumer as well as enterprise users. The Linux-based Ubuntu OS, specifically targeting those of the Nexus variety. The OS will be available for the Nexus 7 and Nexus 10.  Owners of the Nexus 4 and Galaxy Nexus smartphones will receive access to the OS on the same day and the OS will be featured at Mobile World Congress next week.
  • February 21, 2013

    Install and Setup Mutt Email Client on Ubuntu

    Command-line email client mutt has a well-deserved reputation as a powerhouse of an email client. It’s fast, flexible and, best of all, surprisingly easy to use.  In this guide we give you Step-By-Step instructions for setting up Mutt email client on Ubuntu using Gmail. 1. sudo apt-get install mutt 2. mkdir -p ~/.mutt/cache/headers mkdir ~/.mutt/cache/bodies touch ~/.mutt/certificates 3. Copy and paste configuration below into a new file, save it in your home directory, and rename it to .muttrc # A basic .muttrc for use with Gmail # Change the following six lines to match your Gmail account details set imap_user = “YOUR.EMAIL@gmail.com” set imap_pass = “PASSWORD” set smtp_url = “smtp://YOUR.EMAIL@smtp.gmail.com:587/” set smtp_pass = “PASSWORD” set from = “YOUR.EMAIL@gmail.com” set realname = “YOUR NAME” # Change the following line to a different editor you prefer. set editor = “nano” # Basic config, you can leave this as is set folder = “imaps://imap.gmail.com:993” set spoolfile = “+INBOX” set imap_check_subscribed set hostname = gmail.com set mail_check = 120 set timeout = 300 set imap_keepalive = 300 set postponed = “+[GMail]/Drafts” set record = “+[GMail]/Sent Mail” set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt/certificates set move = no set include set sort = ‘threads’ set sort_aux = ‘reverse-last-date-received’ set auto_tag = yes ignore “Authentication-Results:” ignore “DomainKey-Signature:” ignore “DKIM-Signature:” hdr_order Date From To Cc alternative_order text/plain text/html * auto_view text/html bind editor <Tab> complete-query bind editor ^T complete bind editor <space> noop # Gmail-style keyboard shortcuts macro index,pager y “<enter-command>unset trashn <delete-message>” “Gmail archive message” macro index,pager d “<enter-command>set trash=”imaps://imap.googlemail.com/[GMail]/Bin”n <delete-message>” “Gmail delete message” macro index,pager gi “<change-folder>=INBOX<enter>” “Go to inbox” macro index,pager ga “<change-folder>=[Gmail]/All Mail<enter>” “Go to all mail” macro index,pager gs “<change-folder>=[Gmail]/Starred<enter>” “Go to starred messages” macro index,pager gd “<change-folder>=[Gmail]/Drafts<enter>” “Go to drafts” 4. Open up the ~/.muttrc file in your favorite text editor, add...
  • January 30, 2013

    How to Install Nessus on Backtrack 5

    As a lot of people have pointed out and I noticed is that Nessus is not installed in Backtrack anymore by default.  This is such a powerful tool so you are going to want to add it back to Backtrack.  This is a Step-By-Step guide on how to install Nessus. 1. Install Nessus apt-get install nessus 2. After install it, create an account with adduser command like this /opt/nessus/sbin/nessus-adduser 3. Now register to Nessus website http://www.nessus.org/register/ to get your activation code that send to your email. After you get the key, run this command, fill change xxxx-xxxx-xxxx-xxxx-xxxx with your key /opt/nessus/bin/nessus-fetch –register xxxx-xxxx-xxxx-xxxx-xxxx 4. It will take some time because plugin is being updated. After the update complete, run your Nessus /etc/init.d/nessusd start 5. Then open your browser and type this in the URL of the browser. Nessus will run on the secure channel https and on the port number 8834. https://localhost:8834/
  • January 14, 2013

    Install Snort on FreeBSD

    Step-By-Step instructions on how to Install snort on FreeBSD. 1. Login to your computer as root or elevate to su 2. First we have to compile snort form the ports tree by running this command: make -C /usr/ports/security/snort install all You will be asked about which support you want to add to snort here you can pick MySQL if you are going to use the server as traffic monitor or instruction detection system.  For me I took the defaults only because I capture the files and export them to log file using snort –dev –l . /log then I read them with tcpdump –r.  But again it really depends on your needs. 3. Next you need oinkmaster to update your snort rules so run this command make -C /usr/ports/security/oinkmaster install all 4. You can update your snort rules using this command: oinkmaster -o /usr/local/etc/snort/rules/ 5. If you decided to install MySQL you will need to create a database so login to mySQL mysql -u root –p password 6. After you enter the root username and password you are going to be dropped to this prompt mysql> 7. Type the following two commands CREATE DATABASE `snort`; GRANT ALL PRIVILEGES ON snort.* TO ‘snort’@’localhost’ IDENTIFIED BY ‘snortpassword’; 8. Next control +C to exit mysql server you will now need to create the tables but lucky for us snort can do that for you so type this command mysql -u snort -psnortpassword snort < /usr/local/share/examples/snort/create_mysql 9. We need to uncomment 3 lines from the snort config file so run this command Vi /usr/local/etc/snort/snort.conf 10. Then uncomment meaning remove the # from in front of the line config detection: search-method lowmem output alert_syslog: LOG_AUTH LOG_ALERT output database: log, mysql, user=root password=test dbname=db host=localhost 11. If you want snort to run at startup type which if you’re running snort at either a traffic monitor...
  • January 13, 2013

    Install PacketFence on CentOS 6.x

    First do a standard install of CentOS 6.  After the standard install IP all the network cards to the proper IP addresses before you install Packetfence.  After that follow these steps-by-step instructions to install packetfence. Update CentOS 1. yum update Install Wget 2. yum install wget Add RPMforge 3. wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm 4. rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt or gpg –import http://apt.sw.be/RPM-GPG-KEY.dag.txt 5. rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm Add EPEL software repository: 6. rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm Add Open Fusion RPM Repository 7.rpm -Uvh http://repo.openfusion.net/centos6-x86_64/openfusion-release-0.6.2-1.of.el6.noarch.rpm Exclude perl-Apache-Test from rpmforge and openfusion repository 8. Vi /etc/yum.repos.d/rpmforge.repo 9. Add the line exclude = perl-Apache-Test* on the section [rpmforge] 10.Vi /etc/yum.repos.d/openfusion.repo 11. add the line exclude = perl-Apache-Test* on the section [of] 12. In order to use the repository, just create a file named /etc/yum.repos.d/PacketFence.repo with the following content 13. [PacketFence] name=PacketFence Repository baseurl=http://inverse.ca/downloads/PacketFence/RHEL$releasever/$basearch gpgcheck=0 enabled=0 Install PacketFence with all its dependencies 14. yum groupinstall –enablerepo=PacketFence,rpmforge Packetfence-complete Once packetfence is installed it can be configured at GUI interface http://ipaddress:1444/configurator The management interface will be http://ipaddress:1443
  • January 13, 2013

    Install gnome GUI on CentOS

    Step-By-Step instructions on how to install gnome GUI on CentOS This is a step by step guide on how to install the Gnome GUI on CentOS 1. Using yum, we will need to install X Windows System as the based for GUI and rich input device capability: $ yum groupinstall -y ‘X Window System’ 2. Only then we can install GNOME desktop environment on top of it $ yum groupinstall -y ‘Desktop’ 3. Since previously the server is running on CLI mode, we need to change some value to tell CentOS to boot up in the GUI mode. 4. Vi  /etc/inittab 5. Change following line: id:3:initdefault: to id:5:initdefault: 6. Reboot Note: You can switch from GUI to CLI mode manually by using following method: GUI to CLI: Ctrl + Alt + F6 CLI to GUI: Ctrl + Alt + F1 If you want to start the desktop from CLI console (not SSH session), use following command: $ startx
  • January 10, 2013

    Install gnome GUI on FreeBSD

    Step-By-Step instructions on how to install gnome GUI on FreeBSD. 1. Login to your computer as root 2. Type Vi /boot/loader.conf  and add these 3 lines linux_load=”YES” linprocfs_load=”YES” atapicam_load=”YES” 3. Next make sure that the linux proc folder exists by typing the command mkdir -p /compat/linux/proc 4. Now Type Vi /etc/fstab Add the following lines if they do not exist already proc /proc procfs rw 0 0 linproc /compat/linux/proc linprocfs rw 0 0 5. Now we need to Vi /etc/rc.conf and add the following line linux_enable=”YES” 6. Now time to install gnome.  Make sure you’re connected to the internet and type pkg_add -r xorg gnome2 This will install xorg if not install already and gnome.  It will fetch all dependencies it needs so it may take a while.  You will be returned to a prompt when it’s finished. 7. We need the PC hostname so type the command hostname 8. Now Vi /etc/hosts and add your pc hostname after 127.0.0.1 9. Restart your computer by typing the command reboot 10. Last thing Vi /etc/rc.conf and add these lines gnome_enable=”YES” hald_enable=”YES” gdm_enable=”YES” dbus_enable=”YES” After your done reboot your computer and if done right you will be presented with the gnome login
  • December 12, 2012

    FreeBSD Project Donations Down By 50%

    The FreeBSD project has sought $500,000 in donations by year end to allow it to continue to offer to fund, manage projects and sponsor FreeBSD events, developer summits and provide travel grants to FreeBSD developers. But with the end of this year fast approaching, it has raised just over $280,000, far short of its target. As most people know Apple is BSD under the hood using Darwin as the core of Apple OS X.  Apple borrows FreeBSD’s virtual file system, network stack, and components of its userspace.  Much of FreeBSD now also forms the basis of Apple OS X and OS X Server.  Apple, the first major computer company to make Open Source development a key part of its software strategy and continues to use and release significant quantities of open source software. I do think that BSD is struggling with funding cause of Linux popularity boom over last few years. Linux has taken great strides to become more commercial and get more support on server backed end with Dell, HP and IBM. I do not see BSD having big leaps like that plus they need a better PR rep. Every customer I go to ask for Linux because we are a Linux shop on our commercial side I very rarely see anyone ask for BSD support or do I see many BSD servers in use. If you would like to donate to the FreeBSD Foundation you can send them a donation on their site listed below. http://www.freebsdfoundation.org/donate/ If you donate The FreeBSD Foundation is a 501(c)3, United States based, non-profit organization that is committed to supporting and building the FreeBSD Project and community worldwide. All of our work is funded by donations. US-based donations should be fully tax-deductible on your federal return.
  • November 30, 2012

    Dell Ubuntu Ultrabook on Sale

    Dell’s Project Sputnik laptop is now for sale on dells website.  Dell’s XPS 13 Developer Edition is the first in there new line of linux computers. http://www.dell.com/us/soho/p/xps-13-linux/pd.aspx Project Sputnik is an open, six-month product exploration by Dell to help identify what developers want in a laptop. The XPS 13 Developer Edition comes with Ubuntu 12.04 pre-installed, and starts at $1,549 and comes with 1 Year ProSupport with 1 Year NBD Limited Onsite Service After Remote Diagnosis. The laptops hardware specs are as followed: Processor: Intel® Core™ i7 (4M Cache, up to 3.0 GHz) Operating System: Ubuntu 12.04 Screen: 13.3″ HD 720p Ram: 8GB2 DDR3 SDRAM at 1600MHz Hard Drive: 256GB Solid State Drive Video Card: Intel HD 4000 Weight: 2.99 lbs I want to point out as well Ubuntu Ultrabook is $50 more than the Windows version.  But again no Anti-virus, Office or other extras needed all is included since most Linux software is free and open source.