Fedora Linux - nimrody/knowledgebase GitHub Wiki
-
open port using
firewall-cmd --zone=public --add-port=8000/tcp
-
reload the firewall
firewall-cmd --reload
-
Setup docker group so no
sudo
is needed:sudo groupadd docker && sudo gpasswd -a ${USER} docker && sudo systemctl restart docker newgrp docker
-
Wifi hotspot
Using the gnome-control-center to (network) to create a hotspot.
If it doesn't work or need to change AP parameters need to run the connections editor (nm-connection-editor
).
You can also try nmcli
.
-
Install MITMProxy Prerequisites
sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel sudo yum install libxslt-dev and libxml2-dev sudo yum install libxslt-devel and libxml2-devel
-
Install node version manager
nvm
, then install latest node versioncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash source ~/.bashrc nvm ls-remote nvm install v6.1.0
-
Switch java versions:
alternatives --config java
-
If scrolling wheel is too fast with Microsoft mouse - unplug the wireless dongle and plug it again.
-
Disable selinux
/usr/sbin/setenforce permissive
. To change system default (set on boot), edit/etc/selinux/config
(if selinux fails to load, edit the configuration at boot and add selinux=0 to the vmlinuz command line) -
Install
consolas
font and other microsoft fonts:yum install curl cabextract xorg-x11-font-utils fontconfig rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
-
Installing MySQL 5.7 (source): First get the rpm from Oracle, then:
sudo dnf install mysql57-community-release-fc23-{version-number}.noarch.rpm sudo yum install mysql-community-server
Ater installation, login using the temporary password in /var/log/mysqld.log
and update root's password set password for 'root'@'localhost' = password('cleartext')
-
for IntellijIDEA one needs to increase the
inotify
limit. Add a line to/etc/sysctl.conf/
with contents likefs.inotify.max_user_watches = 524288
, then runsystemctl restart systemd-sysctl.service
to make the changes take effect.cat /proc/sys/fs/inotify/max_user_watches
shows the current kernel number. -
for Android studio you must add
sudo yum install zlib.i686 libstdc++.i686
-
Reset Window manager keyboard shortcuts
gsettings reset-recursively org.gnome.desktop.wm.keybindings
(usegsettings list-schemas | grep key
to list candidates as described here -
Setup static IP address: Edit /etc/sysconfig/network-scripts/ifcfg-enp2s0
Added for static IP address (see http://www.tecmint.com/things-to-do-after-fedora-23-installation/)
BOOTPROTO="static"
ONBOOT="yes"
IPADDR=10.100.102.211
NETMASK=255.255.255.0
GATEWAY=10.100.102.1
DNS1=8.8.8.8
DNS2=8.8.4.4
-
On the local machine
Safari: vnc://127.0.0.1:5901 ssh -L5901:localhost:5901 tensera
-
On the remote
Xvnc -PasswordFile /home/nimrody/.vnc/passwd -depth 16 : firefox --display=:1
-
Change context
chcon -t file-path chcon --reference
-
Add google yum repository
su - cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - $basearch baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF
-
Install stable chrome:
dnf install google-chrome-stable
sudo yum install -y gcc ruby-devel zlib-devel
sudo dnf install -y rpm-build
- Try this link
-
Set evince as the default app for pdfs:
xdg-mime default evince.desktop application/pdf