May, 2012
Disable the safe mode
1. Open your php.ini file for editing as root or administrator. 2. Search the file for the line: safe_mode on and change it to safe_mode off 3. Restart you Apache web server. Important! safe_mode feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
Reset Windows Hosts File
Method 1 1. Open file X:\Windows\System32\drivers\etc\hosts with notepad and paste the following contents into hosts file. # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept [...]
Start or Stop Linux Service
Start a service: sudo service apache2 start or sudo /etc/init.d/apache2 start Stop a service: sudo service apache2 stop or sudo /etc/init.d/apache2 stop
sftp and ssh with nautilus
1. Open nautilus 2. Press ctrl + l 3. type sftp://username@myserver.com or ssh://username@myserver.com 4. Enter your password 5. enjoy!
Introduction to Apt
All of these commands must be run as root or with superuser privileges. Installation apt-get install package_name or apt-get install package_name1 package_name2 package_name3 apt-get build-dep package_name This command searches the repositories and installs the build dependencies for package_name. Maintenance apt-get update Run this command periodically to make sure your source list is up-to-date or after [...]