- Linux Resources
This article will guide you on how to configure Squid #proxy server on a Linux system. There is a lot more you can do with Squid proxy server.
Although primarily used for HTTP and FTP, #Squid includes limited support for several other protocols including Internet Gopher, SSL, TLS and HTTPS. Squid does not support the #SOCKS protocol, unlike Privoxy, with which Squid can be used in order to provide SOCKS support.
The squid. conf file defines the configuration for squid. The configuration includes (but not limited to) HTTP port number, the ICP request port number, incoming and outgoing requests, information about #firewall access, and various timeout information.
To connect Squid proxy:
ii. Select Manual proxy configuration and tick the 'use this proxy server for all protocols' box.
iii. Under HTTP Proxy: add the squid listening IP address, 10.0. 0.1. In the Port: section add the squid listening port 3128.
iv. Click OK to save the changes.
This article will guide you on how to work with #XAMPP in Linux Mint 20. This will help you to easily host your #applications on this server. With this, you can create a simple PHP application, however, you can even choose to create applications with complex functionality that are not essentially written in #PHP but can also be written in Perl or #MySQL.
XAMPP is a powerful and versatile solution for setting up a local web server. It presents a perfect way to create an environment for basic #WordPress coding, experimenting with multisite settings, tweaking #themes, and much more.
To run xampp on Linux:
1. Install gnome-panel to be able to create launcher.
2. Run the below command to execute the Create Launcher Application.
3. The "create launcher" window pops up and select “Application” as the Type.
4. Enter for example "XAMPP starter" as the Name.
5. Enter "sudo /opt/lampp/lampp start" into the Command Box.
To Remove Xampp from Linux (Ubuntu):
i. >sudo /opt/lampp/uninstall.
ii. Alternatively > sudo -i cd /opt/lampp ./uninstall.
iii. > sudo rm -r /opt/lampp.
This article will guide you on steps to #install the Squid proxy server on your #Linux machine. You will also learn how to uninstall the Squid #proxy server in the #Ubuntu #machine and manage Squid services.
Squid is a caching proxy for the Web supporting HTTP, #HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.
It is most often used in conjunction with a traditional LAMP stack (Linux, Apache, MySQL, PHP), and can be used to filter traffic on #HTTP, FTP, and HTTPS, and increase the speed (thus lower the response time) for a web server via caching.
To clear #squid proxy cache:
1. Stop the #httpd and squid services.
2. Delete the contents of the cache as follows: # rm -Rf /var/cache/rhn/*
3. Restart the squid and httpd services.
This article will guide you on how to #install #Sublime Text code editor on Ubuntu 20.04 using both the #command line and the #Ubuntu #Software Center.
All Ubuntu versions have Snap enabled by default. This means you can install Notepad++ on Ubuntu from the Software Center. Once the installation completes, you can launch it from the search or by typing notepad-plus-plus into the terminal.
Sublime Text Editor is cross-platform, you can use it in #Linux, #Windows or Mac systems.
This article will guide you on different methods to view detailed information on your battery using both the #command line and UI.
To check your #battery health you'll want to open the app, click on the relevant battery item in the sidebar, and double-check that you're faced with the Details tab.
1. Use upower command to check battery status from command line:
Type the following command:
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
2. Displaying #Linux Laptop Battery Status Using the apci #terminal command
The acpi command may not be installed by default so use apt-get command or yum command to install the same:
$ sudo yum install acpitool
3. Use /proc/acpi/ directory to get laptop battery info (deprecated method)
You can browse the same data by visiting /proc/acpi/ directory:
$ cd /proc/acpi/
$ ls -l
This article will guide you on how to start, stop, and restart the #network service on different Linux distribution like Ubuntu, #Debian, Linux Mint, and CentOS 8. Moreover, you can troubleshoot the network #error through the #NetworkManager tool on #CentOS 8.
Please don't stop services if you have a remote ssh connection that may create a problem.
Restarting networking on a desktop machine will cause dbus and a bunch of #service to stop and never be started again, usually leading to the whole system being unusable.
To restart a Linux service:
1. Linux provides fine-grained control over system services through #systemd, using the systemctl command.
2. To verify whether a service is active or not, run this command: sudo systemctl status apache2.
3. To stop and restart the service in Linux, use the command: sudo systemctl restart SERVICE_NAME.