Linux - get external IP address
Linux - get external IP address: curl ifconfig.co
Paweł Szaga home page
Linux - get external IP address: curl ifconfig.co
Upgrading Nextcloud from CLI on Linux system with systemd. /var/www/html/owncloud/ - Nextcloud installation directory apache - HTTP server service user cd /var/www/html/ wget https://download.nextcloud.com/server/prereleases/nextcloud-13.0.0beta1.zip systemctl stop httpd rm owncloud-old/ -rf mv owncloud/ owncloud-old/ unzip nextcloud-13.0.0beta1.zip mv nextcloud/ owncloud/ mv owncloud-old/data/ owncloud/data/ cp owncloud-old/config/config.php owncloud/config/config.php chown apache: owncloud/ -R chcon -R -t httpd_sys_rw_content_t /data/var/www/html/owncloud/config chcon -R… Continue reading Nextcloud - upgrade to 13.0beta1
CentOS 7 without GUI - disable suspend on laptop lid close Inside /etc/systemd/logind.conf configuration file set following option: HandleLidSwitch=ignore You can find more info in manual: man logind.conf
[Linux] RDP remote desktop connection to Windows server with file transfer enabled: rdesktop -g 1366x700 -r disk:mydisk=/home/$user/$dir/ $IP_ADDRESS
Install Python PIP: yum install python-pip or yum install python3-pip Install AWS CLI using PIP: pip install awscli --user or pip3 install awscli --user PIP installs aws inside $HOME/.local/bin/ directory. Configure $PATH inside ~/.bash_profile PATH=$PATH:$HOME/bin:$HOME/.local/bin Configure AWS client: $ aws configure AWS Access Key ID [None]: AWSACCESSKEYID AWS Secret Access Key [None]: AWSSECRETACCESSKEY Default region… Continue reading Creating AWS EC2 instances from CLI