debian 命令

1.etc/fstab
media cdrom2
2.etc/apt/sources.list
apt-get update
3.vim yy复制 p粘贴 dd删除
4.dpkg -i .deb
dpkg -l
5.apt install ssh
/etc/ssh/sshd-config
6.etc/init.d/ssh restart
7.ping ifconfig route arp traceroute
tracert nslookup nbtstat netstat
8.systemctl set-default multi-user.target
9./etc/default/locale en_US.UTF-8
en_US:en
10.mount /dev/sr0 /mnt
11./etc/network/interfaces
address
netmask
gateway
12.etc/resolv-conf
nameserver
/etc/init.d/networking restart
13.tar -zxvf .tar.gz
tar -zcvf a.txt
14.sudo apt install php-mysql
sudo apt install php-gd
sudo apt -get install mariadb-server
sudo my_secure_installation
apt install sudo
15./etc/sudoers
gpasswd -a geng adm
chmod u+w /etc/sudoers
chmod u-w /etc/sudoers u=r–
16.sudo apt install apache2
apt-cache search apache |grep
17./etc/apache2/apache2.conf
/var/www/html
18.apachectl -V
sudo apt install apache2
php -V
sudo apt install php5
sudo apt install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
/var/www/html
19.sudo netstat -tap |grep mysql
etc/mysql/my.cnf
sudo install mariadb-server
sudo install mysql-server mysql-client
20.<? php
phpinfo();
?>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值