Monthly Archives: May 2009

remove user

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

rmuser joe

DISABLING EXISTING USERS (BUT NOT REMOVING THEIR ACCOUNTS)

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

pw lock admin
pw unlock admin

cari.net added an admin user group 0!

BSD hardening

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

by default there are two places for temp files.
/var/tmp
/tmp

move all temp files to /tmp/
ln -s /tmp /var/tmp

Sega shiro Todo

0
Filed under TODO, WEB-DEV-LOG
Tagged as

Mycollection

remove comma from rating eg 2,5
fix “my comment” and on text
change images for star in rating

Fist review complete (in priv)

TODO

0
Filed under Uncategorized, WEB-DEV-LOG
Tagged as

ability to upload videos for punktoronto, segashiro. wordpress

HTOP

0
Filed under BSD
Tagged as

htop(1) requires linprocfs(5) to be mounted. If you don’t
have it mounted already, please add this line to /etc/fstab
and run `mount linproc`:
linproc /compat/linux/proc linprocfs rw 0 0

FROM HERE
First you have to dynamically load the linux object in the kernel:

kldload linux

Then we have to make this loading permanent so add linux_enable=”YES” to /etc/rc.conf.

kldstat

# cd /usr/ports/emulators/linux_base-fc4
# make install distclean

Go to /etc/fstab and add the following line:

linproc /compat/linux/proc linprocfs rw 0 0

Mount the new filesystem: mount linproc and go to /usr/ports/sysutils/htop and install as usual.

lighttpd

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as
/usr/local/etc/lighttpd.conf

http://www.lighttpd.net/

alias vi='vim' to ~/.bashrc / ~/.cshrc

PHP5
/usr/ports/lang/php5
/usr/ports/lang/php5-extensions
make install clean

cd /usr/ports/archivers/unzip
cd /usr/ports/ftp/wget

BSd ports

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

Warning: Before installing any application, you should check vuxml.freebsd.org/ for security issues related to your application.

You can also install ports-mgmt/portaudit which will automatically check all installed applications for known vulnerabilities; a check will be also performed before any port build. Meanwhile, you can use the command portaudit -F -a after you have installed some packages.

be in the /usr/ports directory. Once in that directory, run make search name=program-name where program-name is the name of the program you want to find

pkg_add -r lsof

SQLlite

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

cool stuff. dosn’t replace mysql replaces fopen

BSD ports

0
Filed under BSD, Uncategorized, WEB-DEV-LOG
Tagged as

use the command “whereis” to locate the correct directory in /usr/ports