How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers Rumi, March 24, 2021 This can be easily achieved with yum config file “/etc/yum.conf“. Under main section define the proxy settings like below: ……………… proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port> proxy_username=<Proxy-User-Name> proxy_password=<Proxy-Password> ……………… Save and exit the file and start using the yum command. Sample yum Config file with proxy settings is shown below : Related Administrations Configurations (Linux) proxy
Importing Big mysqldump with Progress Bar PV June 6, 2014 I am using CentOS 6.4 box, so it requires me to install EPEL repo at the first place: $ rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Install pv using yum: $ yum install -y pv Installation done. Let the importing begin! $ pv /home/user/my_big_dump.sql | mysql -uroot -p For Ubuntu/Debian distribution intall PV… Read More
Add a New Disk in Linux- Partition and Format May 9, 2018 Partition the new disk using fdisk command Following command will list all detected hard disks: # fdisk -l | grep ‘^Disk’ Output: Disk /dev/sda: 251.0 GB, 251000193024 bytes Disk /dev/sdb: 251.0 GB, 251000193024 bytes A device name refers to the entire hard disk. For more information see Linux partition naming… Read More
Windows 7/10 auto login and locking tricks February 9, 2019 Setup auto-login Open Start menu/Search Search for and open regedit Navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Window NT/CurrentVersion/Winlogon Create or edit DefaultUserName (string) and set it to your username to run plex under Create or edit DefaultPassword (string) and set it to the password for the default user Create or edit AutoAdminLogon (string) and… Read More