Posts

Showing posts with the label LINUX RHEL 5

Install & Configure Squid Proxy Server on RHEL 5 78

Sure Squid server is a popular open source GPLd proxy and web cache. It has a variety of uses, from speeding up a web server by caching repeated requests, to caching web, name server query , and other network lookups for a group of people sharing network resources. It is primarily designed to run on Linux / Unix-like systems. Squid is a high-performance proxy caching server for Web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional caching software, Squid handles all requests in a single, non-blocking, I/O-driven process. Squid keeps meta data and especially hot objects cached in RAM, caches DNS lookups, supports non-blocking DNS lookups, and implements negative caching of failed requests. Squid consists of a main server program squid, a Domain Name System lookup program (dnsserver), a program for retrieving FTP data (ftpget), and some management and client tools. Commands: Install Squid on CentOS / RHEL 5 # yum install squid Output: Loading "in...

CentOS 5 / RHEL 5 -- YUM updates through pro

CentOS 5 / RHEL 5 -- YUM updates through proxy. [Log in to  get rid  of this advertisement] I have been trying all day but so far I am unable to configure yum to use a proxy server to retrieve updates.Due a recent compliance mandate direct internet access had to be removed for a pool of our Cent/RHEL servers. I have added the http_proxy environment variable in /etc/profile using: export http_proxy=http://ourproxy:8080 export ftp_proxy=http://ourproxy:8080 export gopher_proxy=http://ourproxy:8080 I am using the FQDN of the proxy server, and i can ping that FQDN from the CLI without a problem. When I do this and I reboot the server I can get to the internet through the proxy using links/lynx. Yum however stalls out after loading plugins. I have read in a few places that I need a trailing / after the port number above, adding this and rebooting has no effect. So I tried specifying the yum.conf file... proxy=http://ourproxy:8080/. When I do this yum s...

Mengelola antarmuka jaringan pada RHEL / CentOS dengan script + GUI (system-config-network)

Kami memiliki dua beban seimbang CentOS 5,3 webservers yang menangani nomor yang layak (~ 20) dari situs belanja individual. Hasil akhirnya adalah bahwa kita harus memiliki situs aman terpisah per produk, menghasilkan sejumlah besar alias jaringan, satu untuk setiap IP sehingga SSL akan bekerja. Jelas mengelola hal-hal ini secara manual tidak akan menyenangkan, terutama ketika server mati dan Anda perlu untuk membangun kembali dan ingin memastikan konsistensi. Namun, manajer TI tidak nyaman menggunakan alat CLI untuk mengelola hal-hal tertentu dan bersikeras tentang memiliki piranti GUI seperti system-config-network tersedia jika dia ingin mengubah sesuatu. Script saya tulis untuk mengelola konfigurasi mesin telah mencoba untuk mengambil bahwa account dalam dan untuk sebagian besar konfigurasi jaringan, saya menggunakan system-config-network-cmd -e > netconfig untuk membuang config, membuat perubahan, dan kemudian system-config-network-cmd -i -c -f netconfig untuk mengimpor ...