ubuntu: add user

by prettyscripts on 2009-10-15 10:23:11 • Leave a comment »

unix

there are 2 commands to add user: userad and adduser. (the commands could be the same for other linux.) adduser is easier to use. it prompts for relevant information. to allow new user to run sudo, run: $ usermod -G admin <username> more »

Tags: linux, ubuntu, user

php: image manipulation

by prettyscripts on 2008-12-04 10:57:59 • Leave a comment »

phpunixcode

the gd image library provide functions to manipulate image files. on some installations, this does not come as default and needs to be installed. on fedora, the command is$ yum install php-gd on ubuntu, the command is$ sudo apt-get install php5… more »

Tags: fedora, gd, image, php, ubuntu