Lockstockmods | If its not broken… take it apart and mod it Lockstockmods

Blog

Updating the Ports Collection using Portsnap

Portsnap can be a useful tool when updating your FreeBSD Ports Collection. To install portsnap: AS ROOT: # cd /usr/ports/sysutils/portsnap # make # make install If these operations run successfully you can now run portsnap. As root, perform this command: # portsnap fetch Portsnap will then retrieve the latest version of the Ports tree metadata. NOTE: The first time you run portsnap, YOU MUST ALSO ... Read More »

Setting up DHCP

Check System Compatibility Type: ifconfig -a you should see something like: eth0 Link encap:Ethernet HWaddr 00:09:5B:04:5E:78 inet addr:82.36.57.31 Bcast:255.255.255.255 Mask:255.255.248.0 inet6 addr: fe80::209:5bff:fe04:5e78/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5561334 errors:0 dropped:0 overruns:0 frame:0 TX packets:214278 errors:0 dropped:0 overru... Read More »

Screen

Getting in start a new screen session: screen attach to a running session: screen -r attach multiple terminals to an attached, running session: screen -rx the “ultimate attach”: screen -dRR (Attaches to a screen session. If the session is attached elsewhere, detaches that other display. If no session exists, creates one. If multiple sessions exist, uses the first one.) Escape key All screen co... Read More »

Quick Commands

alias – this allows the user view the current aliases awk – this allows the user to search for a pattern within a file bdiff – compares two large files bfs – scans a large file cal – shows a calendar cat – concatenates and prints a file cc – c compiler cd – changes directories chgrb – changes a file groups ownership chmod – changes the pe... Read More »

Installing Apache2, PHP5, and MySql

Install MySQL 4.1.3 Download these RPMS to /usr from http://www.mysql.com MySQL-server-4.1.8-0.i386.rpm MySQL-devel-4.1.8-0.i386.rpm MySQL-client-4.1.8-0.i386.rpm MySQL-shared-4.1.8-0.i386.rpm Install them with: rpm -i MySQL*.rpm Source Files Download these files (or newer versions) to /usr/local/src (the packages will be located in /usr/local/lib when they are installed unless otherwise stated) z... Read More »

Page 6 of 6«456