Category Archives: Uncategorized

http://docs.joomla.org/Configuring_a_XAMPP_server_for_joomla_developmentsudo /opt/lampp/lampp startLocation of files and uploading XAMPP by default uses /opt/lampp/htdocs as the root web directory. The easiest way to start working on files is to link a folder in your home directory into this directory. My user name … Continue reading

Aside | Posted on by | Leave a comment

Linux services – useful commands

ifconfig netstat -tulpn (list all services with sockets, ports, program) sudo service XXXXX start/stop/restart    (apache2, mysql, vsftpd)

Posted in Uncategorized | Leave a comment

Unnecessary…just chown folders (Running eclipse as user but project as superuser)

1. Download a jre from the Java site 2. extract it in a folder (e.g. /usr/lib/jre-1.6.0_27) 3. in Eclipse: Window->Preferences->Java->Installed JREs->Add…->ecc… 4. create the script below for this jre . Rename your java application: Code: [Select all] [Show/ hide] sudo … Continue reading

Posted in Uncategorized | Leave a comment

Unnecessary…. just use zend?? eclipse (with Xdebug)

Eclipse – help -install::  install PHP PDT + webtools + data tools?? Configure PHP to Load Xdebug You will need to add these two lines to your php.ini file (which may live at /etc/php.ini or c:\xampp\php\php.ini or somewhere else depending … Continue reading

Posted in Uncategorized | Leave a comment

Answering that question of database security

mysql -u root -p be aware of prompts + finish with semicolon….     \c = cancel \q = quit SHOW DATABASES;  use mysql; delete from user where User=”; \q mysqlqdmin -u root -p reload    [now no more anonymous users] … Continue reading

Aside | Posted on by | 2 Comments

handy linux commands

 ifconfig eth0 | grep inet | awk ‘{ print $2 }’ netstat -a | grep ftp mysql -u root -p  

Posted in Uncategorized | Leave a comment

FPT

vsfptd http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/ edit:  /etc/vsftpd.conf    –no anon  – local users allowed etc (consider jailing users  – chroot_local_user=YES chroot_list_enable=NO) ADD fpt USER: sudo addgroup ftpusers sudo usermod -G ftpusers ftpuser MAKE dir for users -ie. change ownership chmod 750 /home/ftp-docs chown root:ftp-users … Continue reading

Posted in Uncategorized | Leave a comment