fedora23 use configuration records [continuously updated]


1. There is not much to say about the update system, the default source will not be tossed soon.

2. Install the rime command  
  sudo dnf install ibus-rime
  lxde After the desktop installation is complete, right-click the input method in the lower right corner to open the ibus preferences - input method - add - Chinese - rime.

3. Install vim    
  sudo dnf install vim-X11
  Because vim needs to support the system clipboard, you need to install vim with window
  and then add the following content in the .bashrc file to use the + sign clipboard in vim:
  alias vi= "gvim -v"
  If you encounter a problem with the doc format file under windows (my vimrc file appears), you can refer to the following website:
  http://blog.csdn.net/lovelirui/article/details/6282940
http ://blog.163.com/mageng11@126/blog/static/14080837420110211753226/
  The main operations are:
  1) Convert the file format:
    set ff=unix
    executes my vimrc configuration file here and there is no problem.
  2) Delete ^M
    :%s/\r//g 4. Please refer to the   installation process

of installing shadowsocks
https://github.com/shadowsocks/shadowsocks-qt5/wiki/%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97
  The specific commands are as follows:
  Currently supports RHEL 7, Fedora 21, 22, 23, rawhide
  use dnf to add shadowsocks Copr source:
  sudo dnf copr enable librehat/shadowsocks
  Use dnf to update the cache and install:
  sudo dnf update
  sudo dnf install shadowsocks-qt5
  After completion, execute the following command on the command line:
  ss-qt5
  If there is no problem, then congratulations, if there is an error, install the corresponding package according to the prompt. The following is my error:
  ss-qt5: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
  The installation is ok:
  sudo dnf install libQt5Widgets.so.5

5. fedora23 Turn on sleep mode
  My hard disk partition is the default partition of the system, so there is no problem in all aspects of the partition, and the lxde desktop also has an option to hibernate, but what I am wondering is that after each hibernation, restarting is still the same as shutting down, and all programs are over. . Search, most of them say that the swap partition is not enough, and this error is basically rare. Generally, novices who install Linux directly default to the system, and veterans will not have enough swap partitions.
  Of course, you can use the command to verify it:
  you can check http://forums.fedoraforum.org/showthread.php?t=296815
  cat /etc/fstab #See if there is swap space
  swapon -s # This can also be
  free -m
  cat /proc/swaps The  
  above commands are all verification swaps, whichever you prefer. After verification, you can try to open swap, the command is as follows:
  su -
  swapon --all --verbose #Open swap
  if there is swap space and it has been opened. Then look here.
  http://blog.kriptonium.com/2015/12/fedora-23-hibernate.html
  If you can't open it, then read it below.
  Step 1: We need to find the UUID of the swap partition. Execute the following command:
  $ su -
  # blkid | grep swap 
  Step 2: Change the grub file, first copy the UUID
  vi /etc/default/grub
  find GRUB_CMDLINE_LINUX and add the following:
  GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet resume=UUID= e3fa99f0-6f3c-41c2- b169-c6c06ee00916 "The
  red place is the UUID of your swap just now, don't use my UUID! Don't use my UUID!
  Step 3:
  Execute the command:
  grub2-mkconfig -o /boot/grub2/grub.cfg # bios boot
  grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg # EFI is suitable for
  your computer and choose yourself The command.
  After finishing, congratulations, you can play as you like.

6. To install chrome,
  see here https://github.com/FZUG/repo/wiki
  The specific operation is as follows:
  1. Download google-chrome.repo and save
   $ wget https://repo.fdzh.org/chrome/google- chrome-mirrors.repo -P /etc/yum.repos.d/ # Fedora/RHEL 
   $ wget https://repo.fdzh.org/chrome/google-chrome-mirrors.repo -P /etc/zypp/repos.d/ # openSUSE 
   or use zypper ar URL NAME to add source, say a little more command # followed by Note, do not copy.
   2. Install Chrome
   $ dnf install google-chrome-{stable,beta,unstable} (Fedora 22+)
   $ yum install google-chrome-{stable,beta,unstable} (RHEL/Fedora 21-)
   $ zypper install google-chrome -{stable,beta,unstable} (openSUSE)

   other mirror sites: mirror.pcbeta.com, orion.lcg.ufrj.br, dist.control.lth.se For
   ubuntu, just read the wiki by yourself.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326646352&siteId=291194637