Tag: server
Run Webserver with current folder as root
December 1, 2022
Different ways to run a webserver using the current directory as root. Useful to serve static files.
Django server on custom Port
April 30, 2009
Running Django server on a custom Port python manage.py runserver 8001
Find Current DNS Server
April 7, 2009
The DNS servers are in the /etc/resolv.conf file – cat it to find what they are. You can edit to…
FTP Using Curl
January 30, 2009
Copy a file to a remote system using FTP with the Curl command… curl -T filename.txt -u username:password ftp://example.cot/filename.txt Original…
nslookup Network Command
December 7, 2008
Lookup hostname to resolve name to ip address and viceversa nslookup www.example.com
Share Current Folder over the Web
May 29, 2008
Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just…
Connecting to a Remote MySQL Host
November 27, 2007
You can connect to a remote mysql server if you have the necessary permissions… mysql -h mysql.remote.com -u user
Recent Comments