If the project is in C++ and uses mysql then install
sudo dnf install mysql++-devel;
If the project is in C/C++ and you are missing talloc.h install
sudo dnf install libtalloc-devel;
Set your name and email for all git projects
git config --global --edit Then fill-in the configuration file similar to below # This is Git's per-user configuration file. [user] # Please adapt and uncomment the following lines: # name = Michael, George # email = [email protected] [user] name = Michael, George email = [email protected] [gui] editor = gedit
or use these individual commands to set the configuration
[[email protected] ~]$ git config --global user.name "Michael, George" [[email protected] ~]$ git config --global user.email "[email protected]"
Increase amount of inotify watchers
If you are using
IntelliJ IDEA by
jetbrains increase the amount of
IntelliJ (and other tools of
Linux to monitor directories for changes. It’s common to encounter the system limit on the number of files they monitor.
inotify requires a watch handle to be set for each directory in the project. Unfortunately, the default limit of watch handles will not be enough for sized projects, and reaching the limit will force the
jetbrains platform to fall back to recursive scans of directory trees.
Create a file (as root) called
/etc/sysctl.d/idea.conf and add the following content to it to increase the number of watchers to 512K
fs.inotify.max_user_watches = 524288
sysctl to reload the settings and apply the new configuration
[[email protected] ~]$ sudo sysctl -p --system;
--load[=FILE]: Load in
sysctlsettings from the file specified or
/etc/sysctl.confif none given.
-as filename means reading data from standard input. Using this option will mean arguments to
sysctlare files, which are read in the order they are specified.
The file argument may be specified as regular expression.
--system: Load settings from all system configuration files.
/run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf
This post is also available in: Greek