Redhat: Adjust LVM Partition Size
Check file system and LVM info
1 | # df -hT |grep rhel |
How to Enable XDMCP Service (GDM)
GDM can be configured to allow remote access via XDMCP (X Display Manager Control Protocol). We can use Cygwin-X or Exceed, to connect remotely to a server and get a complete desktop GUI.
1. Edit the file /etc/gdm/custom.conf and make sure below parameters are added/set.
1 | % cat /etc/gdm/custom.conf |
Nomachine Server Admin
1. Right click icon of the server connection and select Server admin
Writing Aliases in Csh and Tcsh
Using command-line arguments
Sometimes you want an alias to deal explicitly with its arguments, rather than just leaving them at the end of the command. For example, suppose you had a file in your home directory named friends
:
1 | Joe Schmoe 123 Main Street 212-987-6543 |
Disable VNC Copy&paste
Disable Send clipboard to views
1 | # vncconfig |
Remove permissions of executing the command vncconfig
1 | # chmod go-rx /bin/vncconfig |
Install Perl PAR::Packer in RHEL7
Install System RPMs
1 | # yum install perl-ExtUtils-Embed |
Download & Install Perl Modules
配置Redhat7遇到的若干问题
Failed to Install Redhat 7: Dracut-Initqueue Timeout
1 | dracut:/# cd /dev |
找到你的U盘驱动器名称,例如: /dev/sdd1
1 | dracut:/# reboot |
重启后等到install页面时,按e进去启动介质编辑页面。
把:inst.stage2=hd:LABEL=CentOS\x207\x20x86_64.check quiet
改为:inst.stage2=hd:/dev/sdd1 quiet
最后按Ctrl+x保存重启就好了。