Jump to content

wildweaselmi

Members
  • Content Count

    2,013
  • Joined

  • Last visited

Community Reputation

0 Neutral

About wildweaselmi

  • Rank
    Advanced Member

Recent Profile Visitors

1,284 profile views
  1. wildweaselmi

    general images

    some linux focused images
  2. wildweaselmi

    Animated Images

    some funny animated images
  3. Yea yea, I know this title is very generic and yes we all like to bag on Microsoft but this is more of a very high level side by side with Microsofts product, Windows. Why is Wordpress like Windows? They both are slow over time. The more you add the slower it gets. The more software, plugins you add the slower it gets. They are both very insecure and require a separate security package. Here is my experience with Wordpress since this is all just a learning experiment. I built a community on Joomla using Kunena as a forum and EasyBlog as my blog and eDocman as my File Management and I forget what I used for my Media. The site was quick but again, security was a big hole. First I noticed tons of issues with Kunena so I moved to phpBB3 which was and is a fantastic forum package but its 3rd party so you need to use a bridge to integrate into your Joomla site and that takes resources and you would occasionally get a sync error between Joomla and phpBB3. When you are using software that isn't fully integrated then you discover issues like the search plugin doesn't search everything. So I did some research and Wordpress is the most used web software, just like Microsoft Windows is the most used operating system but what the most have in common is price. Windows is cheap in comparison and likewise Wordpress is free. So obviously free typically attracts tons of people. Now Joomla is also free but with both Wordpress and Joomla what isn't free are all the addons needed to make it a usable site and now you depend on the developers of those addons to keep them up to date and support. In my experience some addon companies were better than others for both Joomla and Wordpress addons. I like Wordpress plugin manager way better with the reviews, easy to search for type of plugin where Joomla is more like a Sears catalog where you have to find the category and hope you pick the right one. Most addons are free to install but if you want any real functionality you have to pay for the upgrade and the payment is a yearly subscription. No longer are the days where you buy a plugin and you own it. Now you subscribe for a pretty hefty price and you keep paying "the man" or you will get infected. So as you see I settled on a web software that has all those addons (files, calendar, blog, etc) included. Yes I have to pay $210/year for the software but that includes all the updates to maintain the software and very quick response for support. If you go for a free solution like Wordpress or Joomla be prepared to pay way more than $210 for less functionality. Let me share some examples so you know I'm not just blowing smoke. Gallery IPB: included Wordpress: rtMedia ($499 ) or MediaPress ($ ) Joomla: File Management/Downloads IPB: included Wordpress: WPDM ($199) Joomla: Blog IPB: included Wordpress: included Joomla: EasyBlog ($ ) Recipes IPB: included Wordpress: Joomla: Calendar/Events IPB: included Wordpress: EventON ($215 ) Joomla: Project Management IPB: doesn't offer anything Wordpress: WeDevs WP Project Management ($249) Joomla: Articles IPB: included Wordpress: Joomla: included Support Tickets IPB: included Wordpress: Joomla: Forms IPB: limited Wordpress: Gravity Forms (workflow is awesome) Joomla: Link Library IPB: none Wordpress: Link Library Joomla: Security IPB: built in Wordpress: iThemes ($ ) Joomla: Groups IPB: included Wordpress: BuddyBoss Joomla: community builder or Forums IPB: included Wordpress: bbpress (tools) Joomla: kuena or phpbb3 bridge Backup System IPB: none Wordpress: Updraft or Backupbuddy ($ ) Joomla:
  4. Sometimes its helpful to know what ports on your Mac are in LISTENING status. So here are a few commands that I found helpful in my quest to find what ports are open. $ netstat -atp tcp | grep -i "listen" tcp4 0 0 *.irdmi *.* LISTEN tcp4 0 0 localhost.49155 *.* LISTEN tcp4 0 0 localhost.49154 *.* LISTEN tcp4 0 0 localhost.49153 *.* LISTEN tcp4 0 0 localhost.49152 *.* LISTEN tcp4 0 0 *.kerberos *.* LISTEN tcp6 0 0 *.kerberos *.* LISTEN tcp4 0 0 *.ssh *.* LISTEN tcp6 0 0 *.ssh *.* LISTEN tcp4 0 0 localhost.ipp *.* LISTEN tcp6 0 0 localhost.ipp *.* LISTEN tcp4 0 0 *.rfb *.* LISTEN tcp6 0 0 *.rfb *.* LISTEN And also I used $ sudo lsof -i -P | grep -i "listen" Password: launchd 1 root 26u IPv6 0x6a234a812945c29f 0t0 TCP *:5900 (LISTEN) launchd 1 root 28u IPv4 0x6a234a81294621ef 0t0 TCP *:5900 (LISTEN) launchd 1 root 30u IPv6 0x6a234a812945c29f 0t0 TCP *:5900 (LISTEN) launchd 1 root 31u IPv4 0x6a234a81294621ef 0t0 TCP *:5900 (LISTEN) launchd 1 root 43u IPv6 0x6a234a812945b89f 0t0 TCP *:22 (LISTEN) launchd 1 root 46u IPv4 0x6a234a812946104f 0t0 TCP *:22 (LISTEN) launchd 1 root 52u IPv4 0x6a234a812946191f 0t0 TCP localhost:631 (LISTEN) launchd 1 root 53u IPv6 0x6a234a812945bd9f 0t0 TCP localhost:631 (LISTEN) launchd 1 root 54u IPv6 0x6a234a812945bd9f 0t0 TCP localhost:631 (LISTEN) launchd 1 root 55u IPv6 0x6a234a812945b89f 0t0 TCP *:22 (LISTEN) launchd 1 root 56u IPv4 0x6a234a812946104f 0t0 TCP *:22 (LISTEN) launchd 1 root 59u IPv4 0x6a234a812946191f 0t0 TCP localhost:631 (LISTEN) pma_agent 70 root 19u IPv4 0x6a234a812945db6f 0t0 TCP *:8000 (LISTEN) bcua-serv 76 root 16u IPv4 0x6a234a812945e43f 0t0 TCP localhost:49154 (LISTEN) bcua-serv 76 root 19u IPv4 0x6a234a812945feaf 0t0 TCP localhost:49155 (LISTEN) mtmfs 79 root 4u IPv4 0x6a234a812945f5df 0t0 TCP localhost:49152 (LISTEN) mtmfs 79 root 6u IPv4 0x6a234a812945ed0f 0t0 TCP localhost:49153 (LISTEN) kdc 96 root 6u IPv6 0x6a234a812945b39f 0t0 TCP *:88 (LISTEN) kdc 96 root 8u IPv4 0x6a234a812946077f 0t0 TCP *:88 (LISTEN)
  5. There comes a time that the DNS server(s) do not have the name to address resolution you need so just add it to your local hosts file. Mac OS X 10.2 or later Edit the /private/etc/hosts file. For more information on how to use the hosts file, open Terminal and type: man hosts Note: Editing this file requires root privileges. I suggest typing while in Terminal sudo nano /private/etc/hosts It may be a good idea to flush the DNS Cache that is running by then typing the following after you save the hosts file dscacheutil -flushcache
  6. Switching operating systems is a scary and can be exciting adventure. It can also be a major pain in the butt. I am not author of any book but hope I can help fill in some blanks. If you want a recommendation on a book, for beginners I strongly recommend a book called Teach Yourself VISUALLY Mac OS X Leopard It has proven itself to people of all ages on getting up and going with there move from Windows to Mac. Here are some basic things you may or may not know. Open Applications... In Windows you click the Start button - Click on Programs - Select Your Application In Mac OS X you click the Finder (looks like a smiley face) - Click on Applications - Select Your Application Check Email without having to purchase any additional application... In Windows you click on Outlook Express In Mac you click on Apple Mail (both are equal in functionality, Apple Mail seems to handle large amount of mail quite a bit quicker to include searching) Check Email with purchase of additional application... (mostly for us business people that need to connect to Outlook Exchange servers) In Windows you open Microsoft Outlook In Mac you open Microsoft Entourage (Microsoft Outlook is better but not be a whole lot. Entourage sync's with Outlook Exchange server to include Mail and Calendar without any issues) Word Processor included with operating system In Windows you click Start - Programs - Accessories - either Notepad or Wordpad In Mac OS X you click the Finder (looks like a smiley face) - Click on Applications - TextEdit (note that all Mac Applications are found in the exact same place... Finder - Applications unless you move them somewhere else) (I'll keep adding to this article so it will probably never be finished)
  7. I am curious as to what I should do when I can not click on FInder (it just makes a sound everything I click on it like something is in the background waiting for me to answer it but I can't seem to find anything). I can not open a new window and I'm not able to click on the apple to do a restart. Someone said to open terminal and type something like: sudo -h shutdown now but i can't get to Terminal. You could click on spotlight and type Terminal and it will find it for you at which time you could just double-click on. As far as shutting down or restarting your system you could do either without clicking on the apple, just as long as you can open up your terminal window. Reboot sudo -h reboot Shutdown sudo -h shutdown now[/code] NOTE: you will need your password Reference: Mac OS X Manual Page For sudo(8)
  8. One way to store or group files on a Mac is to create a Disk Image. A Disk Image is a file which has the properties of a separate hard drive or CD. It has a size limit and options for encryption to keep your files safe and secure. This how-to will work with Mac OS X. Steps Create a New Folder and place the files you would like in your disk image into this new folder. Right click (or CTRL-Click) the folder and select "Get Info" and note the size of it's contents. Open Disk Utility (Applications > Utilities > Disk Utility) Click the "New Image" icon to create a new disk image. Enter a name for the Image, and select a size adequate for the size of your folder you created in Step 2. Set the encryption to "none" and Format to "read/write disk image". See Tips to learn how to encrypt the image. Place the contents of the folder from Step 2 into the newly mounted disk image Unmount the Disk Image by dragging it's icon to the Trash. In the Finder window, you can also click the Eject symbol next to the mounted image. Be proud that you now know how to do something most people don't know how to do! Tips You can encrypt your Disk Image with a password if you would like your files to be private. Simply Select "AES-128" under the "Encryption" drop-down menu. After you click "Create" and it will ask you to create a password for your files. When you double click a .dmg file, it will "Mount" on the desktop. This is the only way to access or modify the contents of the Image. A .dmg file can be a very easy way to send files from one Mac to another. Any Mac can mount and access the Disk Image on their computer.
  9. Your bad kitty will run faster and smoother after it sheds a few gigabytes. A slimmer cat is a faster cat, and we'll bet dimes to DIMMs that you can shed several gigabytes from your Mac's hard drive without missing them. If you installed the default Mac OS10.4, for example, you've got 1GB of foreign language translation support, 2.1GB of printer drivers, and 9.9GB of bundled software. Once you've removed the biggest offenders post facto by following the steps below, take an hour to browse your hard drive for such junk as sample or stock images in Photoshop and sample songs in GarageBand (they're in /Users/username/Music/), and of course,s cour your iTunes library for all the podcasts that you forgot you subscribed to and other unwanted audio debris. If you use iMovie or GarageBand, archive or otherwise offload old projects, which are often huge. Applications Remove any expired demo software and any apps that you're not likely to use -- especially if you have the original installer discs. Games tend to fill loads of disc space, but only remove them as a last resort. Remember, all work and no play.... Printer Drivers The /Library/Printers folder holds hundreds of drivers that you'll never use, and two that you might use someday -- which will come with the printer and are available free at the manufacturer's website anyway. Application Support iLife themes from iMovie and iDVD consume virtual acres, some of which you can surely do without. Browse the themes in each app, make note of the keepers, then proceed to /Library/Application Support/ for a weed-out session. While you're in Application Support, remove any folders for apps that you've deleted, and feel free to browse the remaining folders for superflucous sample projects, tutorials, and the like. Also check /Users/username/Library/Application Support for redundant items that are already in the main Application Support folder, orphaned support files, and other dead weight. Language Support Mac OS X's localization support is unmatched -- but how many foreign languages are you ever going to use? Strip it down to your native tongue with Monolingual (free, monolingual.sourceforge.net) -- just read the included directions and make sure that you don't remove your native language. English-speaking 'Mericans should keep both English and (United States). And if you use Adobe CS apps, open Monolingual's Preferences and add them to the blacklist of apps that you want Monolingual to leave alone -- for reasons unknown, current versions of Photoshop et al won't run without full lanugage support. Bad Music The folder /Library/Audio/Apple Loops For GarageBand contains over 1GB of loops for GarageBand projects; we punted just the stuff that gives us violent urges (Club Dance Beat and so on), thereby freeing up a couple hundred megabytes. Shared Files If you maintain a multiuser Mac, keep track of what each user installs and where. If several users tinker in GarageBand, for example, in the name of congeniality and preventing duplicates they should install any additional loops for all users rather than only for their account. And you know they won't unless you tell them to. Same thing goes for any application or its add-ons.
  10. Tweak processor priorities and RAM usage where available Mac OS X is a masterfully multithreaded system with the ability to run and manage hundreds of tasks simultaneously, including tasks that you've initiated (a Final Cut Pro render, a Photoshop filter, a spell-check in Word -- anything) as well as oodles of background daemons, enless Spotlight indexing, and other noise. It's your Mac, so you get to decide which apps get processor priority and when -- it's known as niceness in the Unix world. Make iMovie nicer as it chews on your epic film while you write your acceptance speech in Word, or lash Photoshop to morrings of your specifications if that's where you spend the day. Process Wizard (free, La Chose : web agency and software maker ? agence web et développement de logiciels) provides handy sliders for you to addjust the niceness of any process running on your Mac -- or to kill a process outright, which can lead to mayhem, so proceed with caution. Process Wizard doesn't show you how much juice any specific task is sucking up, so launch Activity Monitor (/Applications/Utilities), click the CPU tab for a live readout of what processes are consuming how much of your processor(s), and use that information to adjust processor priority. Allocating RAM isn't generally as easy, but many RAM-hogging apps, such as Photoshop, provide a preference setting that you can tweak to give it the lion's share of your RAM.
  11. The Mac is rightfully revered for the beauty, power, and simplicity of its graphical user interface. Indeed, it was the release of the first Macintosh that brough the concept of pointing and clicking to the average computer user. But in addition to the point-and-click ease of the OS X Finder, your Mac sports on of the most powerful command-line interfaces on the planet: the Terminal. Mac OS X comes with hunderds of Unix programs - and you can get them all through the Terminal. As much as we love the ease of the GUI, the power of the Terminal is hard to beat. It allows you to do many things faster than you could using the GUI - and in some cases, it even lets you do things you can't otherwise do on your Mac. alias Create an alias alloc List used and free memory awk Find and Replace text within file(s) basename Convert a full pathname to just a folder path bash Bourne-Again SHell (Linux) bless Set volume bootability and startup disk options. break Exit from a loop cal Display a calendar case Conditionally perform a command cat Display the contents of a file cd Change Directory chflags Change a file or folder's flags. chgrp Change group ownership chmod Change access permissions chown Change file owner and group chroot Run a command with a different root directory cksum Print CRC checksum and byte counts clear Clear terminal screen cmp Compare two files comm Compare two sorted files line by line complete Edit a command completion [word/pattern/list] continue Resume the next iteration of a loop cp Copy one or more files to another location cron Daemon to execute scheduled commands crontab Schedule a command to run at a later date/time cut Divide a file into several parts date Display or change the date & time dc Desk Calculator dd Data Dump - Convert and copy a file defaults The Mac OS X user defaults system. df Display free disk space diff Display the differences between two files diff3 Show differences among three files dig DNS lookup dirname Convert a full pathname to just a path dirs Display list of remembered directories diskutil Disk utilities - Format, Verify, Repair ditto Copy files and folders dot_clean Remove dot-underscore files dscacheutil Query or flush the Directory Service/DNS cache dscl Directory Service command line utility du Estimate file space usage echo Display message on screen ed A line-oriented text editor (edlin) enable Stop or start printers and classes. env Set environment and run a utility eval Evaluate several commands/arguments exec Execute a command exit Exit the shell expect Programmed dialogue with interactive programs Also see AppleScript expand Convert tabs to spaces expr Evaluate expressions false Do nothing, unsuccessfully fdisk Partition table manipulator for Darwin UFS/HFS/DOS find Search for files that meet a desired criteria fmt Reformat paragraph text fold Wrap text to fit a specified width for Expand words, and execute commands foreach Loop, expand words, and execute commands fsck Filesystem consistency check and repair fsaclctl Filesystem enable/disable ACL support fs_usage Filesystem usage (process/pathname) ftp Internet file transfer program GetFileInfo Get attributes of HFS+ files getopt Parse positional parameters goto Jump to label and continue execution grep Search file(s) for lines that match a given pattern groups Print group names a user is in gzip Compress or decompress files head Display the first lines of a file hdiutil Manipulate iso disk images history Command History hostname Print or set system name id Print user and group names/id's if Conditionally perform a command info Help info install Copy files and set attributes jobs List active jobs join Join lines on a common field kextfind List kernel extensions kill Stop a process from running l List files in long format (ls -l) ll List files in long format, showing invisible files (ls -la) less Display output one screen at a time ln Make links between files (hard links, symbolic links) locate Find files logname Print current login name login log into the computer logout Exit a login shell (bye) lpr Print files lprm Remove jobs from the print queue lpstat Printer status information ls List information about file(s) lsbom List a bill of materials file lsof List open files man Help manual mkdir Create new folder(s) mkfifo Make FIFOs (named pipes) more Display output one screen at a time mount Mount a file system mv Move or rename files or directories net Manage network resources networksetup Network and System Preferences nice Set the priority of a command nohup Run a command immune to hangups onintr Control the action of a shell interrupt open Open a file/folder/URL/Application osascript Execute AppleScript passwd Modify a user password paste Merge lines of files pbcopy Copy data to the clipboard pbpaste Paste data from the Clipboard pico Simple text editor ping Test a network connection pkgutil List installed packages pmset Power Management settings popd Restore the previous value of the current directory pr Convert text files for printing printenv Print environment variables printf Format and print data ps Process status pushd Save and then change the current directory pwd Print Working Directory quota Display disk usage and limits rcp Copy files between machines. repeat Execute a command multiple times rm Remove files rmdir Remove folder(s) rpm Remote Package Manager rsync Remote file copy - Sync file tree (also RsyncX) say Convert text to audible speech sched Schedule a command to run at a later time. screen Multiplex terminal, run remote shells via ssh screencapture Capture screen image to file or disk sdiff Merge two files interactively security Administer Keychains, keys, certificates and the Security framework sed Stream Editor set Set a shell variable = value setenv Set an environment variable = value setfile Set attributes of HFS+ files shift Shift positional parameters shutdown Shutdown or restart OS X sleep Delay for a specified time softwareupdate System software update tool sort Sort text files split Split a file into fixed-size pieces stop Stop a job or process su Substitute user identity sudo Execute a command as another user sum Print a checksum for a file switch Conditionally perform a command systemsetup Computer and display system settings tail Output the last part of files tar Tape ARchiver tee Redirect output to multiple files test Condition evaluation textutil Manipulate text files in various formats time Measure Program Resource Use touch Change file timestamps traceroute Trace Route to Host tr Translate, squeeze, and/or delete characters true Do nothing, successfully tty Print filename of terminal on stdin type Describe a command umask Users file creation mask umount a device unalias Remove an alias uname Print system information unexpand Convert spaces to tabs uniq Uniquify files units Convert units from one scale to another unset Remove variable or function names unsetenv Remove environment variable users Print login names of users currently logged in uuencode Encode a binary file uudecode Decode a file created by uuencode vi Text Editor wc Print byte, word, and line counts where Report all known instances of a command which Locate a program file in the user's path while Execute commands who Print all usernames currently logged on whoami Print the current user id and name (`id -un') xargs Execute utility - passing arguments yes Print a string until interrupted
  12. nmap is the key... If you do not have nmap installed, then I suggest installing it. The best way to get this installed is using a program called fink. Note: You'll need to enable root user for nmap to work and know root password Once installed, open a terminal window and type fink install nmap (you'll have to type in your password just like you do when you install any program) Now that nmap is installed, run the following command nmap -sP -T Insane 192.168.1.1-254 You should get an output like: You can also run Check out the GUI version of nmap for your Mac called Zenmap (most excellent tool)
  13. The goal here would be to ping an IP stored in a .csv file I found the following that may work machineName, MachineIP dozer,192.168.2.1 dozer2,192.168.2.2 dozer3,192.168.2.3 i=0; for $line in `cat spreadsheet.csv`; do ip=`echo $line | cut -f2 -d","`; if [ $i -ne 0 ]; then if [ `ping $ip -c1 | grep -c -i "64 bytes from ${ip}"` -eq 0 ]; then .... else echo "$ip could not be pinged" >> /var/log/mylogfile; fi fi i=1; i is used as the 1st line of the csv is headers.
  14. I realize I could use the Network Utility to do most of what typical troubleshooting does but I am more familar with the command prompt. When I use Windows I run my ping, tracert, nslookup, nbtstat, netstat and ipconfig. I would like to know the common commands I would use on my lovely mac for the same functionality and then some. So in short, compare the Apple Mac OS X Network Utility and Windows command prompt to what I can do in the terminal to match or beat what the others offer (which I know it can). Okay, tall order but I believe I can get this started. Network Utility - Info Mac OS X: $ifconfig Network Utility - NetStat: $netstat Display routing table information: $netstat -r Display comprehensive network statistics for each protocol: $netstat -s Display multicast information: $netstat -g Display the state of all current socket connections: $netstat -ta Network Utility - Appletalk: Network Utility - Ping: $ping or $nmap -sP -T Insane 192.168.1.0/24 (for an entire range) Network Utility - Lookup: $nslookup > server name server delivering the response > set type=mx mx will lookup all mail records > microsoft.com machine being looked up Truthfully dig is a better command to use here instead of nslookup Network Utility - Traceroute: $traceroute Network Utility - Whois: $whois bbc.co.uk -h whois.nic.uk bbc.co.uk is who we are trying to find out about whois.nic.uk is the whois server we are using. Network Utility - Finger: $finger dennis or $finger [email protected] Network Utility - Port Scan: $stroke host start_port end_port or $netstat -a or $nmap -Up 143 166.66.0.0/16 166.67.0.0/16
  15. For some reason the new version of nmap I am getting the following error Anyone have any idea's on how to correct this besides deleting the VMWare Fusion interface sudo ifconfig vmnet8 remove
×
×
  • Create New...