Tag Archives: server

Reverse Proxy in Apache

Scenario: I have an apache server running on (localhost) that i want to use to access a python/django project that is being served on a private server on localhost:8000 (specifically at /museus). On my browser, i want to type: and it magically shows me what’s on localhost:8000/museus, without letting me know that there are… Read More »

Apache to only listen on localhost

My development machine has apache, mySql..etc. installed and its on a work network. All good, but what if one of my coworkers decided to scan the network, get my ip and try to connect to it? Well, if nothing is done, the browser will show my localhost directory, which is bad. What i needed: to… Read More »

Install php-gd with yum

Again, as a reminder because this was the second time i had to install php-gd manually on one of my servers: yum install php-gd wash, rinse, restart, play. Note: to restart apache: “apachectl restart” (restarts apache, not worrying about open connections) “apachectl graceful” (restarts apache, but waits for open connections to resolve)

Linux server – start/stop/restart mysql

Its merely a reminder so i dont go through the search to restart mysql on one of my stupid servers: Usually (i think) its like this: /etc/init.d/mysqld start /etc/init.d/mysqld stop /etc/init.d/mysqld restart On that server of mine, because of some config: /etc/rc.d/init.d/mysqld start /etc/rc.d/init.d/mysqld stop /etc/rc.d/init.d/mysqld restart