摘要:
终端远程登陆后经常提示You have new mail in /var/spool/mail/root 这个提示是LINUX会定时查看系统各种状态,然后做出汇总,每经过一段时间会把汇总的信息发送的root的邮箱里,并提示你。 一般这种情况mail的内容就只是一些正常的系统信息或者是比较重要的错误报 阅读全文
摘要:
有的时候SMTP的默认25端口不能用会导致无法使用邮箱功能,解决办法就是添加多端口。 1、修改postfix的配置文件 vim /etc/postfix/master.cf 在已有第一行: smtp inet n - n - - smtpd 之后添加: smtp2 inet n - n - - sm 阅读全文
摘要:
1、先登录 mysql -uroot -p 2、连接权限数据库: use mysql; 3、改密码:update user set authentication_string=password('密码') where user='用户名' and host='%';(别忘了最后加分号) 。 4、刷新 阅读全文
摘要:
public class Test { public static void main(String[] args) { int a = 3; int b = a++; //a先给b赋值,所以b是3,然后再自增1,所以再输出a为4 System.out.println(a); //输出结果 4 in 阅读全文