sh Fedora配置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Fedora配置相关的知识,希望对你有一定的参考价值。

#!/bin/bash

sudo chmod 755 filename.run
sudo ./filename.run
#!/bin/bash

sudo sysctl -w vm.drop_caches=3
sudo sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
#!/bin/bash

# These instructions apply to CentOS distros
sudo nano /etc/init.d/service-name

# write your script 

# make sure it has chkconfig header like below
# #!/bin/sh
# chkconfig: 0123456 95 20
# description: A foo service.
# processname: foo

# Add service called foo
sudo chkconfig --add foo

# Del service called foo
sudo chkconfig --del foo

# List status for foo
chkconfig --list foo

# Turn on or off services
sudo chkconfig foo on
sudo chkconfig foo off
sudo chkconfig --level 2 foo on
sudo chkconfig --level 35 foo on
#!/bin/bash

lspci -k | grep -A 2 VGA

以上是关于sh Fedora配置的主要内容,如果未能解决你的问题,请参考以下文章

sh Fedora编译库

sh Fedora中的MySQL Workbench

sh [Fedora上的gitkraken]

sh Fedora Jam - 安装脚本

sh Spotify for fedora

sh 用于判断服务器的Fedora脚本。