您正在查看: 日常运维 分类下的文章
icon-plus

在windows下制作macOS Sierra(10.12)正式版的安装U盘

She got a body like an hourglass, but I can give it to you all the time She got a booty like a Cadillac, but I can send you into overdrive (oh) (Stop and wait, wait for that, stop, hold up, swing your bat See anybody could be bad to you, you need a good girl to blow your mind, yeah Bang bang into the room (I know you want it) Bang bang all over you (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) Bang bang there goes your heart (I know you want it Back, back seat of my car (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) She might've let you hold her hand in school, but I'mma show you how to graduate No, I don't need to hear you talk the talk, just come and show me what your momma gave (Oooh yeah) (You've got a very big shhh, love but don’t say a thing See anybody could be good to you, you need a bad girl to blow your mind Bang bang into the room (I know you want it) Bang bang all over you (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) Bang bang there goes your heart (I know you want it) Back, back seat of my car (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) It’s Myx moscato, it’s frizz in a bottle It’s Nicki full throttle, it’s oh, oh Swimming in the grotto, we winning in the lotto We dipping in the powder blue four door Kitten so good, it's dripping on wood Get a ride in the engine that could - GO!, Batman robbin' it, bang bang, cockin' it Queen Nicki dominant, prominent It's me, Jessie, and Ari, if they test me, they sorry Ride his uh like a Harley then pull off in his Ferrari If he hanging we banging, phone ranging, he slanging It ain't karaoke night but get the mic ‘cause I'm singing (B to the A to the N to the G to the uh) (B to the A to the N to the G to the hey) See, anybody could be good to you You need a bad girl to blow your mind Bang bang into the room (I know you want it) Bang bang all over you (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) Bang bang there goes your heart (I know you want it) Back, back seat of my car (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) Bang bang into the room (I know you want it) Bang bang all over you (I’ll let you have it) Bang bang there goes your heart (I know you want it) Back, back seat of my car (I’ll let you have it) Wait a minute let me take you there (ah) Wait a minute tell you (ah) 最近咱老大丢给我了一台 Mac mini,准备给我用来做前端用。
说实话,要不是咱老大拿出了这台 Mac mini ,我还不知道苹果有这么一条产品线呢。
mini 应该算是整个苹果PC产品线上,用来给mac新手上路的成本最低的方案了。
而且作为一个台式机来说,确实够小巧精致,面积才一个小鼠标垫那么大,高度大概也只有一个键盘那么高。
拿起来其实感觉还没有Macbook Air重,可以能像笔记本一样能够便携,咱只要花上air一半的价钱就能够用上macOS
个人感觉这对mac新人来说还是挺划算的。于是马上接好了线,开机,发现系统版本还是Yosemite,还装了一堆我用不到的东西。
作为一个爱干净前端,看到这一堆乱七八糟的东西之后强迫症开始犯了,于是开始想办法,把系统给干了,重新装一遍。
由于是新手,不能够像重装windows一样那么熟练地重装mac,倒腾了几天,终于找到了一个可行的 U 盘安装方法。

icon-plus

禁用Elementary OS下的开机弹框

This ain't a song for the broken-hearted No silent prayer for the faith-departed I ain't gonna be just a face in the crowd You're gonna hear my voice When I shout it out aloud It's my life It's now or never I ain't gonna live forever I just want to live while I'm alive (It's my life) My heart is like an open highway Like Frankie said I did it my way I just wanna live while I'm alive It's my life This is for the ones who stood their ground For Tommy and Gina who never backed down Tomorrow's getting harder make no mistake Luck ain't even lucky Got to make your own breaks It's my life And it's now or never I ain't gonna live forever I just want to live while I'm alive (It's my life) My heart is like an open highway Like Frankie said I did it my way I just want to live while I'm alive (It's my life) Better stand tall when they're calling you out Don't bend don't break baby don't back down It's my life It's now or never I ain't gonna live forever I just want to live while I'm alive (It's my life) My heart is like an open highway Like Frankie said I did it my way I just want to live while I'm alive It's my life It's now or never I ain't gonna live forever I just want to live while I'm alive (It's my life) My heart is like an open highway Like Frankie said I did it my way I just want to live while I'm alive It's my life

机子上了elementary OS之后,最近发现这个开机弹官网下载框问题越来越严重了
以前eOS官网还没有被wall的时候,这个框还没什么大问题,直接关掉就行了
但是现在eOS官网不能直接打开了,这个框就直接卡死在那,标题上写着log in,直接关根本关不掉
更糟糕的是,它还强制显示在所有窗口的最上层,挡住视线,由于卡死在那又移不开,所以每次开机都得用kill命令把它干掉了
这么搞,每次都要kill,实在是相当麻烦,于是最近找了找办法。发现直接禁用掉就可以了

在freya的terminal里面直接执行这一条命令:

icon-plus

关于Ubuntu下的DHCP服务器的配置

今天在研究ubuntu下尝试建立pxe服务器的时候遇到了个很蛋疼的问题

前面tftp都配的好好的,然后就是dhcp服务器打死都启动不了,怪事

倒腾了半天,发现ubuntu下关于这一块真是乱

首先本来以为要安装dhcp服务器只要安装dhcpd就行了,于是apt-get install dhcpd

结果发现不行

就去上网查了一下,原来ubuntu下使用的是dhcp3-server

于是apt-get install dhcp3-server

发现装的包的名字是isc-dhcp-server(这么多名字!!!)

弄完之后测试启动dhcp服务器,然后遇到这个问题:

/etc/init.d/isc-dhcp-server restart
 * Stopping ISC DHCP server dhcpd                                                 [fail] 
 * Starting ISC DHCP server dhcpd                                                         * check syslog for diagnostics.
                                                                                  [fail]

。。。这是什么问题呢????

icon-plus

kubuntu安装折腾记

最近在B站上看到KDE弄的很漂亮

http://www.bilibili.com/video/av2569221/

于是开始眼馋,自己也想弄一弄了

顺手下了个kubuntu,现在现在虚拟机上试跑一下,记录一下搞美化需要的步骤

刚装好kubuntu之后

发现自带的效果还挺不错,而且在虚拟机里面的动画效果也很流畅,基本感觉不到卡顿

icon-plus

CentOS7下firewalld的基本使用方法

在 CentOS 7 中,引入了一个新的服务,Firewalld,下面一张图,让大家明确的了解 Firewall 与 iptables 之间的关系与区别。

CentOS7 防火墙结构

安装它,只需

# yum install firewalld

如果在GUI桌面环境下需要图形界面工具的话,则再安装

# yum install firewall-config